diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 3f2f741e8..539013388 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -246,6 +246,7 @@ docs/PackageVulnerabilityPolicyViolationLog.md docs/PackageVulnerabilityPolicyViolationLogCursorPage.md docs/PackagesApi.md docs/PackagesGroupsList200Response.md +docs/PluginSkill.md docs/ProviderSettings.md docs/ProviderSettingsWrite.md docs/ProviderSettingsWriteRequest.md @@ -325,6 +326,12 @@ docs/Service.md docs/ServiceRequest.md docs/ServiceRequestPatch.md docs/ServiceTeams.md +docs/SkillsPackageUpload.md +docs/SkillsPackageUploadRequest.md +docs/SkillsUpstream.md +docs/SkillsUpstreamRequest.md +docs/SkillsUpstreamRequestPatch.md +docs/SkillsUpstreamSelection.md docs/StatusApi.md docs/StatusBasic.md docs/StorageAllocatedLimit.md @@ -575,6 +582,7 @@ model_package_vulnerability_policy_evaluation_request.go model_package_vulnerability_policy_violation_log.go model_package_vulnerability_policy_violation_log_cursor_page.go model_packages_groups_list_200_response.go +model_plugin_skill.go model_provider_settings.go model_provider_settings_write.go model_provider_settings_write_request.go @@ -650,6 +658,12 @@ model_service.go model_service_request.go model_service_request_patch.go model_service_teams.go +model_skills_package_upload.go +model_skills_package_upload_request.go +model_skills_upstream.go +model_skills_upstream_request.go +model_skills_upstream_request_patch.go +model_skills_upstream_selection.go model_status_basic.go model_storage_allocated_limit.go model_storage_allocated_limit_raw.go diff --git a/README.md b/README.md index 42a180da5..de8fbcb65 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ The API to the Cloudsmith Service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.1388.0 -- Package version: 0.0.64 +- API version: 1.1509.1 +- Package version: 0.0.65 - Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit [https://help.cloudsmith.io](https://help.cloudsmith.io) @@ -231,6 +231,7 @@ Class | Method | HTTP request | Description *PackagesApi* | [**PackagesUploadRaw**](docs/PackagesApi.md#packagesuploadraw) | **Post** /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package *PackagesApi* | [**PackagesUploadRpm**](docs/PackagesApi.md#packagesuploadrpm) | **Post** /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package *PackagesApi* | [**PackagesUploadRuby**](docs/PackagesApi.md#packagesuploadruby) | **Post** /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package +*PackagesApi* | [**PackagesUploadSkills**](docs/PackagesApi.md#packagesuploadskills) | **Post** /packages/{owner}/{repo}/upload/skills/ | Create a new AI Skills package *PackagesApi* | [**PackagesUploadSwift**](docs/PackagesApi.md#packagesuploadswift) | **Post** /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package *PackagesApi* | [**PackagesUploadTerraform**](docs/PackagesApi.md#packagesuploadterraform) | **Post** /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package *PackagesApi* | [**PackagesUploadVagrant**](docs/PackagesApi.md#packagesuploadvagrant) | **Post** /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package @@ -261,6 +262,7 @@ Class | Method | HTTP request | Description *PackagesApi* | [**PackagesValidateUploadRaw**](docs/PackagesApi.md#packagesvalidateuploadraw) | **Post** /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package *PackagesApi* | [**PackagesValidateUploadRpm**](docs/PackagesApi.md#packagesvalidateuploadrpm) | **Post** /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package *PackagesApi* | [**PackagesValidateUploadRuby**](docs/PackagesApi.md#packagesvalidateuploadruby) | **Post** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package +*PackagesApi* | [**PackagesValidateUploadSkills**](docs/PackagesApi.md#packagesvalidateuploadskills) | **Post** /packages/{owner}/{repo}/validate-upload/skills/ | Validate parameters for create AI Skills package *PackagesApi* | [**PackagesValidateUploadSwift**](docs/PackagesApi.md#packagesvalidateuploadswift) | **Post** /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package *PackagesApi* | [**PackagesValidateUploadTerraform**](docs/PackagesApi.md#packagesvalidateuploadterraform) | **Post** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package *PackagesApi* | [**PackagesValidateUploadVagrant**](docs/PackagesApi.md#packagesvalidateuploadvagrant) | **Post** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package @@ -428,6 +430,12 @@ Class | Method | HTTP request | Description *ReposApi* | [**ReposUpstreamRubyPartialUpdate**](docs/ReposApi.md#reposupstreamrubypartialupdate) | **Patch** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository. *ReposApi* | [**ReposUpstreamRubyRead**](docs/ReposApi.md#reposupstreamrubyread) | **Get** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository. *ReposApi* | [**ReposUpstreamRubyUpdate**](docs/ReposApi.md#reposupstreamrubyupdate) | **Put** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsCreate**](docs/ReposApi.md#reposupstreamskillscreate) | **Post** /repos/{owner}/{identifier}/upstream/skills/ | Create an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsDelete**](docs/ReposApi.md#reposupstreamskillsdelete) | **Delete** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Delete an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsList**](docs/ReposApi.md#reposupstreamskillslist) | **Get** /repos/{owner}/{identifier}/upstream/skills/ | List AI Skills upstream configs for this repository. +*ReposApi* | [**ReposUpstreamSkillsPartialUpdate**](docs/ReposApi.md#reposupstreamskillspartialupdate) | **Patch** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Partially update an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsRead**](docs/ReposApi.md#reposupstreamskillsread) | **Get** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Retrieve an AI Skills upstream config for this repository. +*ReposApi* | [**ReposUpstreamSkillsUpdate**](docs/ReposApi.md#reposupstreamskillsupdate) | **Put** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Update an AI Skills upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftCreate**](docs/ReposApi.md#reposupstreamswiftcreate) | **Post** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftDelete**](docs/ReposApi.md#reposupstreamswiftdelete) | **Delete** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftList**](docs/ReposApi.md#reposupstreamswiftlist) | **Get** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository. @@ -665,6 +673,7 @@ Class | Method | HTTP request | Description - [PackageVulnerabilityPolicyViolationLog](docs/PackageVulnerabilityPolicyViolationLog.md) - [PackageVulnerabilityPolicyViolationLogCursorPage](docs/PackageVulnerabilityPolicyViolationLogCursorPage.md) - [PackagesGroupsList200Response](docs/PackagesGroupsList200Response.md) + - [PluginSkill](docs/PluginSkill.md) - [ProviderSettings](docs/ProviderSettings.md) - [ProviderSettingsWrite](docs/ProviderSettingsWrite.md) - [ProviderSettingsWriteRequest](docs/ProviderSettingsWriteRequest.md) @@ -740,6 +749,12 @@ Class | Method | HTTP request | Description - [ServiceRequest](docs/ServiceRequest.md) - [ServiceRequestPatch](docs/ServiceRequestPatch.md) - [ServiceTeams](docs/ServiceTeams.md) + - [SkillsPackageUpload](docs/SkillsPackageUpload.md) + - [SkillsPackageUploadRequest](docs/SkillsPackageUploadRequest.md) + - [SkillsUpstream](docs/SkillsUpstream.md) + - [SkillsUpstreamRequest](docs/SkillsUpstreamRequest.md) + - [SkillsUpstreamRequestPatch](docs/SkillsUpstreamRequestPatch.md) + - [SkillsUpstreamSelection](docs/SkillsUpstreamSelection.md) - [StatusBasic](docs/StatusBasic.md) - [StorageAllocatedLimit](docs/StorageAllocatedLimit.md) - [StorageAllocatedLimitRaw](docs/StorageAllocatedLimitRaw.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 385748b5e..b84e03133 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -10,7 +10,7 @@ info: url: https://opensource.org/licenses/MIT termsOfService: https://help.cloudsmith.io title: Cloudsmith API (v1) - version: 1.1388.0 + version: 1.1509.1 servers: - url: https://api.cloudsmith.io/ security: @@ -5315,6 +5315,13 @@ paths: schema: $ref: '#/components/schemas/AlpinePackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5365,6 +5372,13 @@ paths: schema: $ref: '#/components/schemas/CargoPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5415,6 +5429,13 @@ paths: schema: $ref: '#/components/schemas/CocoapodsPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5465,6 +5486,13 @@ paths: schema: $ref: '#/components/schemas/ComposerPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5515,6 +5543,13 @@ paths: schema: $ref: '#/components/schemas/ConanPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5565,6 +5600,13 @@ paths: schema: $ref: '#/components/schemas/CondaPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5615,6 +5657,13 @@ paths: schema: $ref: '#/components/schemas/CranPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5665,6 +5714,13 @@ paths: schema: $ref: '#/components/schemas/DartPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5715,6 +5771,13 @@ paths: schema: $ref: '#/components/schemas/DebPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5765,6 +5828,13 @@ paths: schema: $ref: '#/components/schemas/DockerPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5815,6 +5885,13 @@ paths: schema: $ref: '#/components/schemas/GenericPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5865,6 +5942,13 @@ paths: schema: $ref: '#/components/schemas/GoPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5915,6 +5999,13 @@ paths: schema: $ref: '#/components/schemas/HelmPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -5965,6 +6056,13 @@ paths: schema: $ref: '#/components/schemas/HexPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6015,6 +6113,13 @@ paths: schema: $ref: '#/components/schemas/HuggingfacePackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6065,6 +6170,13 @@ paths: schema: $ref: '#/components/schemas/LuarocksPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6115,6 +6227,13 @@ paths: schema: $ref: '#/components/schemas/MavenPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6165,6 +6284,13 @@ paths: schema: $ref: '#/components/schemas/McpPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6215,6 +6341,13 @@ paths: schema: $ref: '#/components/schemas/NixPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6265,6 +6398,13 @@ paths: schema: $ref: '#/components/schemas/NpmPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6315,6 +6455,13 @@ paths: schema: $ref: '#/components/schemas/NugetPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6365,6 +6512,13 @@ paths: schema: $ref: '#/components/schemas/P2PackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6415,6 +6569,13 @@ paths: schema: $ref: '#/components/schemas/PythonPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6465,6 +6626,13 @@ paths: schema: $ref: '#/components/schemas/RawPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6515,6 +6683,13 @@ paths: schema: $ref: '#/components/schemas/RpmPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6565,6 +6740,13 @@ paths: schema: $ref: '#/components/schemas/RubyPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6587,6 +6769,63 @@ paths: tags: - packages x-codegen-request-body-name: data + /packages/{owner}/{repo}/upload/skills/: + post: + description: Create a new AI Skills package + operationId: packages_upload_skills + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: repo + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsPackageUploadRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsPackageUpload' + description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Create a new AI Skills package + tags: + - packages + x-codegen-request-body-name: data /packages/{owner}/{repo}/upload/swift/: post: description: Create a new Swift package @@ -6615,6 +6854,13 @@ paths: schema: $ref: '#/components/schemas/SwiftPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6665,6 +6911,13 @@ paths: schema: $ref: '#/components/schemas/TerraformPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6715,6 +6968,13 @@ paths: schema: $ref: '#/components/schemas/VagrantPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -6765,6 +7025,13 @@ paths: schema: $ref: '#/components/schemas/VsxPackageUpload' description: Upload acknowledged and queued for synchronization. + "403": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: "The request was denied: the user cannot upload to the repository,\ + \ the format is not enabled for it, or a policy blocked the upload" "404": content: application/json: @@ -8009,6 +8276,53 @@ paths: tags: - packages x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/skills/: + post: + description: Validate parameters for create AI Skills package + operationId: packages_validate-upload_skills + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: repo + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsPackageUploadRequest' + required: false + responses: + "204": + content: {} + description: "Validation was successful, parameters are OK." + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Validate parameters for create AI Skills package + tags: + - packages + x-codegen-request-body-name: data /packages/{owner}/{repo}/validate-upload/swift/: post: description: Validate parameters for create Swift package @@ -8535,6 +8849,7 @@ paths: - packages /packages/{owner}/{repo}/{identifier}/scan/: post: + deprecated: true description: Schedule a package for scanning. operationId: packages_scan parameters: @@ -15982,10 +16297,10 @@ paths: tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/swift/: + /repos/{owner}/{identifier}/upstream/skills/: get: - description: List Swift upstream configs for this repository. - operationId: repos_upstream_swift_list + description: List AI Skills upstream configs for this repository. + operationId: repos_upstream_skills_list parameters: - in: path name: owner @@ -16013,7 +16328,7 @@ paths: application/json: schema: items: - $ref: '#/components/schemas/SwiftUpstream' + $ref: '#/components/schemas/SkillsUpstream' type: array description: OK "400": @@ -16028,13 +16343,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: List Swift upstream configs for this repository. + summary: List AI Skills upstream configs for this repository. tags: - repos x-simplified: "fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl" post: - description: Create a Swift upstream config for this repository. - operationId: repos_upstream_swift_create + description: Create an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_create parameters: - in: path name: owner @@ -16050,14 +16365,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SwiftUpstreamRequest' + $ref: '#/components/schemas/SkillsUpstreamRequest' required: false responses: "201": content: application/json: schema: - $ref: '#/components/schemas/SwiftUpstream' + $ref: '#/components/schemas/SkillsUpstream' description: Created "400": content: @@ -16071,14 +16386,14 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Create a Swift upstream config for this repository. + summary: Create an AI Skills upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/: + /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/: delete: - description: Delete a Swift upstream config for this repository. - operationId: repos_upstream_swift_delete + description: Delete an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_delete parameters: - in: path name: owner @@ -16111,12 +16426,282 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Delete a Swift upstream config for this repository. + summary: Delete an AI Skills upstream config for this repository. tags: - repos get: - description: Retrieve a Swift upstream config for this repository. - operationId: repos_upstream_swift_read + description: Retrieve an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_read + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Retrieve an AI Skills upstream config for this repository. + tags: + - repos + x-simplified: "fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl" + patch: + description: Partially update an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_partial_update + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstreamRequestPatch' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Partially update an AI Skills upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + put: + description: Update an AI Skills upstream config for this repository. + operationId: repos_upstream_skills_update + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstreamRequest' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/SkillsUpstream' + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Update an AI Skills upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/upstream/swift/: + get: + description: List Swift upstream configs for this repository. + operationId: repos_upstream_swift_list + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - description: A page number within the paginated result set. + in: query + name: page + schema: + type: integer + - description: Number of results to return per page. + in: query + name: page_size + schema: + type: integer + responses: + "200": + content: + application/json: + schema: + items: + $ref: '#/components/schemas/SwiftUpstream' + type: array + description: OK + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: List Swift upstream configs for this repository. + tags: + - repos + x-simplified: "fields[upstreams]=auth_mode,available,created_at,disable_reason_text,has_failed_signature_verification,is_active,name,mode,pending_validation,slug_perm,upstream_url,verify_ssl" + post: + description: Create a Swift upstream config for this repository. + operationId: repos_upstream_swift_create + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SwiftUpstreamRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/SwiftUpstream' + description: Created + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Create a Swift upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/: + delete: + description: Delete a Swift upstream config for this repository. + operationId: repos_upstream_swift_delete + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + - in: path + name: slug_perm + required: true + schema: + type: string + responses: + "204": + content: {} + description: No Content + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Delete a Swift upstream config for this repository. + tags: + - repos + get: + description: Retrieve a Swift upstream config for this repository. + operationId: repos_upstream_swift_read parameters: - in: path name: owner @@ -16764,6 +17349,7 @@ paths: - users /vulnerabilities/{owner}/: get: + deprecated: true description: Lists scan results for a specific namespace. operationId: vulnerabilities_namespace_list parameters: @@ -16808,6 +17394,7 @@ paths: - vulnerabilities /vulnerabilities/{owner}/{repo}/: get: + deprecated: true description: Lists scan results for a specific repository. operationId: vulnerabilities_repo_list parameters: @@ -16857,6 +17444,7 @@ paths: - vulnerabilities /vulnerabilities/{owner}/{repo}/{package}/: get: + deprecated: true description: Lists scan results for a specific package. operationId: vulnerabilities_package_list parameters: @@ -16911,6 +17499,7 @@ paths: - vulnerabilities /vulnerabilities/{owner}/{repo}/{package}/{identifier}/: get: + deprecated: true description: Get a scan result. operationId: vulnerabilities_read parameters: @@ -17198,12 +17787,19 @@ components: schemas: ErrorDetail: example: + code: code detail: detail fields: key: - fields - fields properties: + code: + description: A machine-readable code for the error. Only set for validation + errors. + minLength: 1 + title: Code + type: string detail: description: An extended message for the response. minLength: 1 @@ -19592,7 +20188,7 @@ components: title: Slug type: string slug_perm: - description: An auto-generated id that uniquely identifies the API key policy. + description: An auto-generated id that uniquely identifies the rule. format: slug minLength: 1 pattern: "^[-a-zA-Z0-9_]+$" @@ -20878,6 +21474,7 @@ components: type: object ProviderSettings: example: + jwks: "{}" mapping_claim: mapping_claim claims: "{}" name: name @@ -20900,6 +21497,13 @@ components: requests. title: Enabled type: boolean + jwks: + description: "The manually uploaded JWKS, for providers we do not have remote\ + \ access to." + nullable: true + properties: {} + title: Jwks + type: object mapping_claim: description: |- The OIDC claim to use for mapping to service accounts in dynamic_mappings. @@ -20916,7 +21520,7 @@ components: type: string provider_url: description: |- - The URL from the provider that serves as the base for the OpenID configuration. + The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ format: uri minLength: 1 @@ -20987,6 +21591,7 @@ components: claim_value: claim_value - service_account: service_account claim_value: claim_value + jwks: "{}" mapping_claim: mapping_claim claims: "{}" name: name @@ -21015,6 +21620,13 @@ components: requests. title: Enabled type: boolean + jwks: + description: "The manually uploaded JWKS, for providers we do not have remote\ + \ access to." + nullable: true + properties: {} + title: Jwks + type: object mapping_claim: description: |- The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. @@ -21031,7 +21643,7 @@ components: type: string provider_url: description: |- - The URL from the provider that serves as the base for the OpenID configuration. + The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ format: uri minLength: 1 @@ -21059,6 +21671,7 @@ components: claim_value: claim_value - service_account: service_account claim_value: claim_value + jwks: "{}" mapping_claim: mapping_claim claims: "{}" name: name @@ -21089,6 +21702,13 @@ components: requests. title: Enabled type: boolean + jwks: + description: "The manually uploaded JWKS, for providers we do not have remote\ + \ access to." + nullable: true + properties: {} + title: Jwks + type: object mapping_claim: description: |- The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. @@ -21105,7 +21725,7 @@ components: type: string provider_url: description: |- - The URL from the provider that serves as the base for the OpenID configuration. + The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ format: uri minLength: 1 @@ -21149,6 +21769,7 @@ components: claim_value: claim_value - service_account: service_account claim_value: claim_value + jwks: "{}" mapping_claim: mapping_claim claims: "{}" name: name @@ -21177,6 +21798,13 @@ components: requests. title: Enabled type: boolean + jwks: + description: "The manually uploaded JWKS, for providers we do not have remote\ + \ access to." + nullable: true + properties: {} + title: Jwks + type: object mapping_claim: description: |- The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. @@ -21193,7 +21821,7 @@ components: type: string provider_url: description: |- - The URL from the provider that serves as the base for the OpenID configuration. + The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ format: uri minLength: 1 @@ -21471,7 +22099,7 @@ components: type: string key_expires_at: description: The time at which the API key will expire. This will only be - populated if the Organization has an active API Key Policy. + populated if the Organization has an active API key rule. format: date-time nullable: true readOnly: true @@ -22378,6 +23006,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -22672,6 +23301,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -22759,6 +23389,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -22770,14 +23406,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -22785,6 +23421,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -22799,7 +23436,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -22984,6 +23621,7 @@ components: vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -23030,6 +23668,7 @@ components: type: object AlpinePackageUploadRequest: example: + release_notes: release_notes republish: true distribution: distribution package_file: package_file @@ -23045,6 +23684,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -23084,6 +23729,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -23356,6 +24002,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -23443,6 +24090,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -23454,14 +24107,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -23469,6 +24122,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -23483,7 +24137,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -23661,6 +24315,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -23668,6 +24323,7 @@ components: type: object CargoPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -23677,6 +24333,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -23715,6 +24377,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -23987,6 +24650,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -24074,6 +24738,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -24085,14 +24755,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -24100,6 +24770,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -24114,7 +24785,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -24292,6 +24963,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -24299,6 +24971,7 @@ components: type: object CocoapodsPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -24308,6 +24981,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -24346,6 +25025,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -24618,6 +25298,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -24705,6 +25386,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -24716,14 +25403,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -24731,6 +25418,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -24745,7 +25433,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -24923,6 +25611,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -24930,6 +25619,7 @@ components: type: object ComposerPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file version: version @@ -24940,6 +25630,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -24984,6 +25680,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -25256,6 +25953,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -25343,6 +26041,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -25354,14 +26058,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -25369,6 +26073,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -25383,7 +26088,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -25561,6 +26266,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -25568,6 +26274,7 @@ components: type: object ConanPackageUploadRequest: example: + release_notes: release_notes republish: true name: name metadata_file: metadata_file @@ -25619,6 +26326,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -25666,6 +26379,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -25954,6 +26668,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -26041,6 +26756,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -26052,14 +26773,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -26067,6 +26788,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -26081,7 +26803,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -26259,6 +26981,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -26266,6 +26989,7 @@ components: type: object CondaPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -26275,6 +26999,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -26313,6 +27043,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -26585,6 +27316,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -26672,6 +27404,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -26683,14 +27421,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -26698,6 +27436,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -26712,7 +27451,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -26890,6 +27629,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -26897,6 +27637,7 @@ components: type: object CranPackageUploadRequest: example: + release_notes: release_notes republish: true r_version: r_version package_file: package_file @@ -26922,6 +27663,12 @@ components: nullable: true title: R version type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -26960,6 +27707,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -27233,6 +27981,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -27328,6 +28077,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -27339,14 +28094,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -27354,6 +28109,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -27368,7 +28124,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -27546,6 +28302,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -27553,6 +28310,7 @@ components: type: object DartPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -27562,6 +28320,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -27600,6 +28364,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -27872,6 +28637,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -27959,6 +28725,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -27970,14 +28742,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -27985,6 +28757,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -27999,7 +28772,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -28177,6 +28950,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -28186,6 +28960,7 @@ components: example: sources_file: sources_file component: main + release_notes: release_notes republish: true changes_file: changes_file distribution: distribution @@ -28218,6 +28993,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -28263,6 +29044,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -28535,6 +29317,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -28622,6 +29405,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -28633,14 +29422,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -28648,6 +29437,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -28662,7 +29452,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -28840,6 +29630,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -28847,6 +29638,7 @@ components: type: object DockerPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -28856,6 +29648,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -28894,6 +29692,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -29166,6 +29965,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -29253,6 +30053,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -29264,14 +30070,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -29279,6 +30085,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -29293,7 +30100,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -29471,6 +30278,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -29479,6 +30287,7 @@ components: GenericPackageUploadRequest: example: filepath: filepath + release_notes: release_notes republish: true name: name package_file: package_file @@ -29502,6 +30311,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -29547,6 +30362,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -29819,6 +30635,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -29906,6 +30723,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -29917,14 +30740,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -29932,6 +30755,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -29946,7 +30770,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -30124,6 +30948,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -30131,6 +30956,7 @@ components: type: object GoPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -30140,6 +30966,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -30178,6 +31010,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -30450,6 +31283,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -30537,6 +31371,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -30548,14 +31388,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -30563,6 +31403,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -30577,7 +31418,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -30755,6 +31596,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -30763,6 +31605,7 @@ components: HelmPackageUploadRequest: example: provenance_file: provenance_file + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -30779,6 +31622,12 @@ components: nullable: true title: Provenance file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -30817,6 +31666,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -31089,6 +31939,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -31176,6 +32027,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -31187,14 +32044,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -31202,6 +32059,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -31216,7 +32074,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -31394,6 +32252,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -31401,6 +32260,7 @@ components: type: object HexPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -31410,6 +32270,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -31448,6 +32314,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -31720,6 +32587,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -31807,6 +32675,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -31818,14 +32692,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -31833,6 +32707,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -31847,7 +32722,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -32025,6 +32900,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -32032,6 +32908,7 @@ components: type: object HuggingfacePackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -32041,6 +32918,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -32079,6 +32962,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -32351,6 +33235,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -32438,6 +33323,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -32449,14 +33340,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -32464,6 +33355,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -32478,7 +33370,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -32656,6 +33548,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -32663,6 +33556,7 @@ components: type: object LuarocksPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -32672,6 +33566,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -32710,6 +33610,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -32982,6 +33883,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -33069,6 +33971,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -33080,14 +33988,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -33095,6 +34003,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -33109,7 +34018,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -33287,6 +34196,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -33294,6 +34204,7 @@ components: type: object MavenPackageUploadRequest: example: + release_notes: release_notes javadoc_file: javadoc_file packaging: packaging artifact_id: artifact_id @@ -33362,6 +34273,12 @@ components: nullable: true title: Pom file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -33429,6 +34346,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -33717,6 +34635,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -33810,6 +34729,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -33831,14 +34756,14 @@ components: title: Scala version type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -33846,6 +34771,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -33860,7 +34786,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -34038,6 +34964,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -34045,6 +34972,7 @@ components: type: object McpPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file version: version @@ -34055,6 +34983,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -34099,6 +35033,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -34371,6 +35306,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -34458,6 +35394,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -34469,14 +35411,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -34484,6 +35426,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -34498,7 +35441,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -34676,6 +35619,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -34683,6 +35627,7 @@ components: type: object NixPackageUploadRequest: example: + release_notes: release_notes republish: true narinfo_file: narinfo_file package_file: package_file @@ -34702,6 +35647,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -34746,6 +35697,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -35018,6 +35970,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -35105,6 +36058,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -35116,14 +36075,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -35131,6 +36090,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -35145,7 +36105,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -35323,6 +36283,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -35330,6 +36291,7 @@ components: type: object NpmPackageUploadRequest: example: + release_notes: release_notes republish: true npm_dist_tag: latest package_file: package_file @@ -35348,6 +36310,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -35386,6 +36354,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -35658,6 +36627,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -35745,6 +36715,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -35756,14 +36732,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -35771,6 +36747,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -35785,7 +36762,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -35963,6 +36940,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -35970,6 +36948,7 @@ components: type: object NugetPackageUploadRequest: example: + release_notes: release_notes republish: true symbols_file: symbols_file package_file: package_file @@ -35980,6 +36959,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -36024,6 +37009,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -36296,6 +37282,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -36383,6 +37370,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -36394,14 +37387,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -36409,6 +37402,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -36423,7 +37417,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -36601,6 +37595,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -36608,6 +37603,7 @@ components: type: object P2PackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -36617,6 +37613,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -36655,6 +37657,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -36927,6 +37930,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -37014,6 +38018,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -37025,14 +38035,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -37040,6 +38050,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -37054,7 +38065,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -37232,6 +38243,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -37239,6 +38251,7 @@ components: type: object PythonPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -37248,6 +38261,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -37286,6 +38305,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -37558,6 +38578,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -37645,6 +38666,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -37656,14 +38683,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -37671,6 +38698,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -37685,7 +38713,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -37863,6 +38891,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -37872,6 +38901,7 @@ components: example: summary: summary content_type: content_type + release_notes: release_notes republish: true name: name description: description @@ -37905,6 +38935,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -37955,6 +38991,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -38227,6 +39264,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -38314,6 +39352,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -38325,14 +39369,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -38340,6 +39384,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -38354,7 +39399,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -38532,6 +39577,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -38539,6 +39585,7 @@ components: type: object RpmPackageUploadRequest: example: + release_notes: release_notes republish: true distribution: distribution package_file: package_file @@ -38554,6 +39601,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -38593,6 +39646,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -38865,6 +39919,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -38952,6 +40007,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -38963,14 +40024,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -38978,6 +40039,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -38992,7 +40054,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -39170,6 +40232,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -39177,6 +40240,7 @@ components: type: object RubyPackageUploadRequest: example: + release_notes: release_notes republish: true package_file: package_file tags: tags @@ -39186,6 +40250,12 @@ components: minLength: 1 title: Package file type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -39224,6 +40294,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -39496,6 +40567,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -39583,6 +40655,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -39594,14 +40672,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -39609,6 +40687,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -39623,7 +40702,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -39801,45 +40880,31 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string type: object - SwiftPackageUploadRequest: + SkillsPackageUploadRequest: example: - author_name: author_name + release_notes: release_notes republish: true - scope: scope - author_org: author_org name: name - repository_url: https://openapi-generator.tech + changelog: changelog package_file: package_file version: version - license_url: https://openapi-generator.tech - readme_url: https://openapi-generator.tech tags: tags properties: - author_name: - description: The name of the author of the package. - minLength: 1 - title: Author name - type: string - author_org: - description: The organization of the author. - minLength: 1 - title: Author org - type: string - license_url: - description: The license URL of this package. - format: uri - maxLength: 200 + changelog: + maxLength: 4096 nullable: true - title: License url + title: Changelog type: string name: - description: The name of this package. - maxLength: 200 + maxLength: 128 + minLength: 1 + pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" title: Name type: string package_file: @@ -39847,17 +40912,11 @@ components: minLength: 1 title: Package file type: string - readme_url: - description: The URL of the readme for the package. - format: uri - minLength: 1 - title: Readme url - type: string - repository_url: - description: The URL of the SCM repository for the package. - format: uri - minLength: 1 - title: Repository url + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes type: string republish: description: "If true, the uploaded package will overwrite any others with\ @@ -39865,13 +40924,6 @@ components: \ as a duplicate." title: Republish type: boolean - scope: - description: A scope provides a namespace for related packages within the - package registry. - maxLength: 39 - minLength: 1 - title: Scope - type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -39880,17 +40932,16 @@ components: title: Tags type: string version: - description: The raw version for this package. maxLength: 255 + minLength: 1 title: Version type: string required: - name - package_file - - scope - version type: object - SwiftPackageUpload: + SkillsPackageUpload: example: architectures: - name: name @@ -39912,9 +40963,11 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format + changelog: changelog status_str: status_str version_orig: version_orig namespace_url: https://openapi-generator.tech @@ -39936,7 +40989,6 @@ components: - tags_static - tags_static is_downloadable: true - author_org: author_org name: name sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: @@ -39969,9 +41021,7 @@ components: signature_url: signature_url tag: tag num_files: 5 - license_url: https://openapi-generator.tech status: 9 - author_name: author_name checksum_sha512: checksum_sha512 distro: name: name @@ -39996,7 +41046,6 @@ components: downloads: 0 subtype: subtype uploader: uploader - scope: scope self_webapp_url: self_webapp_url signature_url: signature_url tags_automatic: "{}" @@ -40017,7 +41066,6 @@ components: self_html_url: self_html_url origin_repository_url: https://openapi-generator.tech self_url: https://openapi-generator.tech - readme_url: https://openapi-generator.tech status_url: https://openapi-generator.tech is_sync_in_flight: true security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 @@ -40034,21 +41082,16 @@ components: $ref: '#/components/schemas/Architecture' readOnly: true type: array - author_name: - description: The name of the author of the package. - minLength: 1 - title: Author name - type: string - author_org: - description: The organization of the author. - minLength: 1 - title: Author org - type: string cdn_url: nullable: true readOnly: true title: Cdn url type: string + changelog: + maxLength: 4096 + nullable: true + title: Changelog + type: string checksum_md5: readOnly: true title: Checksum md5 @@ -40199,6 +41242,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -40228,16 +41272,10 @@ components: readOnly: true title: License type: string - license_url: - description: The license URL of this package. - format: uri - maxLength: 200 - nullable: true - title: License url - type: string name: - description: The name of this package. - maxLength: 200 + maxLength: 128 + minLength: 1 + pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" title: Name type: string namespace: @@ -40286,45 +41324,37 @@ components: readOnly: true title: Raw license type: string - readme_url: - description: The URL of the readme for the package. - format: uri - minLength: 1 - title: Readme url - type: string release: description: The release of the package version (if any). nullable: true readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true title: Repository type: string repository_url: - description: The URL of the SCM repository for the package. format: uri - minLength: 1 + readOnly: true title: Repository url type: string - scope: - description: A scope provides a namespace for related packages within the - package registry. - maxLength: 39 - minLength: 1 - title: Scope - type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -40332,6 +41362,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -40346,7 +41377,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -40514,8 +41545,8 @@ components: title: Uploader url type: string version: - description: The raw version for this package. maxLength: 255 + minLength: 1 title: Version type: string version_orig: @@ -40523,32 +41554,88 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string required: - name - - scope - version type: object - TerraformPackageUploadRequest: + SwiftPackageUploadRequest: example: + author_name: author_name + release_notes: release_notes republish: true + scope: scope + author_org: author_org + name: name + repository_url: https://openapi-generator.tech package_file: package_file + version: version + license_url: https://openapi-generator.tech + readme_url: https://openapi-generator.tech tags: tags properties: + author_name: + description: The name of the author of the package. + minLength: 1 + title: Author name + type: string + author_org: + description: The organization of the author. + minLength: 1 + title: Author org + type: string + license_url: + description: The license URL of this package. + format: uri + maxLength: 200 + nullable: true + title: License url + type: string + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string + readme_url: + description: The URL of the readme for the package. + format: uri + minLength: 1 + title: Readme url + type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string + repository_url: + description: The URL of the SCM repository for the package. + format: uri + minLength: 1 + title: Repository url + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ \ as a duplicate." title: Republish type: boolean + scope: + description: A scope provides a namespace for related packages within the + package registry. + maxLength: 39 + minLength: 1 + title: Scope + type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -40556,10 +41643,18 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string required: + - name - package_file + - scope + - version type: object - TerraformPackageUpload: + SwiftPackageUpload: example: architectures: - name: name @@ -40581,6 +41676,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -40605,6 +41701,7 @@ components: - tags_static - tags_static is_downloadable: true + author_org: author_org name: name sync_finished_at: 2000-01-23T04:56:07.000+00:00 files: @@ -40637,7 +41734,9 @@ components: signature_url: signature_url tag: tag num_files: 5 + license_url: https://openapi-generator.tech status: 9 + author_name: author_name checksum_sha512: checksum_sha512 distro: name: name @@ -40662,6 +41761,7 @@ components: downloads: 0 subtype: subtype uploader: uploader + scope: scope self_webapp_url: self_webapp_url signature_url: signature_url tags_automatic: "{}" @@ -40682,6 +41782,7 @@ components: self_html_url: self_html_url origin_repository_url: https://openapi-generator.tech self_url: https://openapi-generator.tech + readme_url: https://openapi-generator.tech status_url: https://openapi-generator.tech is_sync_in_flight: true security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 @@ -40698,6 +41799,16 @@ components: $ref: '#/components/schemas/Architecture' readOnly: true type: array + author_name: + description: The name of the author of the package. + minLength: 1 + title: Author name + type: string + author_org: + description: The organization of the author. + minLength: 1 + title: Author org + type: string cdn_url: nullable: true readOnly: true @@ -40853,6 +41964,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -40882,10 +41994,16 @@ components: readOnly: true title: License type: string + license_url: + description: The license URL of this package. + format: uri + maxLength: 200 + nullable: true + title: License url + type: string name: description: The name of this package. - nullable: true - readOnly: true + maxLength: 200 title: Name type: string namespace: @@ -40934,31 +42052,51 @@ components: readOnly: true title: Raw license type: string + readme_url: + description: The URL of the readme for the package. + format: uri + minLength: 1 + title: Readme url + type: string release: description: The release of the package version (if any). nullable: true readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true title: Repository type: string repository_url: + description: The URL of the SCM repository for the package. format: uri - readOnly: true + minLength: 1 title: Repository url type: string + scope: + description: A scope provides a namespace for related packages within the + package registry. + maxLength: 39 + minLength: 1 + title: Scope + type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -40966,6 +42104,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -40980,7 +42119,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -41149,8 +42288,7 @@ components: type: string version: description: The raw version for this package. - nullable: true - readOnly: true + maxLength: 255 title: Version type: string version_orig: @@ -41158,34 +42296,33 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string + required: + - name + - scope + - version type: object - VagrantPackageUploadRequest: + TerraformPackageUploadRequest: example: + release_notes: release_notes republish: true - provider: provider - name: name package_file: package_file - version: version tags: tags properties: - name: - description: The name of this package. - maxLength: 200 - title: Name - type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string - provider: - description: The virtual machine provider for the box. - minLength: 1 - title: Provider + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes type: string republish: description: "If true, the uploaded package will overwrite any others with\ @@ -41200,18 +42337,10 @@ components: nullable: true title: Tags type: string - version: - description: The raw version for this package. - maxLength: 255 - title: Version - type: string required: - - name - package_file - - provider - - version type: object - VagrantPackageUpload: + TerraformPackageUpload: example: architectures: - name: name @@ -41233,6 +42362,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -41312,7 +42442,6 @@ components: dependencies_checksum_md5: dependencies_checksum_md5 policy_violated: true downloads: 0 - provider: provider subtype: subtype uploader: uploader self_webapp_url: self_webapp_url @@ -41506,6 +42635,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -41537,7 +42667,8 @@ components: type: string name: description: The name of this package. - maxLength: 200 + nullable: true + readOnly: true title: Name type: string namespace: @@ -41579,11 +42710,6 @@ components: readOnly: true title: Policy violated type: boolean - provider: - description: The virtual machine provider for the box. - minLength: 1 - title: Provider - type: string raw_license: description: The raw license string. minLength: 1 @@ -41597,6 +42723,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -41608,14 +42740,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -41623,6 +42755,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -41637,7 +42770,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -41806,7 +42939,8 @@ components: type: string version: description: The raw version for this package. - maxLength: 255 + nullable: true + readOnly: true title: Version type: string version_orig: @@ -41814,26 +42948,43 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string - required: - - name - - provider - - version type: object - VsxPackageUploadRequest: + VagrantPackageUploadRequest: example: + release_notes: release_notes republish: true + provider: provider + name: name package_file: package_file + version: version tags: tags properties: + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string + provider: + description: The virtual machine provider for the box. + minLength: 1 + title: Provider + type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -41847,10 +42998,18 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string required: + - name - package_file + - provider + - version type: object - VsxPackageUpload: + VagrantPackageUpload: example: architectures: - name: name @@ -41872,6 +43031,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -41951,6 +43111,7 @@ components: dependencies_checksum_md5: dependencies_checksum_md5 policy_violated: true downloads: 0 + provider: provider subtype: subtype uploader: uploader self_webapp_url: self_webapp_url @@ -42144,6 +43305,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -42175,8 +43337,7 @@ components: type: string name: description: The name of this package. - nullable: true - readOnly: true + maxLength: 200 title: Name type: string namespace: @@ -42218,6 +43379,11 @@ components: readOnly: true title: Policy violated type: boolean + provider: + description: The virtual machine provider for the box. + minLength: 1 + title: Provider + type: string raw_license: description: The raw license string. minLength: 1 @@ -42231,6 +43397,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -42242,14 +43414,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -42257,6 +43429,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -42271,7 +43444,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -42440,8 +43613,7 @@ components: type: string version: description: The raw version for this package. - nullable: true - readOnly: true + maxLength: 255 title: Version type: string version_orig: @@ -42449,12 +43621,51 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string + required: + - name + - provider + - version type: object - PackageDetail: + VsxPackageUploadRequest: + example: + release_notes: release_notes + republish: true + package_file: package_file + tags: tags + properties: + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + required: + - package_file + type: object + VsxPackageUpload: example: architectures: - name: name @@ -42462,16 +43673,13 @@ components: - name: name description: description security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 - has_dependencies: true checksum_sha256: checksum_sha256 release: release - is_malware_detected: true package_type: 5 repository: repository origin_repository: origin_repository identifier_perm: identifier_perm stage_updated_at: 2000-01-23T04:56:07.000+00:00 - filepath: filepath tags_immutable: "{}" is_quarantined: true slug: slug @@ -42479,6 +43687,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -42490,7 +43699,6 @@ components: slug_perm: slug_perm spdx_license: spdx_license version: version - tags: "{}" is_resyncable: true license: license store_path: store_path @@ -42576,14 +43784,6 @@ components: key: identifiers checksum_md5: checksum_md5 sync_progress: 3 - vulnerability_counts: - high: 1 - total: 7 - malware: 1 - critical: 7 - low: 1 - medium: 6 - unknown: 1 is_sync_awaiting: true uploader_url: https://openapi-generator.tech self_html_url: self_html_url @@ -42679,13 +43879,6 @@ components: readOnly: true title: Filename type: string - filepath: - description: "Full path to the file, including filename e.g. bin/utils/tool.tar.gz" - minLength: 1 - nullable: true - readOnly: true - title: Filepath - type: string files: items: $ref: '#/components/schemas/PackageFile' @@ -42712,12 +43905,6 @@ components: readOnly: true title: Fully qualified name type: string - has_dependencies: - description: Whether the package has any dependencies (top-level or from - its SBOM). - readOnly: true - title: Has dependencies - type: boolean identifier_perm: description: Unique and permanent identifier for the package. minLength: 1 @@ -42756,12 +43943,6 @@ components: readOnly: true title: Is hidden type: boolean - is_malware_detected: - description: Whether the package has been detected as containing malware. - Requires Ultra plan. - readOnly: true - title: Is malware detected - type: boolean is_moveable: readOnly: true title: Is moveable @@ -42779,6 +43960,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -42866,6 +44048,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -42877,14 +44065,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -42892,6 +44080,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -42906,7 +44095,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -43031,11 +44220,6 @@ components: readOnly: true title: Sync progress type: integer - tags: - description: "All tags on the package, grouped by tag type. This includes\ - \ immutable tags, but doesn't distinguish them from mutable. To see which\ - \ tags are immutable specifically, see the tags_immutable field." - type: object tags_automatic: description: "All tags on the package, grouped by tag type. This includes\ \ immutable tags, but doesn't distinguish them from mutable. To see which\ @@ -43088,33 +44272,33 @@ components: readOnly: true title: Version orig type: string - vulnerability_counts: - $ref: '#/components/schemas/WebOSVSeverityCounts' vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string type: object - PackageCopyRequest: + PluginSkill: example: - republish: true - destination: destination + name: name + description: description properties: - destination: - description: The name of the destination repository without the namespace. + description: + description: "The skill's description, if it declares one. Truncated to\ + \ 200 characters." minLength: 1 - title: Destination + nullable: true + readOnly: true + title: Description + type: string + name: + minLength: 1 + readOnly: true + title: Name type: string - republish: - description: "If true, the package will overwrite any others with the same\ - \ attributes (e.g. same version); otherwise, it will be flagged as a duplicate." - title: Republish - type: boolean - required: - - destination type: object - PackageCopy: + PackageDetail: example: architectures: - name: name @@ -43122,8 +44306,10 @@ components: - name: name description: description security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + has_dependencies: true checksum_sha256: checksum_sha256 release: release + is_malware_detected: true package_type: 5 repository: repository origin_repository: origin_repository @@ -43136,7 +44322,13 @@ components: freeable_storage: 1 is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + plugin_skills: + - name: name + description: description + - name: name + description: description security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -43234,6 +44426,14 @@ components: key: identifiers checksum_md5: checksum_md5 sync_progress: 3 + vulnerability_counts: + high: 1 + total: 7 + malware: 1 + critical: 7 + low: 1 + medium: 6 + unknown: 1 is_sync_awaiting: true uploader_url: https://openapi-generator.tech self_html_url: self_html_url @@ -43362,6 +44562,12 @@ components: readOnly: true title: Fully qualified name type: string + has_dependencies: + description: Whether the package has any dependencies (top-level or from + its SBOM). + readOnly: true + title: Has dependencies + type: boolean identifier_perm: description: Unique and permanent identifier for the package. minLength: 1 @@ -43400,6 +44606,12 @@ components: readOnly: true title: Is hidden type: boolean + is_malware_detected: + description: Whether the package has been detected as containing malware. + Requires Ultra plan. + readOnly: true + title: Is malware detected + type: boolean is_moveable: readOnly: true title: Is moveable @@ -43417,6 +44629,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -43486,6 +44699,13 @@ components: readOnly: true title: Package type type: integer + plugin_skills: + description: The skills a plugin bundles. Null for any other package. + items: + $ref: '#/components/schemas/PluginSkill' + nullable: true + readOnly: true + type: array policy_violated: description: Whether or not the package has violated any policy. readOnly: true @@ -43504,8 +44724,13 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: - description: The repository the package will be copied to. minLength: 1 readOnly: true title: Repository @@ -43516,14 +44741,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -43531,6 +44756,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -43545,7 +44771,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -43727,104 +44953,19 @@ components: readOnly: true title: Version orig type: string + vulnerability_counts: + $ref: '#/components/schemas/WebOSVSeverityCounts' vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string type: object - PackageDependency: - example: - dep_type: Depends - name: name - version: version - operator: = - properties: - dep_type: - default: Depends - enum: - - Depends - - Pre-Depends - - Recommends - - Suggests - - Enhances - - Replaces - - Breaks - - Built-Using - - Build-Depends - - Build-Depends-Indep - - Build-Conflicts - - Build-Conflicts-Indep - - Conflicts - - Provides - - Obsoletes - - Requires - - Runtime - - Development - - Compile - - Provided - - Test - - System - - Import - - Excluded - - Build-Requires - - Python-Requires - readOnly: true - title: Dep type - type: string - name: - maxLength: 255 - minLength: 1 - readOnly: true - title: Name - type: string - operator: - default: = - enum: - - = - - '!=' - - < - - << - - <= - - '>' - - '>>' - - '>=' - - "~=" - - "~>" - - matches - nullable: true - readOnly: true - title: Operator - type: string - version: - maxLength: 128 - minLength: 1 - nullable: true - readOnly: true - title: Version - type: string - type: object - PackageDependencies: - example: - dependencies: - - dep_type: Depends - name: name - version: version - operator: = - - dep_type: Depends - name: name - version: version - operator: = - properties: - dependencies: - items: - $ref: '#/components/schemas/PackageDependency' - type: array - required: - - dependencies - type: object - PackageMoveRequest: + PackageCopyRequest: example: + release_notes: release_notes + republish: true destination: destination properties: destination: @@ -43832,10 +44973,21 @@ components: minLength: 1 title: Destination type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string + republish: + description: "If true, the package will overwrite any others with the same\ + \ attributes (e.g. same version); otherwise, it will be flagged as a duplicate." + title: Republish + type: boolean required: - destination type: object - PackageMove: + PackageCopy: example: architectures: - name: name @@ -43858,6 +45010,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -44138,6 +45291,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -44225,8 +45379,14 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: - description: The repository the package will be moved to. + description: The repository the package will be copied to. minLength: 1 readOnly: true title: Repository @@ -44237,14 +45397,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -44252,6 +45412,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -44266,7 +45427,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -44449,27 +45610,122 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string type: object - PackageQuarantineRequest: + PackageDependency: example: - restore: true - release: true + dep_type: Depends + name: name + version: version + operator: = properties: - release: - description: "If true, the package is released from quarantine." - title: Release - type: boolean - restore: - description: "If true, the package is released from quarantine. Note: This\ - \ field is deprecated, please use 'release' instead." - title: Restore - type: boolean + dep_type: + default: Depends + enum: + - Depends + - Pre-Depends + - Recommends + - Suggests + - Enhances + - Replaces + - Breaks + - Built-Using + - Build-Depends + - Build-Depends-Indep + - Build-Conflicts + - Build-Conflicts-Indep + - Conflicts + - Provides + - Obsoletes + - Requires + - Runtime + - Development + - Compile + - Provided + - Test + - System + - Import + - Excluded + - Build-Requires + - Python-Requires + readOnly: true + title: Dep type + type: string + name: + maxLength: 255 + minLength: 1 + readOnly: true + title: Name + type: string + operator: + default: = + enum: + - = + - '!=' + - < + - << + - <= + - '>' + - '>>' + - '>=' + - "~=" + - "~>" + - matches + nullable: true + readOnly: true + title: Operator + type: string + version: + maxLength: 128 + minLength: 1 + nullable: true + readOnly: true + title: Version + type: string type: object - PackageQuarantine: + PackageDependencies: + example: + dependencies: + - dep_type: Depends + name: name + version: version + operator: = + - dep_type: Depends + name: name + version: version + operator: = + properties: + dependencies: + items: + $ref: '#/components/schemas/PackageDependency' + type: array + required: + - dependencies + type: object + PackageMoveRequest: + example: + release_notes: release_notes + destination: destination + properties: + destination: + description: The name of the destination repository without the namespace. + minLength: 1 + title: Destination + type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string + required: + - destination + type: object + PackageMove: example: architectures: - name: name @@ -44478,6 +45734,7 @@ components: description: description security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 + release: release package_type: 5 repository: repository origin_repository: origin_repository @@ -44491,6 +45748,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -44771,6 +46029,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -44852,7 +46111,20 @@ components: readOnly: true title: Raw license type: string + release: + description: The release of the package version (if any). + nullable: true + readOnly: true + title: Release + type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: + description: The repository the package will be moved to. minLength: 1 readOnly: true title: Repository @@ -44863,14 +46135,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -44878,6 +46150,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -44892,7 +46165,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -45075,12 +46348,35 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string type: object - PackageResync: + PackageQuarantineRequest: + example: + release_notes: release_notes + restore: true + release: true + properties: + release: + description: "If true, the package is released from quarantine." + title: Release + type: boolean + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string + restore: + description: "If true, the package is released from quarantine. Note: This\ + \ field is deprecated, please use 'release' instead." + title: Restore + type: boolean + type: object + PackageQuarantine: example: architectures: - name: name @@ -45089,7 +46385,6 @@ components: description: description security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 - release: release package_type: 5 repository: repository origin_repository: origin_repository @@ -45103,6 +46398,7 @@ components: is_security_scannable: true security_scan_started_at: 2000-01-23T04:56:07.000+00:00 security_scan_status: Awaiting Security Scan + release_notes: release_notes indexed: true is_deleteable: true format: format @@ -45383,6 +46679,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -45464,11 +46761,11 @@ components: readOnly: true title: Raw license type: string - release: - description: The release of the package version (if any). + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 nullable: true - readOnly: true - title: Release + title: Release notes type: string repository: minLength: 1 @@ -45481,14 +46778,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -45496,6 +46793,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -45510,7 +46808,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -45693,39 +46991,279 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url type: string type: object - PackageStatus: + PackageResync: example: + architectures: + - name: name + description: description + - name: name + description: description + security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 + checksum_sha256: checksum_sha256 + release: release + package_type: 5 + repository: repository + origin_repository: origin_repository + identifier_perm: identifier_perm + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + filepath: filepath + tags_immutable: "{}" + is_quarantined: true + slug: slug + freeable_storage: 1 + is_security_scannable: true + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + release_notes: release_notes + indexed: true + is_deleteable: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + display_name: display_name + display_source: display_source + slug_perm: slug_perm + spdx_license: spdx_license + version: version + tags: "{}" + is_resyncable: true + license: license + store_path: store_path + filename: filename + size: 2 + cdn_url: cdn_url + uploaded_at: 2000-01-23T04:56:07.000+00:00 + is_cancellable: true + tags_static: + key: + - tags_static + - tags_static + is_downloadable: true + name: name + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + files: + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + - checksum_sha512: checksum_sha512 + checksum_sha1: checksum_sha1 + checksum_sha256: checksum_sha256 + is_primary: true + checksum_md5: checksum_md5 + slug_perm: slug_perm + filename: filename + size: 5 + cdn_url: cdn_url + downloads: 1 + is_synchronised: true + is_downloadable: true + signature_url: signature_url + tag: tag + num_files: 5 + status: 9 + checksum_sha512: checksum_sha512 + distro: + name: name + variants: variants + self_url: https://openapi-generator.tech + slug: slug + extension: extension + fully_qualified_name: fully_qualified_name is_hidden: true + description: description is_copyable: true + epoch: 6 is_sync_completed: true - stage_updated_at: 2000-01-23T04:56:07.000+00:00 + distro_version: + name: name + slug: slug + type_display: type_display + raw_license: raw_license + vulnerability_scan_results_url: https://openapi-generator.tech + dependencies_checksum_md5: dependencies_checksum_md5 + policy_violated: true + downloads: 0 + subtype: subtype + uploader: uploader + self_webapp_url: self_webapp_url + signature_url: signature_url + tags_automatic: "{}" + repository_url: https://openapi-generator.tech is_moveable: true - is_quarantined: true status_reason: status_reason + osi_approved: true status_updated_at: 2000-01-23T04:56:07.000+00:00 - is_security_scannable: true + summary: summary + checksum_sha1: checksum_sha1 is_quarantinable: true - is_deleteable: true - status_str: status_str - sync_progress: 1 + identifiers: + key: identifiers + checksum_md5: checksum_md5 + sync_progress: 3 is_sync_awaiting: true + uploader_url: https://openapi-generator.tech + self_html_url: self_html_url + origin_repository_url: https://openapi-generator.tech self_url: https://openapi-generator.tech - is_resyncable: true + status_url: https://openapi-generator.tech is_sync_in_flight: true + security_scan_completed_at: 2000-01-23T04:56:07.000+00:00 is_sync_in_progress: true stage_str: stage_str - stage: 0 - is_cancellable: true - is_downloadable: true - sync_finished_at: 2000-01-23T04:56:07.000+00:00 + stage: 7 + format_url: https://openapi-generator.tech + dependencies_url: https://openapi-generator.tech + namespace: namespace is_sync_failed: true - status: 6 properties: + architectures: + items: + $ref: '#/components/schemas/Architecture' + readOnly: true + type: array + cdn_url: + nullable: true + readOnly: true + title: Cdn url + type: string + checksum_md5: + readOnly: true + title: Checksum md5 + type: string + checksum_sha1: + readOnly: true + title: Checksum sha1 + type: string + checksum_sha256: + readOnly: true + title: Checksum sha256 + type: string + checksum_sha512: + readOnly: true + title: Checksum sha512 + type: string + dependencies_checksum_md5: + description: A checksum of all of the package's dependencies. + nullable: true + readOnly: true + title: Dependencies checksum md5 + type: string + dependencies_url: + format: uri + readOnly: true + title: Dependencies url + type: string + description: + description: A textual description of this package. + nullable: true + readOnly: true + title: Description + type: string + display_name: + readOnly: true + title: Display name + type: string + display_source: + description: "Where the package originated, for example: 'upstream' (proxied/cached\ + \ from a configured upstream), 'connected_repository' (blended in from\ + \ a connected target repository), or 'manual_upload' (uploaded directly\ + \ to Cloudsmith)." + minLength: 1 + readOnly: true + title: Display source + type: string + distro: + $ref: '#/components/schemas/Distribution' + distro_version: + $ref: '#/components/schemas/DistributionVersion' + downloads: + readOnly: true + title: Downloads + type: integer + epoch: + description: The epoch of the package version (if any). + nullable: true + readOnly: true + title: Epoch + type: integer + extension: + readOnly: true + title: Extension + type: string + filename: + minLength: 1 + readOnly: true + title: Filename + type: string + filepath: + description: "Full path to the file, including filename e.g. bin/utils/tool.tar.gz" + minLength: 1 + nullable: true + readOnly: true + title: Filepath + type: string + files: + items: + $ref: '#/components/schemas/PackageFile' + readOnly: true + type: array + format: + minLength: 1 + readOnly: true + title: Format + type: string + format_url: + format: uri + readOnly: true + title: Format url + type: string + freeable_storage: + description: Amount of storage that will be freed if this package is deleted + readOnly: true + title: Freeable storage + type: integer + fully_qualified_name: + minLength: 1 + nullable: true + readOnly: true + title: Fully qualified name + type: string + identifier_perm: + description: Unique and permanent identifier for the package. + minLength: 1 + readOnly: true + title: Identifier perm + type: string + identifiers: + additionalProperties: + nullable: true + type: string + description: Return a map of identifier field names and their values. + readOnly: true + title: Identifiers + type: object + indexed: + readOnly: true + title: Indexed + type: boolean is_cancellable: readOnly: true title: Is cancellable @@ -45763,6 +47301,396 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. + readOnly: true + title: Is security scannable + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + nullable: true + readOnly: true + title: License + type: string + name: + description: The name of this package. + nullable: true + readOnly: true + title: Name + type: string + namespace: + minLength: 1 + readOnly: true + title: Namespace + type: string + namespace_url: + format: uri + readOnly: true + title: Namespace url + type: string + num_files: + readOnly: true + title: Num files + type: integer + origin_repository: + minLength: 1 + readOnly: true + title: Origin repository + type: string + origin_repository_url: + format: uri + readOnly: true + title: Origin repository url + type: string + osi_approved: + description: Whether the package's SPDX license is OSI-approved. + readOnly: true + title: Osi approved + type: boolean + package_type: + description: The type of package contents. + readOnly: true + title: Package type + type: integer + policy_violated: + description: Whether or not the package has violated any policy. + readOnly: true + title: Policy violated + type: boolean + raw_license: + description: The raw license string. + minLength: 1 + nullable: true + readOnly: true + title: Raw license + type: string + release: + description: The release of the package version (if any). + nullable: true + readOnly: true + title: Release + type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: Deprecated. The datetime the security scanning was completed. + format: date-time + nullable: true + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: Deprecated. The datetime the security scanning was started. + format: date-time + nullable: true + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. + enum: + - Awaiting Security Scan + - Security Scanning in Progress + - Scan Detected Vulnerabilities + - Scan Detected No Vulnerabilities + - Security Scanning Disabled + - Security Scanning Failed + - Security Scanning Skipped + - Security Scanning Not Supported + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: Deprecated. The datetime the security scanning status was updated. + format: date-time + nullable: true + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + self_webapp_url: + minLength: 1 + readOnly: true + title: Self webapp url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + spdx_license: + description: The SPDX license identifier for this package. + minLength: 1 + nullable: true + readOnly: true + title: Spdx license + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + nullable: true + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + store_path: + description: "Absolute store path for the package, including store hash\ + \ and name." + minLength: 1 + nullable: true + readOnly: true + title: Store path + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + nullable: true + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + nullable: true + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + tags_automatic: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + tags_immutable: + description: "All tags on the package, grouped by tag type. This includes\ + \ immutable tags, but doesn't distinguish them from mutable. To see which\ + \ tags are immutable specifically, see the tags_immutable field." + type: object + tags_static: + additionalProperties: + items: + type: string + type: array + description: "All static tags on the package, grouped by context. Static\ + \ tags are derived from the package's properties at request time and carry\ + \ a 'context' (rather than a tag type). Includes format-specific badges\ + \ and the package's architecture, subtype, and extension." + readOnly: true + title: Tags static + type: object + type_display: + readOnly: true + title: Type display + type: string + uploaded_at: + description: The date this package was uploaded. + format: date-time + readOnly: true + title: Uploaded at + type: string + uploader: + minLength: 1 + readOnly: true + title: Uploader + type: string + uploader_url: + format: uri + readOnly: true + title: Uploader url + type: string + version: + description: The raw version for this package. + nullable: true + readOnly: true + title: Version + type: string + version_orig: + readOnly: true + title: Version orig + type: string + vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. + format: uri + readOnly: true + title: Vulnerability scan results url + type: string + type: object + PackageStatus: + example: + is_hidden: true + is_copyable: true + is_sync_completed: true + stage_updated_at: 2000-01-23T04:56:07.000+00:00 + is_moveable: true + is_quarantined: true + status_reason: status_reason + status_updated_at: 2000-01-23T04:56:07.000+00:00 + is_security_scannable: true + is_quarantinable: true + is_deleteable: true + status_str: status_str + sync_progress: 1 + is_sync_awaiting: true + self_url: https://openapi-generator.tech + is_resyncable: true + is_sync_in_flight: true + is_sync_in_progress: true + stage_str: stage_str + stage: 0 + is_cancellable: true + is_downloadable: true + sync_finished_at: 2000-01-23T04:56:07.000+00:00 + is_sync_failed: true + status: 6 + properties: + is_cancellable: + readOnly: true + title: Is cancellable + type: boolean + is_copyable: + readOnly: true + title: Is copyable + type: boolean + is_deleteable: + readOnly: true + title: Is deleteable + type: boolean + is_downloadable: + readOnly: true + title: Is downloadable + type: boolean + is_hidden: + readOnly: true + title: Is hidden + type: boolean + is_moveable: + readOnly: true + title: Is moveable + type: boolean + is_quarantinable: + readOnly: true + title: Is quarantinable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_resyncable: + readOnly: true + title: Is resyncable + type: boolean + is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -45843,6 +47771,7 @@ components: type: object PackageTagRequest: example: + release_notes: release_notes is_immutable: false action: Add tags: @@ -45865,6 +47794,12 @@ components: \ is a tag that cannot be removed from a package." title: Is immutable type: boolean + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string tags: description: A list of tags to apply the action to. Not required for clears. items: @@ -46049,6 +47984,7 @@ components: title: Is resyncable type: boolean is_security_scannable: + description: Deprecated. Whether the package can be scanned for vulnerabilities. readOnly: true title: Is security scannable type: boolean @@ -46136,6 +48072,12 @@ components: readOnly: true title: Release type: string + release_notes: + description: The release notes for this package (if any). + maxLength: 4096 + nullable: true + title: Release notes + type: string repository: minLength: 1 readOnly: true @@ -46147,14 +48089,14 @@ components: title: Repository url type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true title: Security scan completed at type: string security_scan_started_at: - description: The datetime the security scanning was started. + description: Deprecated. The datetime the security scanning was started. format: date-time nullable: true readOnly: true @@ -46162,6 +48104,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -46176,7 +48119,7 @@ components: title: Security scan status type: string security_scan_status_updated_at: - description: The datetime the security scanning status was updated. + description: Deprecated. The datetime the security scanning status was updated. format: date-time nullable: true readOnly: true @@ -46354,6 +48297,7 @@ components: title: Version orig type: string vulnerability_scan_results_url: + description: Deprecated. The URL of the package's vulnerability scan results. format: uri readOnly: true title: Vulnerability scan results url @@ -47131,7 +49075,7 @@ components: title: Repository type: string security_scan_completed_at: - description: The datetime the security scanning was completed. + description: Deprecated. The datetime the security scanning was completed. format: date-time nullable: true readOnly: true @@ -47139,6 +49083,7 @@ components: type: string security_scan_status: default: Awaiting Security Scan + description: Deprecated. The status of security scanning for the package. enum: - Awaiting Security Scan - Security Scanning in Progress @@ -47436,6 +49381,7 @@ components: created_at: 2000-01-23T04:56:07.000+00:00 comment: comment fingerprint_short: fingerprint_short + skills_versioning: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK nuget_native_signing_enabled: true is_public: true namespace: namespace @@ -47873,6 +49819,21 @@ components: readOnly: true title: Size str type: string + skills_versioning: + default: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + description: "How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK\ + \ offers a skill by the semantic version its SKILL.md declares, else by\ + \ its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that\ + \ declare a semantic version. Indexing doesn't depend on this setting,\ + \ so a change takes effect at once. A skill cached under a version the\ + \ setting doesn't offer can still be downloaded by that version, but isn't\ + \ offered as the latest. ClawHub skills, uploaded skills and plugins keep\ + \ their versions whatever the setting." + enum: + - SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + - STRICT_SEMANTIC_VERSION + title: Skills versioning + type: string slug: description: The slug identifies the repository in URIs. title: Slug @@ -47977,55 +49938,56 @@ components: type: object RepositoryCreateRequest: example: - delete_own: true - move_packages: Admin open_source_license: open_source_license scan_packages: Read - show_setup_all: true - description: description content_kind: Standard tag_pre_releases_as_latest: true index_files: true use_source_packages: true - docker_refresh_tokens_enabled: true - proxy_npmjs: true - move_own: true - delete_packages: Admin repository_type_str: Public use_vulnerability_scanning: true resync_own: true npm_upstream_tags_take_precedence: true slug: slug - copy_own: true - proxy_pypi: true raw_package_index_enabled: true - contextual_auth_realm: true - resync_packages: Admin - view_statistics: Read open_source_project_url: https://openapi-generator.tech is_public_hidden: true - copy_packages: Read replace_packages: Write user_entitlements_enabled: true - use_entitlements_privilege: Read - use_noarch_packages: true use_default_cargo_upstream: true - storage_region: default - generic_package_index_enabled: true scan_own: true - nuget_native_signing_enabled: true distributes: - distributes - distributes name: name - cosign_signing_enabled: true - use_debian_labels: true replace_packages_by_default: true manage_entitlements_privilege: Admin - strict_npm_validation: true broadcast_state: "Off" default_privilege: None enforce_eula: true + delete_own: true + move_packages: Admin + show_setup_all: true + description: description + docker_refresh_tokens_enabled: true + proxy_npmjs: true + move_own: true + delete_packages: Admin + copy_own: true + proxy_pypi: true + contextual_auth_realm: true + resync_packages: Admin + view_statistics: Read + copy_packages: Read + use_entitlements_privilege: Read + use_noarch_packages: true + storage_region: default + generic_package_index_enabled: true + skills_versioning: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + nuget_native_signing_enabled: true + cosign_signing_enabled: true + use_debian_labels: true + strict_npm_validation: true raw_package_index_signatures_enabled: true properties: broadcast_state: @@ -48332,6 +50294,21 @@ components: \ help for NuGet packages will be shown only." title: Always show Set Me Up for all formats? type: boolean + skills_versioning: + default: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + description: "How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK\ + \ offers a skill by the semantic version its SKILL.md declares, else by\ + \ its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that\ + \ declare a semantic version. Indexing doesn't depend on this setting,\ + \ so a change takes effect at once. A skill cached under a version the\ + \ setting doesn't offer can still be downloaded by that version, but isn't\ + \ offered as the latest. ClawHub skills, uploaded skills and plugins keep\ + \ their versions whatever the setting." + enum: + - SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + - STRICT_SEMANTIC_VERSION + title: Skills versioning + type: string slug: description: The slug identifies the repository in URIs. title: Slug @@ -48521,6 +50498,7 @@ components: created_at: 2000-01-23T04:56:07.000+00:00 comment: comment fingerprint_short: fingerprint_short + skills_versioning: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK nuget_native_signing_enabled: true is_public: true namespace: namespace @@ -48958,6 +50936,21 @@ components: readOnly: true title: Size str type: string + skills_versioning: + default: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + description: "How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK\ + \ offers a skill by the semantic version its SKILL.md declares, else by\ + \ its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that\ + \ declare a semantic version. Indexing doesn't depend on this setting,\ + \ so a change takes effect at once. A skill cached under a version the\ + \ setting doesn't offer can still be downloaded by that version, but isn't\ + \ offered as the latest. ClawHub skills, uploaded skills and plugins keep\ + \ their versions whatever the setting." + enum: + - SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + - STRICT_SEMANTIC_VERSION + title: Skills versioning + type: string slug: description: The slug identifies the repository in URIs. title: Slug @@ -49096,6 +51089,7 @@ components: use_default_cargo_upstream: true generic_package_index_enabled: true scan_own: true + skills_versioning: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK nuget_native_signing_enabled: true distributes: - distributes @@ -49415,6 +51409,21 @@ components: \ help for NuGet packages will be shown only." title: Always show Set Me Up for all formats? type: boolean + skills_versioning: + default: SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + description: "How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK\ + \ offers a skill by the semantic version its SKILL.md declares, else by\ + \ its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that\ + \ declare a semantic version. Indexing doesn't depend on this setting,\ + \ so a change takes effect at once. A skill cached under a version the\ + \ setting doesn't offer can still be downloaded by that version, but isn't\ + \ offered as the latest. ClawHub skills, uploaded skills and plugins keep\ + \ their versions whatever the setting." + enum: + - SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK + - STRICT_SEMANTIC_VERSION + title: Skills versioning + type: string slug: description: The slug identifies the repository in URIs. title: Slug @@ -50304,6 +52313,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50474,6 +52484,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -50609,6 +52620,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53417,13 +55429,446 @@ components: minimum: 1 title: Priority type: integer - upstream_distribution: - description: The distribution to fetch from the upstream - maxLength: 64 - minLength: 1 - nullable: true - title: Upstream distribution - type: string + upstream_distribution: + description: The distribution to fetch from the upstream + maxLength: 64 + minLength: 1 + nullable: true + title: Upstream distribution + type: string + upstream_url: + description: 'The URL for this upstream source. This must be a fully qualified + URL including any path elements required to reach the root of the repository. ' + format: uri + maxLength: 200 + minLength: 1 + title: Upstream URL + type: string + verify_ssl: + description: "If enabled, SSL certificates are verified when requests are\ + \ made to this upstream. It's recommended to leave this enabled for all\ + \ public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please\ + \ note this only applies to HTTPS upstreams." + title: Verify SSL Certificates + type: boolean + type: object + DockerUpstream: + example: + is_active: true + disable_reason: N/A + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + available: true + created_at: 2000-01-23T04:56:07.000+00:00 + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + slug_perm: slug_perm + extra_value_2: extra_value_2 + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + disable_reason_text: disable_reason_text + updated_at: 2000-01-23T04:56:07.000+00:00 + verify_ssl: true + auth_username: auth_username + name: name + has_failed_signature_verification: true + pending_validation: true + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + - Certificate and Key + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + available: + description: Whether the upstream is available for use. + readOnly: true + title: Available + type: boolean + created_at: + description: The datetime the upstream source was created. + format: date-time + readOnly: true + title: Created at + type: string + disable_reason: + default: N/A + enum: + - N/A + - Upstream points to its own repository + - Missing upstream source + - RSA key did not verify the upstream's APKINDEX signature + - Upstream was disabled by request of user + readOnly: true + title: Disable reason + type: string + disable_reason_text: + description: Human-readable explanation of why this upstream is disabled + readOnly: true + title: Disable reason text + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + has_failed_signature_verification: + description: Whether the upstream has failed signature verification. + readOnly: true + title: Has failed signature verification + type: boolean + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + mode: + default: Proxy Only + description: "The mode that this upstream should operate in. Upstream sources\ + \ can be used to proxy resolved packages, as well as operate in a proxy/cache\ + \ or cache only mode." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. + maxLength: 64 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name + type: string + pending_validation: + description: "When true, this upstream source is pending validation." + readOnly: true + title: Pending validation + type: boolean + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + updated_at: + format: date-time + readOnly: true + title: Updated at + type: string + upstream_url: + description: 'The URL for this upstream source. This must be a fully qualified + URL including any path elements required to reach the root of the repository. ' + format: uri + maxLength: 200 + minLength: 1 + title: Upstream URL + type: string + verify_ssl: + description: "If enabled, SSL certificates are verified when requests are\ + \ made to this upstream. It's recommended to leave this enabled for all\ + \ public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please\ + \ note this only applies to HTTPS upstreams." + title: Verify SSL Certificates + type: boolean + required: + - name + - upstream_url + type: object + DockerUpstreamRequest: + example: + auth_certificate_key: auth_certificate_key + is_active: true + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + extra_value_2: extra_value_2 + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + auth_certificate: auth_certificate + verify_ssl: true + auth_username: auth_username + name: name + properties: + auth_certificate: + description: X.509 Certificate to use for mTLS authentication against the + upstream + minLength: 1 + title: Auth certificate + type: string + auth_certificate_key: + description: Certificate key to use for mTLS authentication against the + upstream + minLength: 1 + title: Auth certificate key + type: string + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + - Certificate and Key + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + mode: + default: Proxy Only + description: "The mode that this upstream should operate in. Upstream sources\ + \ can be used to proxy resolved packages, as well as operate in a proxy/cache\ + \ or cache only mode." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. + maxLength: 64 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name + type: string + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer + upstream_url: + description: 'The URL for this upstream source. This must be a fully qualified + URL including any path elements required to reach the root of the repository. ' + format: uri + maxLength: 200 + minLength: 1 + title: Upstream URL + type: string + verify_ssl: + description: "If enabled, SSL certificates are verified when requests are\ + \ made to this upstream. It's recommended to leave this enabled for all\ + \ public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please\ + \ note this only applies to HTTPS upstreams." + title: Verify SSL Certificates + type: boolean + required: + - name + - upstream_url + type: object + DockerUpstreamRequestPatch: + example: + auth_certificate_key: auth_certificate_key + is_active: true + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + extra_value_2: extra_value_2 + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + auth_certificate: auth_certificate + verify_ssl: true + auth_username: auth_username + name: name + properties: + auth_certificate: + description: X.509 Certificate to use for mTLS authentication against the + upstream + minLength: 1 + title: Auth certificate + type: string + auth_certificate_key: + description: Certificate key to use for mTLS authentication against the + upstream + minLength: 1 + title: Auth certificate key + type: string + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + - Certificate and Key + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + mode: + default: Proxy Only + description: "The mode that this upstream should operate in. Upstream sources\ + \ can be used to proxy resolved packages, as well as operate in a proxy/cache\ + \ or cache only mode." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. + maxLength: 64 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name + type: string + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -53440,29 +55885,34 @@ components: title: Verify SSL Certificates type: boolean type: object - DockerUpstream: + GenericUpstream: example: - is_active: true - disable_reason: N/A upstream_url: https://openapi-generator.tech auth_secret: auth_secret + can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 auth_mode: None - extra_value_1: extra_value_1 - priority: 2624 - slug_perm: slug_perm - extra_value_2: extra_value_2 extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only - disable_reason_text: disable_reason_text updated_at: 2000-01-23T04:56:07.000+00:00 - verify_ssl: true auth_username: auth_username - name: name has_failed_signature_verification: true pending_validation: true + index_status: index_status + is_active: true + disable_reason: N/A + extra_value_1: extra_value_1 + priority: 19750 + slug_perm: slug_perm + extra_value_2: extra_value_2 + index_package_count: 0 + disable_reason_text: disable_reason_text + verify_ssl: true + last_indexed: last_indexed + name: name + upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -53470,7 +55920,7 @@ components: enum: - None - Username and Password - - Certificate and Key + - Token title: Auth mode type: string auth_secret: @@ -53490,6 +55940,11 @@ components: readOnly: true title: Available type: boolean + can_reindex: + description: Whether the upstream can be reindexed. + readOnly: true + title: Can reindex + type: boolean created_at: description: The datetime the upstream source was created. format: date-time @@ -53547,10 +56002,28 @@ components: readOnly: true title: Has failed signature verification type: boolean + index_package_count: + description: The number of packages available in this upstream source + nullable: true + readOnly: true + title: Index package count + type: integer + index_status: + description: The current indexing status of this upstream source + nullable: true + readOnly: true + title: Index status + type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active type: boolean + last_indexed: + description: The last time this upstream source was indexed + nullable: true + readOnly: true + title: Last indexed + type: string mode: default: Proxy Only description: "The mode that this upstream should operate in. Upstream sources\ @@ -53559,6 +56032,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53594,6 +56068,16 @@ components: readOnly: true title: Updated at type: string + upstream_prefix: + description: "A unique prefix used to distinguish this upstream source within\ + \ the repository. Generic upstreams can represent entirely different file\ + \ servers, and we do not attempt to blend them. The prefix ensures each\ + \ source remains separate, and requests including this prefix are routed\ + \ to the correct upstream." + maxLength: 64 + minLength: 1 + title: Upstream prefix + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -53613,9 +56097,8 @@ components: - name - upstream_url type: object - DockerUpstreamRequest: + GenericUpstreamRequest: example: - auth_certificate_key: auth_certificate_key is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -53626,30 +56109,18 @@ components: extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only - auth_certificate: auth_certificate verify_ssl: true auth_username: auth_username name: name + upstream_prefix: upstream_prefix properties: - auth_certificate: - description: X.509 Certificate to use for mTLS authentication against the - upstream - minLength: 1 - title: Auth certificate - type: string - auth_certificate_key: - description: Certificate key to use for mTLS authentication against the - upstream - minLength: 1 - title: Auth certificate key - type: string auth_mode: default: None description: 'The authentication mode to use when accessing this upstream. ' enum: - None - Username and Password - - Certificate and Key + - Token title: Auth mode type: string auth_secret: @@ -53706,6 +56177,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53724,6 +56196,16 @@ components: minimum: 1 title: Priority type: integer + upstream_prefix: + description: "A unique prefix used to distinguish this upstream source within\ + \ the repository. Generic upstreams can represent entirely different file\ + \ servers, and we do not attempt to blend them. The prefix ensures each\ + \ source remains separate, and requests including this prefix are routed\ + \ to the correct upstream." + maxLength: 64 + minLength: 1 + title: Upstream prefix + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -53743,9 +56225,8 @@ components: - name - upstream_url type: object - DockerUpstreamRequestPatch: + GenericUpstreamRequestPatch: example: - auth_certificate_key: auth_certificate_key is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -53756,30 +56237,18 @@ components: extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only - auth_certificate: auth_certificate verify_ssl: true auth_username: auth_username name: name + upstream_prefix: upstream_prefix properties: - auth_certificate: - description: X.509 Certificate to use for mTLS authentication against the - upstream - minLength: 1 - title: Auth certificate - type: string - auth_certificate_key: - description: Certificate key to use for mTLS authentication against the - upstream - minLength: 1 - title: Auth certificate key - type: string auth_mode: default: None description: 'The authentication mode to use when accessing this upstream. ' enum: - None - Username and Password - - Certificate and Key + - Token title: Auth mode type: string auth_secret: @@ -53836,6 +56305,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53854,6 +56324,16 @@ components: minimum: 1 title: Priority type: integer + upstream_prefix: + description: "A unique prefix used to distinguish this upstream source within\ + \ the repository. Generic upstreams can represent entirely different file\ + \ servers, and we do not attempt to blend them. The prefix ensures each\ + \ source remains separate, and requests including this prefix are routed\ + \ to the correct upstream." + maxLength: 64 + minLength: 1 + title: Upstream prefix + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -53870,7 +56350,7 @@ components: title: Verify SSL Certificates type: boolean type: object - GenericUpstream: + GoUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -53897,7 +56377,6 @@ components: verify_ssl: true last_indexed: last_indexed name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -53905,7 +56384,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -54053,16 +56531,6 @@ components: readOnly: true title: Updated at type: string - upstream_prefix: - description: "A unique prefix used to distinguish this upstream source within\ - \ the repository. Generic upstreams can represent entirely different file\ - \ servers, and we do not attempt to blend them. The prefix ensures each\ - \ source remains separate, and requests including this prefix are routed\ - \ to the correct upstream." - maxLength: 64 - minLength: 1 - title: Upstream prefix - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -54082,7 +56550,7 @@ components: - name - upstream_url type: object - GenericUpstreamRequest: + GoUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54097,7 +56565,6 @@ components: verify_ssl: true auth_username: auth_username name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -54105,7 +56572,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -54181,16 +56647,6 @@ components: minimum: 1 title: Priority type: integer - upstream_prefix: - description: "A unique prefix used to distinguish this upstream source within\ - \ the repository. Generic upstreams can represent entirely different file\ - \ servers, and we do not attempt to blend them. The prefix ensures each\ - \ source remains separate, and requests including this prefix are routed\ - \ to the correct upstream." - maxLength: 64 - minLength: 1 - title: Upstream prefix - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -54210,7 +56666,7 @@ components: - name - upstream_url type: object - GenericUpstreamRequestPatch: + GoUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54225,7 +56681,6 @@ components: verify_ssl: true auth_username: auth_username name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -54233,7 +56688,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -54309,16 +56763,6 @@ components: minimum: 1 title: Priority type: integer - upstream_prefix: - description: "A unique prefix used to distinguish this upstream source within\ - \ the repository. Generic upstreams can represent entirely different file\ - \ servers, and we do not attempt to blend them. The prefix ensures each\ - \ source remains separate, and requests including this prefix are routed\ - \ to the correct upstream." - maxLength: 64 - minLength: 1 - title: Upstream prefix - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -54335,7 +56779,7 @@ components: title: Verify SSL Certificates type: boolean type: object - GoUpstream: + HelmUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -54480,6 +56924,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54534,7 +56979,7 @@ components: - name - upstream_url type: object - GoUpstreamRequest: + HelmUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54612,6 +57057,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54649,7 +57095,7 @@ components: - name - upstream_url type: object - GoUpstreamRequestPatch: + HelmUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54727,6 +57173,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54761,7 +57208,7 @@ components: title: Verify SSL Certificates type: boolean type: object - HelmUpstream: + HexUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -54961,7 +57408,7 @@ components: - name - upstream_url type: object - HelmUpstreamRequest: + HexUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55077,7 +57524,7 @@ components: - name - upstream_url type: object - HelmUpstreamRequestPatch: + HexUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55190,7 +57637,7 @@ components: title: Verify SSL Certificates type: boolean type: object - HexUpstream: + HuggingfaceUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -55223,7 +57670,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -55390,7 +57837,7 @@ components: - name - upstream_url type: object - HexUpstreamRequest: + HuggingfaceUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55411,7 +57858,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -55506,7 +57953,7 @@ components: - name - upstream_url type: object - HexUpstreamRequestPatch: + HuggingfaceUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -55527,7 +57974,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -55619,21 +58066,27 @@ components: title: Verify SSL Certificates type: boolean type: object - HuggingfaceUpstream: + MavenUpstream: example: + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 + trust_level: Trusted auth_mode: None + gpg_verification: Allow All + verification_status: Unknown extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true + gpg_key_inline: gpg_key_inline pending_validation: true + gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -55652,7 +58105,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Token + - Username and Password title: Auth mode type: string auth_secret: @@ -55729,6 +58182,37 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_fingerprint_short: + readOnly: true + title: Gpg key fingerprint short + type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true @@ -55764,6 +58248,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55794,6 +58279,17 @@ components: readOnly: true title: Slug perm type: string + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string updated_at: format: date-time readOnly: true @@ -55807,6 +58303,17 @@ components: minLength: 1 title: Upstream URL type: string + verification_status: + default: Unknown + description: The signature verification status for this upstream. + enum: + - Unknown + - Invalid + - Valid + - Invalid (No Key) + readOnly: true + title: Verification status + type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -55818,13 +58325,16 @@ components: - name - upstream_url type: object - HuggingfaceUpstreamRequest: + MavenUpstreamRequest: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -55833,13 +58343,14 @@ components: verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Token + - Username and Password title: Auth mode type: string auth_secret: @@ -55884,6 +58395,33 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -55896,6 +58434,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55914,6 +58453,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -55933,13 +58483,16 @@ components: - name - upstream_url type: object - HuggingfaceUpstreamRequestPatch: + MavenUpstreamRequestPatch: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -55948,13 +58501,14 @@ components: verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Token + - Username and Password title: Auth mode type: string auth_secret: @@ -55999,6 +58553,33 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -56011,6 +58592,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -56029,6 +58611,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -56045,27 +58638,21 @@ components: title: Verify SSL Certificates type: boolean type: object - MavenUpstream: + NixUpstream: example: - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 - trust_level: Trusted auth_mode: None - gpg_verification: Allow All - verification_status: Unknown extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true - gpg_key_inline: gpg_key_inline pending_validation: true - gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -56161,37 +58748,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_fingerprint_short: - readOnly: true - title: Gpg key fingerprint short - type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true @@ -56227,7 +58783,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -56258,17 +58813,6 @@ components: readOnly: true title: Slug perm type: string - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string updated_at: format: date-time readOnly: true @@ -56282,17 +58826,6 @@ components: minLength: 1 title: Upstream URL type: string - verification_status: - default: Unknown - description: The signature verification status for this upstream. - enum: - - Unknown - - Invalid - - Valid - - Invalid (No Key) - readOnly: true - title: Verification status - type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -56304,16 +58837,13 @@ components: - name - upstream_url type: object - MavenUpstreamRequest: + NixUpstreamRequest: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -56322,7 +58852,6 @@ components: verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -56374,33 +58903,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -56413,7 +58915,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -56432,17 +58933,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -56462,16 +58952,13 @@ components: - name - upstream_url type: object - MavenUpstreamRequestPatch: + NixUpstreamRequestPatch: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 @@ -56480,7 +58967,6 @@ components: verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -56532,33 +59018,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -56571,7 +59030,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -56590,17 +59048,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -56617,13 +59064,14 @@ components: title: Verify SSL Certificates type: boolean type: object - NixUpstream: + NpmUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 + trust_level: Trusted auth_mode: None extra_header_2: extra_header_2 extra_header_1: extra_header_1 @@ -56651,6 +59099,7 @@ components: enum: - None - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -56762,6 +59211,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -56792,6 +59242,17 @@ components: readOnly: true title: Slug perm type: string + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string updated_at: format: date-time readOnly: true @@ -56816,11 +59277,12 @@ components: - name - upstream_url type: object - NixUpstreamRequest: + NpmUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -56838,6 +59300,7 @@ components: enum: - None - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -56894,6 +59357,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -56912,6 +59376,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -56931,11 +59406,12 @@ components: - name - upstream_url type: object - NixUpstreamRequestPatch: + NpmUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -56953,6 +59429,7 @@ components: enum: - None - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -57009,6 +59486,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -57027,6 +59505,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -57043,14 +59532,13 @@ components: title: Verify SSL Certificates type: boolean type: object - NpmUpstream: + NugetUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 - trust_level: Trusted auth_mode: None extra_header_2: extra_header_2 extra_header_1: extra_header_1 @@ -57078,7 +59566,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -57221,17 +59708,6 @@ components: readOnly: true title: Slug perm type: string - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string updated_at: format: date-time readOnly: true @@ -57256,12 +59732,11 @@ components: - name - upstream_url type: object - NpmUpstreamRequest: + NugetUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57279,7 +59754,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -57355,17 +59829,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -57385,12 +59848,11 @@ components: - name - upstream_url type: object - NpmUpstreamRequestPatch: + NugetUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57408,7 +59870,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -57484,17 +59945,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -57511,13 +59961,14 @@ components: title: Verify SSL Certificates type: boolean type: object - NugetUpstream: + PythonUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 + trust_level: Trusted auth_mode: None extra_header_2: extra_header_2 extra_header_1: extra_header_1 @@ -57687,6 +60138,17 @@ components: readOnly: true title: Slug perm type: string + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string updated_at: format: date-time readOnly: true @@ -57711,11 +60173,12 @@ components: - name - upstream_url type: object - NugetUpstreamRequest: + PythonUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57808,6 +60271,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -57827,11 +60301,12 @@ components: - name - upstream_url type: object - NugetUpstreamRequestPatch: + PythonUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech auth_secret: auth_secret + trust_level: Trusted auth_mode: None extra_value_1: extra_value_1 priority: 2624 @@ -57924,6 +60399,17 @@ components: minimum: 1 title: Priority type: integer + trust_level: + default: Trusted + description: "Trust level allows for control of the visibility of upstream\ + \ artifacts to native package managers. Where supported by formats, the\ + \ default level (untrusted) is recommended for all upstreams, and helps\ + \ to safeguard against common dependency confusion attack vectors." + enum: + - Trusted + - Untrusted + title: Trust level + type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -57940,22 +60426,28 @@ components: title: Verify SSL Certificates type: boolean type: object - PythonUpstream: + RpmUpstream: example: + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 - trust_level: Trusted auth_mode: None + include_sources: true + gpg_verification: Allow All + verification_status: Unknown extra_header_2: extra_header_2 + distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true + gpg_key_inline: gpg_key_inline pending_validation: true + gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -58021,6 +60513,11 @@ components: readOnly: true title: Disable reason text type: string + distro_version: + description: The distribution version that packages found on this upstream + will be associated with. + title: Distro version + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58051,11 +60548,47 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_fingerprint_short: + readOnly: true + title: Gpg key fingerprint short + type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true title: Has failed signature verification type: boolean + include_sources: + description: "When checked, source packages will be available from this\ + \ upstream." + title: Source Packages + type: boolean index_package_count: description: The number of packages available in this upstream source nullable: true @@ -58117,17 +60650,6 @@ components: readOnly: true title: Slug perm type: string - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string updated_at: format: date-time readOnly: true @@ -58141,6 +60663,17 @@ components: minLength: 1 title: Upstream URL type: string + verification_status: + default: Unknown + description: The signature verification status for this upstream. + enum: + - Unknown + - Invalid + - Valid + - Invalid (No Key) + readOnly: true + title: Verification status + type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -58149,25 +60682,30 @@ components: title: Verify SSL Certificates type: boolean required: + - distro_version - name - upstream_url type: object - PythonUpstreamRequest: + RpmUpstreamRequest: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None + include_sources: true extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 + distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58189,6 +60727,11 @@ components: nullable: true title: Username type: string + distro_version: + description: The distribution version that packages found on this upstream + will be associated with. + title: Distro version + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58219,6 +60762,38 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string + include_sources: + description: "When checked, source packages will be available from this\ + \ upstream." + title: Source Packages + type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58250,17 +60825,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -58277,25 +60841,30 @@ components: title: Verify SSL Certificates type: boolean required: + - distro_version - name - upstream_url type: object - PythonUpstreamRequestPatch: + RpmUpstreamRequestPatch: example: is_active: true + gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret - trust_level: Trusted auth_mode: None + include_sources: true extra_value_1: extra_value_1 + gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 + distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58317,6 +60886,11 @@ components: nullable: true title: Username type: string + distro_version: + description: The distribution version that packages found on this upstream + will be associated with. + title: Distro version + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58347,6 +60921,38 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string + gpg_key_inline: + description: "A public GPG key to associate with packages found on this\ + \ upstream. When using the Cloudsmith setup script, this GPG key will\ + \ be automatically imported on your deployment machines to allow upstream\ + \ packages to validate and install." + nullable: true + title: GPG Key + type: string + gpg_key_url: + description: "When provided, Cloudsmith will fetch, validate, and associate\ + \ a public GPG key found at the provided URL. When using the Cloudsmith\ + \ setup script, this GPG key will be automatically imported on your deployment\ + \ machines to allow upstream packages to validate and install." + format: uri + maxLength: 254 + nullable: true + title: GPG Key URL + type: string + gpg_verification: + default: Allow All + description: The GPG signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Gpg verification + type: string + include_sources: + description: "When checked, source packages will be available from this\ + \ upstream." + title: Source Packages + type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58378,17 +60984,6 @@ components: minimum: 1 title: Priority type: integer - trust_level: - default: Trusted - description: "Trust level allows for control of the visibility of upstream\ - \ artifacts to native package managers. Where supported by formats, the\ - \ default level (untrusted) is recommended for all upstreams, and helps\ - \ to safeguard against common dependency confusion attack vectors." - enum: - - Trusted - - Untrusted - title: Trust level - type: string upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -58405,28 +61000,21 @@ components: title: Verify SSL Certificates type: boolean type: object - RpmUpstream: + RubyUpstream: example: - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret can_reindex: true available: true created_at: 2000-01-23T04:56:07.000+00:00 auth_mode: None - include_sources: true - gpg_verification: Allow All - verification_status: Unknown extra_header_2: extra_header_2 - distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only updated_at: 2000-01-23T04:56:07.000+00:00 auth_username: auth_username has_failed_signature_verification: true - gpg_key_inline: gpg_key_inline pending_validation: true - gpg_key_fingerprint_short: gpg_key_fingerprint_short index_status: index_status is_active: true disable_reason: N/A @@ -58492,11 +61080,6 @@ components: readOnly: true title: Disable reason text type: string - distro_version: - description: The distribution version that packages found on this upstream - will be associated with. - title: Distro version - type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58527,47 +61110,11 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_fingerprint_short: - readOnly: true - title: Gpg key fingerprint short - type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string has_failed_signature_verification: description: Whether the upstream has failed signature verification. readOnly: true title: Has failed signature verification type: boolean - include_sources: - description: "When checked, source packages will be available from this\ - \ upstream." - title: Source Packages - type: boolean index_package_count: description: The number of packages available in this upstream source nullable: true @@ -58598,6 +61145,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -58641,17 +61189,6 @@ components: minLength: 1 title: Upstream URL type: string - verification_status: - default: Unknown - description: The signature verification status for this upstream. - enum: - - Unknown - - Invalid - - Valid - - Invalid (No Key) - readOnly: true - title: Verification status - type: string verify_ssl: description: "If enabled, SSL certificates are verified when requests are\ \ made to this upstream. It's recommended to leave this enabled for all\ @@ -58660,30 +61197,24 @@ components: title: Verify SSL Certificates type: boolean required: - - distro_version - name - upstream_url type: object - RpmUpstreamRequest: + RubyUpstreamRequest: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret auth_mode: None - include_sources: true extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 - distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58705,11 +61236,6 @@ components: nullable: true title: Username type: string - distro_version: - description: The distribution version that packages found on this upstream - will be associated with. - title: Distro version - type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58740,38 +61266,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string - include_sources: - description: "When checked, source packages will be available from this\ - \ upstream." - title: Source Packages - type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58784,6 +61278,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -58818,30 +61313,24 @@ components: title: Verify SSL Certificates type: boolean required: - - distro_version - name - upstream_url type: object - RpmUpstreamRequestPatch: + RubyUpstreamRequestPatch: example: is_active: true - gpg_key_url: https://openapi-generator.tech upstream_url: https://openapi-generator.tech auth_secret: auth_secret auth_mode: None - include_sources: true extra_value_1: extra_value_1 - gpg_verification: Allow All priority: 2624 extra_value_2: extra_value_2 extra_header_2: extra_header_2 - distro_version: distro_version extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -58863,11 +61352,6 @@ components: nullable: true title: Username type: string - distro_version: - description: The distribution version that packages found on this upstream - will be associated with. - title: Distro version - type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -58898,38 +61382,6 @@ components: pattern: "^[^\\n\\r]+$" title: "Value #2" type: string - gpg_key_inline: - description: "A public GPG key to associate with packages found on this\ - \ upstream. When using the Cloudsmith setup script, this GPG key will\ - \ be automatically imported on your deployment machines to allow upstream\ - \ packages to validate and install." - nullable: true - title: GPG Key - type: string - gpg_key_url: - description: "When provided, Cloudsmith will fetch, validate, and associate\ - \ a public GPG key found at the provided URL. When using the Cloudsmith\ - \ setup script, this GPG key will be automatically imported on your deployment\ - \ machines to allow upstream packages to validate and install." - format: uri - maxLength: 254 - nullable: true - title: GPG Key URL - type: string - gpg_verification: - default: Allow All - description: The GPG signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Gpg verification - type: string - include_sources: - description: "When checked, source packages will be available from this\ - \ upstream." - title: Source Packages - type: boolean is_active: description: Whether or not this upstream is active and ready for requests. title: Is active @@ -58942,6 +61394,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -58976,7 +61429,38 @@ components: title: Verify SSL Certificates type: boolean type: object - RubyUpstream: + SkillsUpstreamSelection: + example: + name: name + publisher: publisher + version: version + properties: + name: + description: The skill's ClawHub slug. + maxLength: 128 + minLength: 1 + pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" + title: Name + type: string + publisher: + description: The ClawHub owner handle that publishes the skill. + maxLength: 128 + minLength: 1 + pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$" + title: Publisher + type: string + version: + description: The exact semantic version of the release. + maxLength: 255 + minLength: 1 + title: Version + type: string + required: + - name + - publisher + - version + type: object + SkillsUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -58999,8 +61483,25 @@ components: slug_perm: slug_perm extra_value_2: extra_value_2 index_package_count: 0 + selections: + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version disable_reason_text: disable_reason_text verify_ssl: true + contents: Skills last_indexed: last_indexed name: name properties: @@ -59009,7 +61510,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -59034,6 +61535,16 @@ components: readOnly: true title: Can reindex type: boolean + contents: + default: Skills + description: "The package types to serve from the upstream: skills, plugins,\ + \ or both." + enum: + - Skills + - Plugins + - Skills and plugins + title: Contents + type: string created_at: description: The datetime the upstream source was created. format: date-time @@ -59121,6 +61632,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -59144,6 +61656,12 @@ components: minimum: 1 title: Priority type: integer + selections: + description: Exact ClawHub releases to cache. + items: + $ref: '#/components/schemas/SkillsUpstreamSelection' + maxItems: 100 + type: array slug_perm: format: slug minLength: 1 @@ -59175,7 +61693,7 @@ components: - name - upstream_url type: object - RubyUpstreamRequest: + SkillsUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -59187,7 +61705,24 @@ components: extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only + selections: + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version verify_ssl: true + contents: Skills auth_username: auth_username name: name properties: @@ -59196,7 +61731,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -59211,6 +61746,16 @@ components: nullable: true title: Username type: string + contents: + default: Skills + description: "The package types to serve from the upstream: skills, plugins,\ + \ or both." + enum: + - Skills + - Plugins + - Skills and plugins + title: Contents + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -59253,6 +61798,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -59271,6 +61817,12 @@ components: minimum: 1 title: Priority type: integer + selections: + description: Exact ClawHub releases to cache. + items: + $ref: '#/components/schemas/SkillsUpstreamSelection' + maxItems: 100 + type: array upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -59290,7 +61842,7 @@ components: - name - upstream_url type: object - RubyUpstreamRequestPatch: + SkillsUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -59302,7 +61854,24 @@ components: extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only + selections: + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version + - name: name + publisher: publisher + version: version verify_ssl: true + contents: Skills auth_username: auth_username name: name properties: @@ -59311,7 +61880,7 @@ components: description: 'The authentication mode to use when accessing this upstream. ' enum: - None - - Username and Password + - Token title: Auth mode type: string auth_secret: @@ -59326,6 +61895,16 @@ components: nullable: true title: Username type: string + contents: + default: Skills + description: "The package types to serve from the upstream: skills, plugins,\ + \ or both." + enum: + - Skills + - Plugins + - Skills and plugins + title: Contents + type: string extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -59368,6 +61947,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -59386,6 +61966,12 @@ components: minimum: 1 title: Priority type: integer + selections: + description: Exact ClawHub releases to cache. + items: + $ref: '#/components/schemas/SkillsUpstreamSelection' + maxItems: 100 + type: array upstream_url: description: 'The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. ' @@ -60413,9 +62999,11 @@ components: raw_version: "" properties: major: + nullable: true title: Major type: integer minor: + nullable: true title: Minor type: integer operator: @@ -60424,6 +63012,7 @@ components: title: Operator type: string patch: + nullable: true title: Patch type: integer raw_version: diff --git a/api_audit_log.go b/api_audit_log.go index 85cac59c3..f2be444a3 100644 --- a/api_audit_log.go +++ b/api_audit_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_badges.go b/api_badges.go index ead23806e..c3171695a 100644 --- a/api_badges.go +++ b/api_badges.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_broadcasts.go b/api_broadcasts.go index f08243003..fe68d384d 100644 --- a/api_broadcasts.go +++ b/api_broadcasts.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_bulk_action.go b/api_bulk_action.go index 5c9e74334..844679314 100644 --- a/api_bulk_action.go +++ b/api_bulk_action.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_distros.go b/api_distros.go index ce03f8435..a36813e52 100644 --- a/api_distros.go +++ b/api_distros.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_entitlements.go b/api_entitlements.go index 9bee537ac..2eda0ee0c 100644 --- a/api_entitlements.go +++ b/api_entitlements.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_files.go b/api_files.go index 1713a82ad..ecf2650f7 100644 --- a/api_files.go +++ b/api_files.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_formats.go b/api_formats.go index 300299580..290f21b34 100644 --- a/api_formats.go +++ b/api_formats.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_metrics.go b/api_metrics.go index 792fc9b87..3696f8834 100644 --- a/api_metrics.go +++ b/api_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_namespaces.go b/api_namespaces.go index 11667effd..c165d5618 100644 --- a/api_namespaces.go +++ b/api_namespaces.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_openid.go b/api_openid.go index 2bc25c94c..012f15c9d 100644 --- a/api_openid.go +++ b/api_openid.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_orgs.go b/api_orgs.go index 2f5fd2983..7d8f5fdda 100644 --- a/api_orgs.go +++ b/api_orgs.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_packages.go b/api_packages.go index 88972baaa..2576cb369 100644 --- a/api_packages.go +++ b/api_packages.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -1539,6 +1539,8 @@ Schedule a package for scanning. @param repo @param identifier @return ApiPackagesScanRequest + +Deprecated */ func (a *PackagesApiService) PackagesScan(ctx context.Context, owner string, repo string, identifier string) ApiPackagesScanRequest { return ApiPackagesScanRequest{ @@ -1552,6 +1554,7 @@ func (a *PackagesApiService) PackagesScan(ctx context.Context, owner string, rep // Execute executes the request // @return Package +// Deprecated func (a *PackagesApiService) PackagesScanExecute(r ApiPackagesScanRequest) (*Package, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost @@ -2244,6 +2247,17 @@ func (a *PackagesApiService) PackagesUploadAlpineExecute(r ApiPackagesUploadAlpi body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2405,6 +2419,17 @@ func (a *PackagesApiService) PackagesUploadCargoExecute(r ApiPackagesUploadCargo body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2566,6 +2591,17 @@ func (a *PackagesApiService) PackagesUploadCocoapodsExecute(r ApiPackagesUploadC body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2727,6 +2763,17 @@ func (a *PackagesApiService) PackagesUploadComposerExecute(r ApiPackagesUploadCo body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2888,6 +2935,17 @@ func (a *PackagesApiService) PackagesUploadConanExecute(r ApiPackagesUploadConan body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3049,6 +3107,17 @@ func (a *PackagesApiService) PackagesUploadCondaExecute(r ApiPackagesUploadConda body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3210,6 +3279,17 @@ func (a *PackagesApiService) PackagesUploadCranExecute(r ApiPackagesUploadCranRe body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3371,6 +3451,17 @@ func (a *PackagesApiService) PackagesUploadDartExecute(r ApiPackagesUploadDartRe body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3532,6 +3623,17 @@ func (a *PackagesApiService) PackagesUploadDebExecute(r ApiPackagesUploadDebRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3693,6 +3795,17 @@ func (a *PackagesApiService) PackagesUploadDockerExecute(r ApiPackagesUploadDock body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3854,6 +3967,17 @@ func (a *PackagesApiService) PackagesUploadGenericExecute(r ApiPackagesUploadGen body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4015,6 +4139,17 @@ func (a *PackagesApiService) PackagesUploadGoExecute(r ApiPackagesUploadGoReques body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4176,6 +4311,17 @@ func (a *PackagesApiService) PackagesUploadHelmExecute(r ApiPackagesUploadHelmRe body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4337,6 +4483,17 @@ func (a *PackagesApiService) PackagesUploadHexExecute(r ApiPackagesUploadHexRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4498,6 +4655,17 @@ func (a *PackagesApiService) PackagesUploadHuggingfaceExecute(r ApiPackagesUploa body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4659,6 +4827,17 @@ func (a *PackagesApiService) PackagesUploadLuarocksExecute(r ApiPackagesUploadLu body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4820,6 +4999,17 @@ func (a *PackagesApiService) PackagesUploadMavenExecute(r ApiPackagesUploadMaven body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -4981,6 +5171,17 @@ func (a *PackagesApiService) PackagesUploadMcpExecute(r ApiPackagesUploadMcpRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5142,6 +5343,17 @@ func (a *PackagesApiService) PackagesUploadNixExecute(r ApiPackagesUploadNixRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5303,6 +5515,17 @@ func (a *PackagesApiService) PackagesUploadNpmExecute(r ApiPackagesUploadNpmRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5464,6 +5687,17 @@ func (a *PackagesApiService) PackagesUploadNugetExecute(r ApiPackagesUploadNuget body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5625,6 +5859,17 @@ func (a *PackagesApiService) PackagesUploadP2Execute(r ApiPackagesUploadP2Reques body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5786,6 +6031,17 @@ func (a *PackagesApiService) PackagesUploadPythonExecute(r ApiPackagesUploadPyth body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5879,12 +6135,184 @@ func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequ localVarReturnValue *RawPackageUpload ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRaw") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRaw") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/raw/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiPackagesUploadRpmRequest struct { + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + data *RpmPackageUploadRequest +} + +func (r ApiPackagesUploadRpmRequest) Data(data RpmPackageUploadRequest) ApiPackagesUploadRpmRequest { + r.data = &data + return r +} + +func (r ApiPackagesUploadRpmRequest) Execute() (*RpmPackageUpload, *http.Response, error) { + return r.ApiService.PackagesUploadRpmExecute(r) +} + +/* +PackagesUploadRpm Create a new RedHat package + +Create a new RedHat package + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param repo + @return ApiPackagesUploadRpmRequest +*/ +func (a *PackagesApiService) PackagesUploadRpm(ctx context.Context, owner string, repo string) ApiPackagesUploadRpmRequest { + return ApiPackagesUploadRpmRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + repo: repo, + } +} + +// Execute executes the request +// @return RpmPackageUpload +func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequest) (*RpmPackageUpload, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RpmPackageUpload + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRpm") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/raw/" + localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/rpm/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) @@ -5947,6 +6375,17 @@ func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -5994,35 +6433,35 @@ func (a *PackagesApiService) PackagesUploadRawExecute(r ApiPackagesUploadRawRequ return localVarReturnValue, localVarHTTPResponse, nil } -type ApiPackagesUploadRpmRequest struct { +type ApiPackagesUploadRubyRequest struct { ctx context.Context ApiService *PackagesApiService owner string repo string - data *RpmPackageUploadRequest + data *RubyPackageUploadRequest } -func (r ApiPackagesUploadRpmRequest) Data(data RpmPackageUploadRequest) ApiPackagesUploadRpmRequest { +func (r ApiPackagesUploadRubyRequest) Data(data RubyPackageUploadRequest) ApiPackagesUploadRubyRequest { r.data = &data return r } -func (r ApiPackagesUploadRpmRequest) Execute() (*RpmPackageUpload, *http.Response, error) { - return r.ApiService.PackagesUploadRpmExecute(r) +func (r ApiPackagesUploadRubyRequest) Execute() (*RubyPackageUpload, *http.Response, error) { + return r.ApiService.PackagesUploadRubyExecute(r) } /* -PackagesUploadRpm Create a new RedHat package +PackagesUploadRuby Create a new Ruby package -Create a new RedHat package +Create a new Ruby package @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo - @return ApiPackagesUploadRpmRequest + @return ApiPackagesUploadRubyRequest */ -func (a *PackagesApiService) PackagesUploadRpm(ctx context.Context, owner string, repo string) ApiPackagesUploadRpmRequest { - return ApiPackagesUploadRpmRequest{ +func (a *PackagesApiService) PackagesUploadRuby(ctx context.Context, owner string, repo string) ApiPackagesUploadRubyRequest { + return ApiPackagesUploadRubyRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -6031,21 +6470,21 @@ func (a *PackagesApiService) PackagesUploadRpm(ctx context.Context, owner string } // Execute executes the request -// @return RpmPackageUpload -func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequest) (*RpmPackageUpload, *http.Response, error) { +// @return RubyPackageUpload +func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRequest) (*RubyPackageUpload, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RpmPackageUpload + localVarReturnValue *RubyPackageUpload ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRpm") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRuby") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/rpm/" + localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/ruby/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) @@ -6108,6 +6547,17 @@ func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -6155,35 +6605,35 @@ func (a *PackagesApiService) PackagesUploadRpmExecute(r ApiPackagesUploadRpmRequ return localVarReturnValue, localVarHTTPResponse, nil } -type ApiPackagesUploadRubyRequest struct { +type ApiPackagesUploadSkillsRequest struct { ctx context.Context ApiService *PackagesApiService owner string repo string - data *RubyPackageUploadRequest + data *SkillsPackageUploadRequest } -func (r ApiPackagesUploadRubyRequest) Data(data RubyPackageUploadRequest) ApiPackagesUploadRubyRequest { +func (r ApiPackagesUploadSkillsRequest) Data(data SkillsPackageUploadRequest) ApiPackagesUploadSkillsRequest { r.data = &data return r } -func (r ApiPackagesUploadRubyRequest) Execute() (*RubyPackageUpload, *http.Response, error) { - return r.ApiService.PackagesUploadRubyExecute(r) +func (r ApiPackagesUploadSkillsRequest) Execute() (*SkillsPackageUpload, *http.Response, error) { + return r.ApiService.PackagesUploadSkillsExecute(r) } /* -PackagesUploadRuby Create a new Ruby package +PackagesUploadSkills Create a new AI Skills package -Create a new Ruby package +Create a new AI Skills package @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param repo - @return ApiPackagesUploadRubyRequest + @return ApiPackagesUploadSkillsRequest */ -func (a *PackagesApiService) PackagesUploadRuby(ctx context.Context, owner string, repo string) ApiPackagesUploadRubyRequest { - return ApiPackagesUploadRubyRequest{ +func (a *PackagesApiService) PackagesUploadSkills(ctx context.Context, owner string, repo string) ApiPackagesUploadSkillsRequest { + return ApiPackagesUploadSkillsRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -6192,21 +6642,21 @@ func (a *PackagesApiService) PackagesUploadRuby(ctx context.Context, owner strin } // Execute executes the request -// @return RubyPackageUpload -func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRequest) (*RubyPackageUpload, *http.Response, error) { +// @return SkillsPackageUpload +func (a *PackagesApiService) PackagesUploadSkillsExecute(r ApiPackagesUploadSkillsRequest) (*SkillsPackageUpload, *http.Response, error) { var ( localVarHTTPMethod = http.MethodPost localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RubyPackageUpload + localVarReturnValue *SkillsPackageUpload ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadRuby") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadSkills") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/ruby/" + localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/skills/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) @@ -6269,6 +6719,17 @@ func (a *PackagesApiService) PackagesUploadRubyExecute(r ApiPackagesUploadRubyRe body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -6430,6 +6891,17 @@ func (a *PackagesApiService) PackagesUploadSwiftExecute(r ApiPackagesUploadSwift body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -6591,6 +7063,17 @@ func (a *PackagesApiService) PackagesUploadTerraformExecute(r ApiPackagesUploadT body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -6752,6 +7235,17 @@ func (a *PackagesApiService) PackagesUploadVagrantExecute(r ApiPackagesUploadVag body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -6913,6 +7407,17 @@ func (a *PackagesApiService) PackagesUploadVsxExecute(r ApiPackagesUploadVsxRequ body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v ErrorDetail err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -10860,6 +11365,156 @@ func (a *PackagesApiService) PackagesValidateUploadRubyExecute(r ApiPackagesVali return localVarHTTPResponse, nil } +type ApiPackagesValidateUploadSkillsRequest struct { + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + data *SkillsPackageUploadRequest +} + +func (r ApiPackagesValidateUploadSkillsRequest) Data(data SkillsPackageUploadRequest) ApiPackagesValidateUploadSkillsRequest { + r.data = &data + return r +} + +func (r ApiPackagesValidateUploadSkillsRequest) Execute() (*http.Response, error) { + return r.ApiService.PackagesValidateUploadSkillsExecute(r) +} + +/* +PackagesValidateUploadSkills Validate parameters for create AI Skills package + +Validate parameters for create AI Skills package + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param repo + @return ApiPackagesValidateUploadSkillsRequest +*/ +func (a *PackagesApiService) PackagesValidateUploadSkills(ctx context.Context, owner string, repo string) ApiPackagesValidateUploadSkillsRequest { + return ApiPackagesValidateUploadSkillsRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + repo: repo, + } +} + +// Execute executes the request +func (a *PackagesApiService) PackagesValidateUploadSkillsExecute(r ApiPackagesValidateUploadSkillsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesValidateUploadSkills") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/packages/{owner}/{repo}/validate-upload/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + type ApiPackagesValidateUploadSwiftRequest struct { ctx context.Context ApiService *PackagesApiService diff --git a/api_quota.go b/api_quota.go index 6c00d6728..9989551cd 100644 --- a/api_quota.go +++ b/api_quota.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_rates.go b/api_rates.go index a73bb57be..d7da03504 100644 --- a/api_rates.go +++ b/api_rates.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_recycle_bin.go b/api_recycle_bin.go index 4c2671629..bc88e31b1 100644 --- a/api_recycle_bin.go +++ b/api_recycle_bin.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_repos.go b/api_repos.go index d1bd06251..08f4e9614 100644 --- a/api_repos.go +++ b/api_repos.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23689,6 +23689,907 @@ func (a *ReposApiService) ReposUpstreamRubyUpdateExecute(r ApiReposUpstreamRubyU return localVarReturnValue, localVarHTTPResponse, nil } +type ApiReposUpstreamSkillsCreateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + data *SkillsUpstreamRequest +} + +func (r ApiReposUpstreamSkillsCreateRequest) Data(data SkillsUpstreamRequest) ApiReposUpstreamSkillsCreateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamSkillsCreateRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsCreateExecute(r) +} + +/* +ReposUpstreamSkillsCreate Create an AI Skills upstream config for this repository. + +Create an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @return ApiReposUpstreamSkillsCreateRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsCreate(ctx context.Context, owner string, identifier string) ApiReposUpstreamSkillsCreateRequest { + return ApiReposUpstreamSkillsCreateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsCreateExecute(r ApiReposUpstreamSkillsCreateRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsDeleteRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string +} + +func (r ApiReposUpstreamSkillsDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.ReposUpstreamSkillsDeleteExecute(r) +} + +/* +ReposUpstreamSkillsDelete Delete an AI Skills upstream config for this repository. + +Delete an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsDeleteRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsDelete(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsDeleteRequest { + return ApiReposUpstreamSkillsDeleteRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +func (a *ReposApiService) ReposUpstreamSkillsDeleteExecute(r ApiReposUpstreamSkillsDeleteRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsDelete") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsListRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + page *int64 + pageSize *int64 +} + +// A page number within the paginated result set. +func (r ApiReposUpstreamSkillsListRequest) Page(page int64) ApiReposUpstreamSkillsListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiReposUpstreamSkillsListRequest) PageSize(pageSize int64) ApiReposUpstreamSkillsListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiReposUpstreamSkillsListRequest) Execute() ([]SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsListExecute(r) +} + +/* +ReposUpstreamSkillsList List AI Skills upstream configs for this repository. + +List AI Skills upstream configs for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @return ApiReposUpstreamSkillsListRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsList(ctx context.Context, owner string, identifier string) ApiReposUpstreamSkillsListRequest { + return ApiReposUpstreamSkillsListRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return []SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsListExecute(r ApiReposUpstreamSkillsListRequest) ([]SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.page != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page", r.page, "", "") + } + if r.pageSize != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "page_size", r.pageSize, "", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsPartialUpdateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string + data *SkillsUpstreamRequestPatch +} + +func (r ApiReposUpstreamSkillsPartialUpdateRequest) Data(data SkillsUpstreamRequestPatch) ApiReposUpstreamSkillsPartialUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamSkillsPartialUpdateRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsPartialUpdateExecute(r) +} + +/* +ReposUpstreamSkillsPartialUpdate Partially update an AI Skills upstream config for this repository. + +Partially update an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsPartialUpdateRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsPartialUpdate(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsPartialUpdateRequest { + return ApiReposUpstreamSkillsPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsPartialUpdateExecute(r ApiReposUpstreamSkillsPartialUpdateRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsReadRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string +} + +func (r ApiReposUpstreamSkillsReadRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsReadExecute(r) +} + +/* +ReposUpstreamSkillsRead Retrieve an AI Skills upstream config for this repository. + +Retrieve an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsReadRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsRead(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsReadRequest { + return ApiReposUpstreamSkillsReadRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsReadExecute(r ApiReposUpstreamSkillsReadRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsRead") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type ApiReposUpstreamSkillsUpdateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string + data *SkillsUpstreamRequest +} + +func (r ApiReposUpstreamSkillsUpdateRequest) Data(data SkillsUpstreamRequest) ApiReposUpstreamSkillsUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamSkillsUpdateRequest) Execute() (*SkillsUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamSkillsUpdateExecute(r) +} + +/* +ReposUpstreamSkillsUpdate Update an AI Skills upstream config for this repository. + +Update an AI Skills upstream config for this repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @param slugPerm + @return ApiReposUpstreamSkillsUpdateRequest +*/ +func (a *ReposApiService) ReposUpstreamSkillsUpdate(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamSkillsUpdateRequest { + return ApiReposUpstreamSkillsUpdateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return SkillsUpstream +func (a *ReposApiService) ReposUpstreamSkillsUpdateExecute(r ApiReposUpstreamSkillsUpdateRequest) (*SkillsUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *SkillsUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamSkillsUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/skills/{slug_perm}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"slug_perm"+"}", url.PathEscape(parameterValueToString(r.slugPerm, "slugPerm")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiReposUpstreamSwiftCreateRequest struct { ctx context.Context ApiService *ReposApiService diff --git a/api_status.go b/api_status.go index 3af39fdf4..31a8dd2c4 100644 --- a/api_status.go +++ b/api_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_storage_regions.go b/api_storage_regions.go index ba79cca70..d8496940c 100644 --- a/api_storage_regions.go +++ b/api_storage_regions.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_user.go b/api_user.go index 5d46b8775..b99863038 100644 --- a/api_user.go +++ b/api_user.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_users.go b/api_users.go index d50cb0d0d..52d60222d 100644 --- a/api_users.go +++ b/api_users.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 340774755..cb276971e 100644 --- a/api_vulnerabilities.go +++ b/api_vulnerabilities.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -55,6 +55,8 @@ Lists scan results for a specific namespace. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @return ApiVulnerabilitiesNamespaceListRequest + +Deprecated */ func (a *VulnerabilitiesApiService) VulnerabilitiesNamespaceList(ctx context.Context, owner string) ApiVulnerabilitiesNamespaceListRequest { return ApiVulnerabilitiesNamespaceListRequest{ @@ -66,6 +68,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesNamespaceList(ctx context.Con // Execute executes the request // @return []VulnerabilityScanResultsList +// Deprecated func (a *VulnerabilitiesApiService) VulnerabilitiesNamespaceListExecute(r ApiVulnerabilitiesNamespaceListRequest) ([]VulnerabilityScanResultsList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet @@ -217,6 +220,8 @@ Lists scan results for a specific package. @param repo @param package_ @return ApiVulnerabilitiesPackageListRequest + +Deprecated */ func (a *VulnerabilitiesApiService) VulnerabilitiesPackageList(ctx context.Context, owner string, repo string, package_ string) ApiVulnerabilitiesPackageListRequest { return ApiVulnerabilitiesPackageListRequest{ @@ -230,6 +235,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesPackageList(ctx context.Conte // Execute executes the request // @return []VulnerabilityScanResultsList +// Deprecated func (a *VulnerabilitiesApiService) VulnerabilitiesPackageListExecute(r ApiVulnerabilitiesPackageListRequest) ([]VulnerabilityScanResultsList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet @@ -371,6 +377,8 @@ Get a scan result. @param package_ @param identifier @return ApiVulnerabilitiesReadRequest + +Deprecated */ func (a *VulnerabilitiesApiService) VulnerabilitiesRead(ctx context.Context, owner string, repo string, package_ string, identifier string) ApiVulnerabilitiesReadRequest { return ApiVulnerabilitiesReadRequest{ @@ -385,6 +393,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesRead(ctx context.Context, own // Execute executes the request // @return VulnerabilityScanResults +// Deprecated func (a *VulnerabilitiesApiService) VulnerabilitiesReadExecute(r ApiVulnerabilitiesReadRequest) (*VulnerabilityScanResults, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet @@ -531,6 +540,8 @@ Lists scan results for a specific repository. @param owner @param repo @return ApiVulnerabilitiesRepoListRequest + +Deprecated */ func (a *VulnerabilitiesApiService) VulnerabilitiesRepoList(ctx context.Context, owner string, repo string) ApiVulnerabilitiesRepoListRequest { return ApiVulnerabilitiesRepoListRequest{ @@ -543,6 +554,7 @@ func (a *VulnerabilitiesApiService) VulnerabilitiesRepoList(ctx context.Context, // Execute executes the request // @return []VulnerabilityScanResultsList +// Deprecated func (a *VulnerabilitiesApiService) VulnerabilitiesRepoListExecute(r ApiVulnerabilitiesRepoListRequest) ([]VulnerabilityScanResultsList, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet diff --git a/api_webhooks.go b/api_webhooks.go index 56033e137..616351edd 100644 --- a/api_webhooks.go +++ b/api_webhooks.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/bin/generate b/bin/generate index 3b7f055cb..db0cc1c39 100755 --- a/bin/generate +++ b/bin/generate @@ -2,7 +2,7 @@ set -eou pipefail -PKG_VERSION=${1:-"0.0.64"} +PKG_VERSION=${1:-"0.0.65"} API_HOST=${2:-"https://api.cloudsmith.io"} # GNU sed is required for the in-place edits below. It is `gsed` on macOS diff --git a/client.go b/client.go index 55f899a43..bc134177f 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Cloudsmith API (v1) API v1.1388.0 +// APIClient manages communication with the Cloudsmith API (v1) API v1.1509.1 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index 49f6aabed..f7da5f21c 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -93,7 +93,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.0.64/go", + UserAgent: "OpenAPI-Generator/0.0.65/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/AlpinePackageUpload.md b/docs/AlpinePackageUpload.md index a9b159165..a6c4f70c1 100644 --- a/docs/AlpinePackageUpload.md +++ b/docs/AlpinePackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *AlpinePackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *AlpinePackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *AlpinePackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *AlpinePackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *AlpinePackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *AlpinePackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *AlpinePackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *AlpinePackageUpload) GetRepository() string` diff --git a/docs/AlpinePackageUploadRequest.md b/docs/AlpinePackageUploadRequest.md index 3d434f49a..a09a96817 100644 --- a/docs/AlpinePackageUploadRequest.md +++ b/docs/AlpinePackageUploadRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Distribution** | **string** | The distribution to store the package for. | **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -68,6 +69,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *AlpinePackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *AlpinePackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *AlpinePackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *AlpinePackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *AlpinePackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *AlpinePackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *AlpinePackageUploadRequest) GetRepublish() bool` diff --git a/docs/CargoPackageUpload.md b/docs/CargoPackageUpload.md index fa2d5acb2..b403c8f60 100644 --- a/docs/CargoPackageUpload.md +++ b/docs/CargoPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *CargoPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *CargoPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CargoPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CargoPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CargoPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CargoPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CargoPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *CargoPackageUpload) GetRepository() string` diff --git a/docs/CargoPackageUploadRequest.md b/docs/CargoPackageUploadRequest.md index acb1c6b5f..5de66df17 100644 --- a/docs/CargoPackageUploadRequest.md +++ b/docs/CargoPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *CargoPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CargoPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CargoPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CargoPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CargoPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CargoPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *CargoPackageUploadRequest) GetRepublish() bool` diff --git a/docs/CocoapodsPackageUpload.md b/docs/CocoapodsPackageUpload.md index f4e1e0216..332263dd8 100644 --- a/docs/CocoapodsPackageUpload.md +++ b/docs/CocoapodsPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *CocoapodsPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *CocoapodsPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CocoapodsPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CocoapodsPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CocoapodsPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CocoapodsPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CocoapodsPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *CocoapodsPackageUpload) GetRepository() string` diff --git a/docs/CocoapodsPackageUploadRequest.md b/docs/CocoapodsPackageUploadRequest.md index 113e8d1c2..3823a7b9d 100644 --- a/docs/CocoapodsPackageUploadRequest.md +++ b/docs/CocoapodsPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *CocoapodsPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CocoapodsPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CocoapodsPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CocoapodsPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CocoapodsPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CocoapodsPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *CocoapodsPackageUploadRequest) GetRepublish() bool` diff --git a/docs/ComposerPackageUpload.md b/docs/ComposerPackageUpload.md index c44003763..492f44f04 100644 --- a/docs/ComposerPackageUpload.md +++ b/docs/ComposerPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *ComposerPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *ComposerPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *ComposerPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *ComposerPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *ComposerPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *ComposerPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *ComposerPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *ComposerPackageUpload) GetRepository() string` diff --git a/docs/ComposerPackageUploadRequest.md b/docs/ComposerPackageUploadRequest.md index 11ad69869..102cfba37 100644 --- a/docs/ComposerPackageUploadRequest.md +++ b/docs/ComposerPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] @@ -48,6 +49,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *ComposerPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *ComposerPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *ComposerPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *ComposerPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *ComposerPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *ComposerPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *ComposerPackageUploadRequest) GetRepublish() bool` diff --git a/docs/ConanPackageUpload.md b/docs/ConanPackageUpload.md index ccd2b2c32..796b4b35b 100644 --- a/docs/ConanPackageUpload.md +++ b/docs/ConanPackageUpload.md @@ -40,7 +40,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -58,12 +58,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -94,7 +95,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1585,6 +1586,41 @@ HasRelease returns a boolean if a field has been set. `func (o *ConanPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *ConanPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *ConanPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *ConanPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *ConanPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *ConanPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *ConanPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *ConanPackageUpload) GetRepository() string` diff --git a/docs/ConanPackageUploadRequest.md b/docs/ConanPackageUploadRequest.md index 24d697df7..bb01f597c 100644 --- a/docs/ConanPackageUploadRequest.md +++ b/docs/ConanPackageUploadRequest.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **MetadataFile** | **string** | The conan file is an python file containing the package metadata. | **Name** | Pointer to **NullableString** | The name of this package. | [optional] **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] @@ -219,6 +220,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *ConanPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *ConanPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *ConanPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *ConanPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *ConanPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *ConanPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *ConanPackageUploadRequest) GetRepublish() bool` diff --git a/docs/CondaPackageUpload.md b/docs/CondaPackageUpload.md index 86eefb261..cb50b02c6 100644 --- a/docs/CondaPackageUpload.md +++ b/docs/CondaPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *CondaPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *CondaPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CondaPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CondaPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CondaPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CondaPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CondaPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *CondaPackageUpload) GetRepository() string` diff --git a/docs/CondaPackageUploadRequest.md b/docs/CondaPackageUploadRequest.md index ea420841a..066ecb77c 100644 --- a/docs/CondaPackageUploadRequest.md +++ b/docs/CondaPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *CondaPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CondaPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CondaPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CondaPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CondaPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CondaPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *CondaPackageUploadRequest) GetRepublish() bool` diff --git a/docs/CranPackageUpload.md b/docs/CranPackageUpload.md index 693259695..abaaa867d 100644 --- a/docs/CranPackageUpload.md +++ b/docs/CranPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -57,12 +57,13 @@ Name | Type | Description | Notes **RVersion** | Pointer to **NullableString** | Binary package uploads should specify the version of R they were built for. | [optional] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -93,7 +94,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1549,6 +1550,41 @@ HasRelease returns a boolean if a field has been set. `func (o *CranPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *CranPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CranPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CranPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CranPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CranPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CranPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *CranPackageUpload) GetRepository() string` diff --git a/docs/CranPackageUploadRequest.md b/docs/CranPackageUploadRequest.md index b38658b29..ec3958e91 100644 --- a/docs/CranPackageUploadRequest.md +++ b/docs/CranPackageUploadRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Architecture** | Pointer to **string** | Binary package uploads for macOS should specify the architecture they were built for. | [optional] **PackageFile** | **string** | The primary file for the package. | **RVersion** | Pointer to **NullableString** | Binary package uploads should specify the version of R they were built for. | [optional] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -109,6 +110,41 @@ HasRVersion returns a boolean if a field has been set. `func (o *CranPackageUploadRequest) UnsetRVersion()` UnsetRVersion ensures that no value is present for RVersion, not even an explicit nil +### GetReleaseNotes + +`func (o *CranPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *CranPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *CranPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *CranPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *CranPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *CranPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *CranPackageUploadRequest) GetRepublish() bool` diff --git a/docs/DartPackageUpload.md b/docs/DartPackageUpload.md index 3ff5e1a81..a30bcfd6a 100644 --- a/docs/DartPackageUpload.md +++ b/docs/DartPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *DartPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *DartPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *DartPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *DartPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *DartPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *DartPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *DartPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *DartPackageUpload) GetRepository() string` diff --git a/docs/DartPackageUploadRequest.md b/docs/DartPackageUploadRequest.md index 68a872273..9ee0592fd 100644 --- a/docs/DartPackageUploadRequest.md +++ b/docs/DartPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *DartPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *DartPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *DartPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *DartPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *DartPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *DartPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *DartPackageUploadRequest) GetRepublish() bool` diff --git a/docs/DebPackageUpload.md b/docs/DebPackageUpload.md index 9803cfd4c..741f418cb 100644 --- a/docs/DebPackageUpload.md +++ b/docs/DebPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *DebPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *DebPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *DebPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *DebPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *DebPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *DebPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *DebPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *DebPackageUpload) GetRepository() string` diff --git a/docs/DebPackageUploadRequest.md b/docs/DebPackageUploadRequest.md index 8d06fed5b..4080be179 100644 --- a/docs/DebPackageUploadRequest.md +++ b/docs/DebPackageUploadRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **Component** | Pointer to **string** | The component (channel) for the package (e.g. 'main', 'unstable', etc.) | [optional] [default to "main"] **Distribution** | **string** | The distribution to store the package for. | **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **SourcesFile** | Pointer to **NullableString** | The sources archive containing the source code for the binary | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -131,6 +132,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *DebPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *DebPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *DebPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *DebPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *DebPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *DebPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *DebPackageUploadRequest) GetRepublish() bool` diff --git a/docs/DockerPackageUpload.md b/docs/DockerPackageUpload.md index 5229fc8ea..91fb46f36 100644 --- a/docs/DockerPackageUpload.md +++ b/docs/DockerPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *DockerPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *DockerPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *DockerPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *DockerPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *DockerPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *DockerPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *DockerPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *DockerPackageUpload) GetRepository() string` diff --git a/docs/DockerPackageUploadRequest.md b/docs/DockerPackageUploadRequest.md index 3c01c199e..c29146d87 100644 --- a/docs/DockerPackageUploadRequest.md +++ b/docs/DockerPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *DockerPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *DockerPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *DockerPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *DockerPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *DockerPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *DockerPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *DockerPackageUploadRequest) GetRepublish() bool` diff --git a/docs/ErrorDetail.md b/docs/ErrorDetail.md index 17d368df3..865f620dc 100644 --- a/docs/ErrorDetail.md +++ b/docs/ErrorDetail.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**Code** | Pointer to **string** | A machine-readable code for the error. Only set for validation errors. | [optional] **Detail** | **string** | An extended message for the response. | **Fields** | Pointer to **map[string][]string** | A Dictionary of related errors where key: Field and value: Array of Errors related to that field | [optional] @@ -26,6 +27,31 @@ NewErrorDetailWithDefaults instantiates a new ErrorDetail object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set +### GetCode + +`func (o *ErrorDetail) GetCode() string` + +GetCode returns the Code field if non-nil, zero value otherwise. + +### GetCodeOk + +`func (o *ErrorDetail) GetCodeOk() (*string, bool)` + +GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCode + +`func (o *ErrorDetail) SetCode(v string)` + +SetCode sets Code field to given value. + +### HasCode + +`func (o *ErrorDetail) HasCode() bool` + +HasCode returns a boolean if a field has been set. + ### GetDetail `func (o *ErrorDetail) GetDetail() string` diff --git a/docs/GenericPackageUpload.md b/docs/GenericPackageUpload.md index 0ce525f4a..2c97c2d76 100644 --- a/docs/GenericPackageUpload.md +++ b/docs/GenericPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *GenericPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *GenericPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *GenericPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *GenericPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *GenericPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *GenericPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *GenericPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *GenericPackageUpload) GetRepository() string` diff --git a/docs/GenericPackageUploadRequest.md b/docs/GenericPackageUploadRequest.md index a94a94581..e6661506a 100644 --- a/docs/GenericPackageUploadRequest.md +++ b/docs/GenericPackageUploadRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Filepath** | **string** | The full filepath of the package including filename. | **Name** | Pointer to **NullableString** | The name of this package. | [optional] **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] @@ -105,6 +106,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *GenericPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *GenericPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *GenericPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *GenericPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *GenericPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *GenericPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *GenericPackageUploadRequest) GetRepublish() bool` diff --git a/docs/GoPackageUpload.md b/docs/GoPackageUpload.md index 7f74ecc21..32122996f 100644 --- a/docs/GoPackageUpload.md +++ b/docs/GoPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *GoPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *GoPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *GoPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *GoPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *GoPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *GoPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *GoPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *GoPackageUpload) GetRepository() string` diff --git a/docs/GoPackageUploadRequest.md b/docs/GoPackageUploadRequest.md index 16fb097eb..8184114da 100644 --- a/docs/GoPackageUploadRequest.md +++ b/docs/GoPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *GoPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *GoPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *GoPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *GoPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *GoPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *GoPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *GoPackageUploadRequest) GetRepublish() bool` diff --git a/docs/HelmPackageUpload.md b/docs/HelmPackageUpload.md index 41b83d863..9062384c7 100644 --- a/docs/HelmPackageUpload.md +++ b/docs/HelmPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *HelmPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *HelmPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *HelmPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *HelmPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *HelmPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *HelmPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *HelmPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *HelmPackageUpload) GetRepository() string` diff --git a/docs/HelmPackageUploadRequest.md b/docs/HelmPackageUploadRequest.md index f2dc6da0f..ab41f7f9c 100644 --- a/docs/HelmPackageUploadRequest.md +++ b/docs/HelmPackageUploadRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | **ProvenanceFile** | Pointer to **NullableString** | The provenance file containing the signature for the chart. If one is not provided, it will be generated automatically. | [optional] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -83,6 +84,41 @@ HasProvenanceFile returns a boolean if a field has been set. `func (o *HelmPackageUploadRequest) UnsetProvenanceFile()` UnsetProvenanceFile ensures that no value is present for ProvenanceFile, not even an explicit nil +### GetReleaseNotes + +`func (o *HelmPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *HelmPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *HelmPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *HelmPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *HelmPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *HelmPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *HelmPackageUploadRequest) GetRepublish() bool` diff --git a/docs/HexPackageUpload.md b/docs/HexPackageUpload.md index ac5b45f7c..91ae0dce8 100644 --- a/docs/HexPackageUpload.md +++ b/docs/HexPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *HexPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *HexPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *HexPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *HexPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *HexPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *HexPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *HexPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *HexPackageUpload) GetRepository() string` diff --git a/docs/HexPackageUploadRequest.md b/docs/HexPackageUploadRequest.md index 678bfed7c..c27ba7f1b 100644 --- a/docs/HexPackageUploadRequest.md +++ b/docs/HexPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *HexPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *HexPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *HexPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *HexPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *HexPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *HexPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *HexPackageUploadRequest) GetRepublish() bool` diff --git a/docs/HuggingfacePackageUpload.md b/docs/HuggingfacePackageUpload.md index 39133d258..51b829eaf 100644 --- a/docs/HuggingfacePackageUpload.md +++ b/docs/HuggingfacePackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *HuggingfacePackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *HuggingfacePackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *HuggingfacePackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *HuggingfacePackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *HuggingfacePackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *HuggingfacePackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *HuggingfacePackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *HuggingfacePackageUpload) GetRepository() string` diff --git a/docs/HuggingfacePackageUploadRequest.md b/docs/HuggingfacePackageUploadRequest.md index 81bef7140..56890b63f 100644 --- a/docs/HuggingfacePackageUploadRequest.md +++ b/docs/HuggingfacePackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *HuggingfacePackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *HuggingfacePackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *HuggingfacePackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *HuggingfacePackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *HuggingfacePackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *HuggingfacePackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *HuggingfacePackageUploadRequest) GetRepublish() bool` diff --git a/docs/LuarocksPackageUpload.md b/docs/LuarocksPackageUpload.md index e309d3d3b..5ab2a39cd 100644 --- a/docs/LuarocksPackageUpload.md +++ b/docs/LuarocksPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *LuarocksPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *LuarocksPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *LuarocksPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *LuarocksPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *LuarocksPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *LuarocksPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *LuarocksPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *LuarocksPackageUpload) GetRepository() string` diff --git a/docs/LuarocksPackageUploadRequest.md b/docs/LuarocksPackageUploadRequest.md index 537ea03ed..26ab2abe5 100644 --- a/docs/LuarocksPackageUploadRequest.md +++ b/docs/LuarocksPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *LuarocksPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *LuarocksPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *LuarocksPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *LuarocksPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *LuarocksPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *LuarocksPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *LuarocksPackageUploadRequest) GetRepublish() bool` diff --git a/docs/MavenPackageUpload.md b/docs/MavenPackageUpload.md index 23782a50a..a440c12f2 100644 --- a/docs/MavenPackageUpload.md +++ b/docs/MavenPackageUpload.md @@ -40,7 +40,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -59,14 +59,15 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] **SbtVersion** | Pointer to **NullableString** | | [optional] **ScalaVersion** | Pointer to **NullableString** | | [optional] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -97,7 +98,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1623,6 +1624,41 @@ HasRelease returns a boolean if a field has been set. `func (o *MavenPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *MavenPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *MavenPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *MavenPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *MavenPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *MavenPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *MavenPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *MavenPackageUpload) GetRepository() string` diff --git a/docs/MavenPackageUploadRequest.md b/docs/MavenPackageUploadRequest.md index 6f475bda0..005057a5a 100644 --- a/docs/MavenPackageUploadRequest.md +++ b/docs/MavenPackageUploadRequest.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **PackageFile** | **string** | The primary file for the package. | **Packaging** | Pointer to **NullableString** | Artifact's Maven packaging type. | [optional] **PomFile** | Pointer to **NullableString** | The POM file is an XML file containing the Maven coordinates. | [optional] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **SbtVersion** | Pointer to **NullableString** | | [optional] **ScalaVersion** | Pointer to **NullableString** | | [optional] @@ -304,6 +305,41 @@ HasPomFile returns a boolean if a field has been set. `func (o *MavenPackageUploadRequest) UnsetPomFile()` UnsetPomFile ensures that no value is present for PomFile, not even an explicit nil +### GetReleaseNotes + +`func (o *MavenPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *MavenPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *MavenPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *MavenPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *MavenPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *MavenPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *MavenPackageUploadRequest) GetRepublish() bool` diff --git a/docs/McpPackageUpload.md b/docs/McpPackageUpload.md index 22179a958..5b4c21fc5 100644 --- a/docs/McpPackageUpload.md +++ b/docs/McpPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *McpPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *McpPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *McpPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *McpPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *McpPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *McpPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *McpPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *McpPackageUpload) GetRepository() string` diff --git a/docs/McpPackageUploadRequest.md b/docs/McpPackageUploadRequest.md index e74d688c5..36f29b412 100644 --- a/docs/McpPackageUploadRequest.md +++ b/docs/McpPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] @@ -48,6 +49,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *McpPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *McpPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *McpPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *McpPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *McpPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *McpPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *McpPackageUploadRequest) GetRepublish() bool` diff --git a/docs/NixPackageUpload.md b/docs/NixPackageUpload.md index 8b5e35764..38c7d3b74 100644 --- a/docs/NixPackageUpload.md +++ b/docs/NixPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *NixPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *NixPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *NixPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *NixPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *NixPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *NixPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *NixPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *NixPackageUpload) GetRepository() string` diff --git a/docs/NixPackageUploadRequest.md b/docs/NixPackageUploadRequest.md index 57da22774..0c4dba013 100644 --- a/docs/NixPackageUploadRequest.md +++ b/docs/NixPackageUploadRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **NarinfoFile** | Pointer to **NullableString** | The narinfo sidecar metadata file (<storeHash>.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path. | [optional] **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] @@ -84,6 +85,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *NixPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *NixPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *NixPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *NixPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *NixPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *NixPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *NixPackageUploadRequest) GetRepublish() bool` diff --git a/docs/NpmPackageUpload.md b/docs/NpmPackageUpload.md index 2c7782023..37d3f6b0d 100644 --- a/docs/NpmPackageUpload.md +++ b/docs/NpmPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *NpmPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *NpmPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *NpmPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *NpmPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *NpmPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *NpmPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *NpmPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *NpmPackageUpload) GetRepository() string` diff --git a/docs/NpmPackageUploadRequest.md b/docs/NpmPackageUploadRequest.md index 976d08bf2..c0432a260 100644 --- a/docs/NpmPackageUploadRequest.md +++ b/docs/NpmPackageUploadRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **NpmDistTag** | Pointer to **NullableString** | The default npm dist-tag for this package/version - This will replace any other package/version if they are using the same tag. | [optional] [default to "latest"] **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -83,6 +84,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *NpmPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *NpmPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *NpmPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *NpmPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *NpmPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *NpmPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *NpmPackageUploadRequest) GetRepublish() bool` diff --git a/docs/NugetPackageUpload.md b/docs/NugetPackageUpload.md index be96d0e66..e2b2792c3 100644 --- a/docs/NugetPackageUpload.md +++ b/docs/NugetPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *NugetPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *NugetPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *NugetPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *NugetPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *NugetPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *NugetPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *NugetPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *NugetPackageUpload) GetRepository() string` diff --git a/docs/NugetPackageUploadRequest.md b/docs/NugetPackageUploadRequest.md index 3a4b757c3..95216bad1 100644 --- a/docs/NugetPackageUploadRequest.md +++ b/docs/NugetPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **SymbolsFile** | Pointer to **NullableString** | Uploads a symbols file as a separate package | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -48,6 +49,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *NugetPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *NugetPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *NugetPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *NugetPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *NugetPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *NugetPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *NugetPackageUploadRequest) GetRepublish() bool` diff --git a/docs/OrganizationApiKeyRule.md b/docs/OrganizationApiKeyRule.md index 428adca90..c3a9f7e08 100644 --- a/docs/OrganizationApiKeyRule.md +++ b/docs/OrganizationApiKeyRule.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **MaxAgeHours** | Pointer to **NullableInt64** | The maximum permitted age of an API key for use in the organization. API keys older than this will no longer have access until they are refreshed. To disable the rule unset this value. | [optional] **RuleType** | **string** | Specify which account types this rule applies to: all accounts (deprecated — prefer separate service/user rules), service accounts only, or user accounts only. | **Slug** | Pointer to **string** | Human-readable identifier for the rule type. Automatically generated based on the rule type. | [optional] [readonly] -**SlugPerm** | Pointer to **string** | An auto-generated id that uniquely identifies the API key policy. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | An auto-generated id that uniquely identifies the rule. | [optional] [readonly] **UpdatedAt** | Pointer to **time.Time** | | [optional] [readonly] ## Methods diff --git a/docs/P2PackageUpload.md b/docs/P2PackageUpload.md index b393b7512..ece19547d 100644 --- a/docs/P2PackageUpload.md +++ b/docs/P2PackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *P2PackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *P2PackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *P2PackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *P2PackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *P2PackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *P2PackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *P2PackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *P2PackageUpload) GetRepository() string` diff --git a/docs/P2PackageUploadRequest.md b/docs/P2PackageUploadRequest.md index bfab54286..b0e22cfbb 100644 --- a/docs/P2PackageUploadRequest.md +++ b/docs/P2PackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *P2PackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *P2PackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *P2PackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *P2PackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *P2PackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *P2PackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *P2PackageUploadRequest) GetRepublish() bool` diff --git a/docs/Package.md b/docs/Package.md index 4122c0d83..8816e606a 100644 --- a/docs/Package.md +++ b/docs/Package.md @@ -40,7 +40,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -58,12 +58,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -96,7 +97,7 @@ Name | Type | Description | Notes **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] **VulnerabilityCounts** | Pointer to [**NullableWebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1577,6 +1578,41 @@ HasRelease returns a boolean if a field has been set. `func (o *Package) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *Package) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *Package) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *Package) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *Package) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *Package) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *Package) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *Package) GetRepository() string` diff --git a/docs/PackageCopy.md b/docs/PackageCopy.md index 2460be70f..4d5c6ff9b 100644 --- a/docs/PackageCopy.md +++ b/docs/PackageCopy.md @@ -39,7 +39,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -57,12 +57,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | The repository the package will be copied to. | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -94,7 +95,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1550,6 +1551,41 @@ HasRelease returns a boolean if a field has been set. `func (o *PackageCopy) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *PackageCopy) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageCopy) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageCopy) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageCopy) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageCopy) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageCopy) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PackageCopy) GetRepository() string` diff --git a/docs/PackageCopyRequest.md b/docs/PackageCopyRequest.md index a9b407c75..dc020ac0a 100644 --- a/docs/PackageCopyRequest.md +++ b/docs/PackageCopyRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Destination** | **string** | The name of the destination repository without the namespace. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] ## Methods @@ -46,6 +47,41 @@ and a boolean to check if the value has been set. SetDestination sets Destination field to given value. +### GetReleaseNotes + +`func (o *PackageCopyRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageCopyRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageCopyRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageCopyRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageCopyRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageCopyRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *PackageCopyRequest) GetRepublish() bool` diff --git a/docs/PackageDetail.md b/docs/PackageDetail.md index 48367ae48..9d7cd1951 100644 --- a/docs/PackageDetail.md +++ b/docs/PackageDetail.md @@ -41,7 +41,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,15 +56,17 @@ Name | Type | Description | Notes **OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] **OsiApproved** | Pointer to **bool** | Whether the package's SPDX license is OSI-approved. | [optional] [readonly] **PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**PluginSkills** | Pointer to [**[]PluginSkill**](PluginSkill.md) | The skills a plugin bundles. Null for any other package. | [optional] [readonly] **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -97,7 +99,7 @@ Name | Type | Description | Notes **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] **VulnerabilityCounts** | Pointer to [**NullableWebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1508,6 +1510,41 @@ SetPackageType sets PackageType field to given value. HasPackageType returns a boolean if a field has been set. +### GetPluginSkills + +`func (o *PackageDetail) GetPluginSkills() []PluginSkill` + +GetPluginSkills returns the PluginSkills field if non-nil, zero value otherwise. + +### GetPluginSkillsOk + +`func (o *PackageDetail) GetPluginSkillsOk() (*[]PluginSkill, bool)` + +GetPluginSkillsOk returns a tuple with the PluginSkills field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPluginSkills + +`func (o *PackageDetail) SetPluginSkills(v []PluginSkill)` + +SetPluginSkills sets PluginSkills field to given value. + +### HasPluginSkills + +`func (o *PackageDetail) HasPluginSkills() bool` + +HasPluginSkills returns a boolean if a field has been set. + +### SetPluginSkillsNil + +`func (o *PackageDetail) SetPluginSkillsNil(b bool)` + + SetPluginSkillsNil sets the value for PluginSkills to be an explicit nil + +### UnsetPluginSkills +`func (o *PackageDetail) UnsetPluginSkills()` + +UnsetPluginSkills ensures that no value is present for PluginSkills, not even an explicit nil ### GetPolicyViolated `func (o *PackageDetail) GetPolicyViolated() bool` @@ -1603,6 +1640,41 @@ HasRelease returns a boolean if a field has been set. `func (o *PackageDetail) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *PackageDetail) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageDetail) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageDetail) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageDetail) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageDetail) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageDetail) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PackageDetail) GetRepository() string` diff --git a/docs/PackageMove.md b/docs/PackageMove.md index c5c5ea566..3f2b36acf 100644 --- a/docs/PackageMove.md +++ b/docs/PackageMove.md @@ -39,7 +39,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -57,12 +57,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | The repository the package will be moved to. | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -94,7 +95,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1550,6 +1551,41 @@ HasRelease returns a boolean if a field has been set. `func (o *PackageMove) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *PackageMove) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageMove) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageMove) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageMove) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageMove) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageMove) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PackageMove) GetRepository() string` diff --git a/docs/PackageMoveRequest.md b/docs/PackageMoveRequest.md index aa2ee4d27..895fbb97a 100644 --- a/docs/PackageMoveRequest.md +++ b/docs/PackageMoveRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Destination** | **string** | The name of the destination repository without the namespace. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] ## Methods @@ -45,6 +46,41 @@ and a boolean to check if the value has been set. SetDestination sets Destination field to given value. +### GetReleaseNotes + +`func (o *PackageMoveRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageMoveRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageMoveRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageMoveRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageMoveRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageMoveRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/PackageQuarantine.md b/docs/PackageQuarantine.md index 2443bdf39..476f6091d 100644 --- a/docs/PackageQuarantine.md +++ b/docs/PackageQuarantine.md @@ -39,7 +39,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -93,7 +94,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1514,6 +1515,41 @@ HasRawLicense returns a boolean if a field has been set. `func (o *PackageQuarantine) UnsetRawLicense()` UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +### GetReleaseNotes + +`func (o *PackageQuarantine) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageQuarantine) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageQuarantine) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageQuarantine) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageQuarantine) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageQuarantine) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PackageQuarantine) GetRepository() string` diff --git a/docs/PackageQuarantineRequest.md b/docs/PackageQuarantineRequest.md index 368109fae..fdec55284 100644 --- a/docs/PackageQuarantineRequest.md +++ b/docs/PackageQuarantineRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Release** | Pointer to **bool** | If true, the package is released from quarantine. | [optional] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Restore** | Pointer to **bool** | If true, the package is released from quarantine. Note: This field is deprecated, please use 'release' instead. | [optional] ## Methods @@ -51,6 +52,41 @@ SetRelease sets Release field to given value. HasRelease returns a boolean if a field has been set. +### GetReleaseNotes + +`func (o *PackageQuarantineRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageQuarantineRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageQuarantineRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageQuarantineRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageQuarantineRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageQuarantineRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRestore `func (o *PackageQuarantineRequest) GetRestore() bool` diff --git a/docs/PackageResync.md b/docs/PackageResync.md index 991cc7421..2310c3aa7 100644 --- a/docs/PackageResync.md +++ b/docs/PackageResync.md @@ -39,7 +39,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -57,12 +57,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -94,7 +95,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1550,6 +1551,41 @@ HasRelease returns a boolean if a field has been set. `func (o *PackageResync) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *PackageResync) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageResync) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageResync) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageResync) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageResync) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageResync) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PackageResync) GetRepository() string` diff --git a/docs/PackageStatus.md b/docs/PackageStatus.md index 2003405b2..150a47148 100644 --- a/docs/PackageStatus.md +++ b/docs/PackageStatus.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] diff --git a/docs/PackageTag.md b/docs/PackageTag.md index 2efce0eed..d5b66512b 100644 --- a/docs/PackageTag.md +++ b/docs/PackageTag.md @@ -40,7 +40,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -58,12 +58,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -94,7 +95,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1575,6 +1576,41 @@ HasRelease returns a boolean if a field has been set. `func (o *PackageTag) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *PackageTag) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageTag) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageTag) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageTag) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageTag) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageTag) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PackageTag) GetRepository() string` diff --git a/docs/PackageTagRequest.md b/docs/PackageTagRequest.md index 58f41b99c..73dc6ccfe 100644 --- a/docs/PackageTagRequest.md +++ b/docs/PackageTagRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Action** | Pointer to **NullableString** | | [optional] [default to "Add"] **IsImmutable** | Pointer to **bool** | If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. | [optional] [default to false] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Tags** | Pointer to **[]string** | A list of tags to apply the action to. Not required for clears. | [optional] ## Methods @@ -87,6 +88,41 @@ SetIsImmutable sets IsImmutable field to given value. HasIsImmutable returns a boolean if a field has been set. +### GetReleaseNotes + +`func (o *PackageTagRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PackageTagRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PackageTagRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PackageTagRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PackageTagRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PackageTagRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetTags `func (o *PackageTagRequest) GetTags() []string` diff --git a/docs/PackagesApi.md b/docs/PackagesApi.md index 2fc67a4f4..54bb57335 100644 --- a/docs/PackagesApi.md +++ b/docs/PackagesApi.md @@ -43,6 +43,7 @@ Method | HTTP request | Description [**PackagesUploadRaw**](PackagesApi.md#PackagesUploadRaw) | **Post** /packages/{owner}/{repo}/upload/raw/ | Create a new Raw package [**PackagesUploadRpm**](PackagesApi.md#PackagesUploadRpm) | **Post** /packages/{owner}/{repo}/upload/rpm/ | Create a new RedHat package [**PackagesUploadRuby**](PackagesApi.md#PackagesUploadRuby) | **Post** /packages/{owner}/{repo}/upload/ruby/ | Create a new Ruby package +[**PackagesUploadSkills**](PackagesApi.md#PackagesUploadSkills) | **Post** /packages/{owner}/{repo}/upload/skills/ | Create a new AI Skills package [**PackagesUploadSwift**](PackagesApi.md#PackagesUploadSwift) | **Post** /packages/{owner}/{repo}/upload/swift/ | Create a new Swift package [**PackagesUploadTerraform**](PackagesApi.md#PackagesUploadTerraform) | **Post** /packages/{owner}/{repo}/upload/terraform/ | Create a new Terraform package [**PackagesUploadVagrant**](PackagesApi.md#PackagesUploadVagrant) | **Post** /packages/{owner}/{repo}/upload/vagrant/ | Create a new Vagrant package @@ -73,6 +74,7 @@ Method | HTTP request | Description [**PackagesValidateUploadRaw**](PackagesApi.md#PackagesValidateUploadRaw) | **Post** /packages/{owner}/{repo}/validate-upload/raw/ | Validate parameters for create Raw package [**PackagesValidateUploadRpm**](PackagesApi.md#PackagesValidateUploadRpm) | **Post** /packages/{owner}/{repo}/validate-upload/rpm/ | Validate parameters for create RedHat package [**PackagesValidateUploadRuby**](PackagesApi.md#PackagesValidateUploadRuby) | **Post** /packages/{owner}/{repo}/validate-upload/ruby/ | Validate parameters for create Ruby package +[**PackagesValidateUploadSkills**](PackagesApi.md#PackagesValidateUploadSkills) | **Post** /packages/{owner}/{repo}/validate-upload/skills/ | Validate parameters for create AI Skills package [**PackagesValidateUploadSwift**](PackagesApi.md#PackagesValidateUploadSwift) | **Post** /packages/{owner}/{repo}/validate-upload/swift/ | Validate parameters for create Swift package [**PackagesValidateUploadTerraform**](PackagesApi.md#PackagesValidateUploadTerraform) | **Post** /packages/{owner}/{repo}/validate-upload/terraform/ | Validate parameters for create Terraform package [**PackagesValidateUploadVagrant**](PackagesApi.md#PackagesValidateUploadVagrant) | **Post** /packages/{owner}/{repo}/validate-upload/vagrant/ | Validate parameters for create Vagrant package @@ -3050,6 +3052,81 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## PackagesUploadSkills + +> SkillsPackageUpload PackagesUploadSkills(ctx, owner, repo).Data(data).Execute() + +Create a new AI Skills package + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + repo := "repo_example" // string | + data := *openapiclient.NewSkillsPackageUploadRequest("Name_example", "PackageFile_example", "Version_example") // SkillsPackageUploadRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.PackagesApi.PackagesUploadSkills(context.Background(), owner, repo).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadSkills``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `PackagesUploadSkills`: SkillsPackageUpload + fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadSkills`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**repo** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiPackagesUploadSkillsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**SkillsPackageUploadRequest**](SkillsPackageUploadRequest.md) | | + +### Return type + +[**SkillsPackageUpload**](SkillsPackageUpload.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## PackagesUploadSwift > SwiftPackageUpload PackagesUploadSwift(ctx, owner, repo).Data(data).Execute() @@ -5248,6 +5325,79 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## PackagesValidateUploadSkills + +> PackagesValidateUploadSkills(ctx, owner, repo).Data(data).Execute() + +Validate parameters for create AI Skills package + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + repo := "repo_example" // string | + data := *openapiclient.NewSkillsPackageUploadRequest("Name_example", "PackageFile_example", "Version_example") // SkillsPackageUploadRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.PackagesApi.PackagesValidateUploadSkills(context.Background(), owner, repo).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesValidateUploadSkills``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**repo** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiPackagesValidateUploadSkillsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**SkillsPackageUploadRequest**](SkillsPackageUploadRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## PackagesValidateUploadSwift > PackagesValidateUploadSwift(ctx, owner, repo).Data(data).Execute() diff --git a/docs/PluginSkill.md b/docs/PluginSkill.md new file mode 100644 index 000000000..0c14f5cc2 --- /dev/null +++ b/docs/PluginSkill.md @@ -0,0 +1,92 @@ +# PluginSkill + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Description** | Pointer to **NullableString** | The skill's description, if it declares one. Truncated to 200 characters. | [optional] [readonly] +**Name** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewPluginSkill + +`func NewPluginSkill() *PluginSkill` + +NewPluginSkill instantiates a new PluginSkill object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewPluginSkillWithDefaults + +`func NewPluginSkillWithDefaults() *PluginSkill` + +NewPluginSkillWithDefaults instantiates a new PluginSkill object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetDescription + +`func (o *PluginSkill) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *PluginSkill) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *PluginSkill) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *PluginSkill) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *PluginSkill) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *PluginSkill) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetName + +`func (o *PluginSkill) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *PluginSkill) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *PluginSkill) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *PluginSkill) HasName() bool` + +HasName returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ProviderSettings.md b/docs/ProviderSettings.md index 4dadefeae..8da0e47a4 100644 --- a/docs/ProviderSettings.md +++ b/docs/ProviderSettings.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Claims** | **map[string]interface{}** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | **Enabled** | **bool** | Whether the provider settings should be used for incoming OIDC requests. | +**Jwks** | Pointer to **map[string]interface{}** | The manually uploaded JWKS, for providers we do not have remote access to. | [optional] **MappingClaim** | Pointer to **NullableString** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Name** | **string** | The name of the provider settings are being configured for | -**ProviderUrl** | **string** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | +**ProviderUrl** | **string** | The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | **ServiceAccounts** | Pointer to **[]string** | The service accounts associated with these provider settings. | [optional] **Slug** | Pointer to **string** | The slug of the provider settings | [optional] [readonly] **SlugPerm** | Pointer to **string** | The unique, immutable identifier of the provider settings. | [optional] [readonly] @@ -72,6 +73,41 @@ and a boolean to check if the value has been set. SetEnabled sets Enabled field to given value. +### GetJwks + +`func (o *ProviderSettings) GetJwks() map[string]interface{}` + +GetJwks returns the Jwks field if non-nil, zero value otherwise. + +### GetJwksOk + +`func (o *ProviderSettings) GetJwksOk() (*map[string]interface{}, bool)` + +GetJwksOk returns a tuple with the Jwks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJwks + +`func (o *ProviderSettings) SetJwks(v map[string]interface{})` + +SetJwks sets Jwks field to given value. + +### HasJwks + +`func (o *ProviderSettings) HasJwks() bool` + +HasJwks returns a boolean if a field has been set. + +### SetJwksNil + +`func (o *ProviderSettings) SetJwksNil(b bool)` + + SetJwksNil sets the value for Jwks to be an explicit nil + +### UnsetJwks +`func (o *ProviderSettings) UnsetJwks()` + +UnsetJwks ensures that no value is present for Jwks, not even an explicit nil ### GetMappingClaim `func (o *ProviderSettings) GetMappingClaim() string` diff --git a/docs/ProviderSettingsWrite.md b/docs/ProviderSettingsWrite.md index 68ee7faa8..0f48aaefc 100644 --- a/docs/ProviderSettingsWrite.md +++ b/docs/ProviderSettingsWrite.md @@ -7,9 +7,10 @@ Name | Type | Description | Notes **Claims** | **map[string]interface{}** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | **DynamicMappings** | Pointer to [**[]DynamicMapping**](DynamicMapping.md) | The dynamic mappings of `mapping_claim` values to service accounts. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Enabled** | **bool** | Whether the provider settings should be used for incoming OIDC requests. | +**Jwks** | Pointer to **map[string]interface{}** | The manually uploaded JWKS, for providers we do not have remote access to. | [optional] **MappingClaim** | Pointer to **NullableString** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Name** | **string** | The name of the provider settings are being configured for | -**ProviderUrl** | **string** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | +**ProviderUrl** | **string** | The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | **ServiceAccounts** | Pointer to **[]string** | The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. | [optional] **Slug** | Pointer to **string** | The slug of the provider settings | [optional] [readonly] **SlugPerm** | Pointer to **string** | The unique, immutable identifier of the provider settings. | [optional] [readonly] @@ -98,6 +99,41 @@ and a boolean to check if the value has been set. SetEnabled sets Enabled field to given value. +### GetJwks + +`func (o *ProviderSettingsWrite) GetJwks() map[string]interface{}` + +GetJwks returns the Jwks field if non-nil, zero value otherwise. + +### GetJwksOk + +`func (o *ProviderSettingsWrite) GetJwksOk() (*map[string]interface{}, bool)` + +GetJwksOk returns a tuple with the Jwks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJwks + +`func (o *ProviderSettingsWrite) SetJwks(v map[string]interface{})` + +SetJwks sets Jwks field to given value. + +### HasJwks + +`func (o *ProviderSettingsWrite) HasJwks() bool` + +HasJwks returns a boolean if a field has been set. + +### SetJwksNil + +`func (o *ProviderSettingsWrite) SetJwksNil(b bool)` + + SetJwksNil sets the value for Jwks to be an explicit nil + +### UnsetJwks +`func (o *ProviderSettingsWrite) UnsetJwks()` + +UnsetJwks ensures that no value is present for Jwks, not even an explicit nil ### GetMappingClaim `func (o *ProviderSettingsWrite) GetMappingClaim() string` diff --git a/docs/ProviderSettingsWriteRequest.md b/docs/ProviderSettingsWriteRequest.md index 4ac0e3ee4..c3ab10e3e 100644 --- a/docs/ProviderSettingsWriteRequest.md +++ b/docs/ProviderSettingsWriteRequest.md @@ -7,9 +7,10 @@ Name | Type | Description | Notes **Claims** | **map[string]interface{}** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | **DynamicMappings** | Pointer to [**[]DynamicMapping**](DynamicMapping.md) | The dynamic mappings of `mapping_claim` values to service accounts. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Enabled** | **bool** | Whether the provider settings should be used for incoming OIDC requests. | +**Jwks** | Pointer to **map[string]interface{}** | The manually uploaded JWKS, for providers we do not have remote access to. | [optional] **MappingClaim** | Pointer to **NullableString** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Name** | **string** | The name of the provider settings are being configured for | -**ProviderUrl** | **string** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | +**ProviderUrl** | **string** | The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | **ServiceAccounts** | Pointer to **[]string** | The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. | [optional] ## Methods @@ -96,6 +97,41 @@ and a boolean to check if the value has been set. SetEnabled sets Enabled field to given value. +### GetJwks + +`func (o *ProviderSettingsWriteRequest) GetJwks() map[string]interface{}` + +GetJwks returns the Jwks field if non-nil, zero value otherwise. + +### GetJwksOk + +`func (o *ProviderSettingsWriteRequest) GetJwksOk() (*map[string]interface{}, bool)` + +GetJwksOk returns a tuple with the Jwks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJwks + +`func (o *ProviderSettingsWriteRequest) SetJwks(v map[string]interface{})` + +SetJwks sets Jwks field to given value. + +### HasJwks + +`func (o *ProviderSettingsWriteRequest) HasJwks() bool` + +HasJwks returns a boolean if a field has been set. + +### SetJwksNil + +`func (o *ProviderSettingsWriteRequest) SetJwksNil(b bool)` + + SetJwksNil sets the value for Jwks to be an explicit nil + +### UnsetJwks +`func (o *ProviderSettingsWriteRequest) UnsetJwks()` + +UnsetJwks ensures that no value is present for Jwks, not even an explicit nil ### GetMappingClaim `func (o *ProviderSettingsWriteRequest) GetMappingClaim() string` diff --git a/docs/ProviderSettingsWriteRequestPatch.md b/docs/ProviderSettingsWriteRequestPatch.md index 9325fb751..ae41bef2c 100644 --- a/docs/ProviderSettingsWriteRequestPatch.md +++ b/docs/ProviderSettingsWriteRequestPatch.md @@ -7,9 +7,10 @@ Name | Type | Description | Notes **Claims** | Pointer to **map[string]interface{}** | The set of claims that any received tokens from the provider must contain to authenticate as the configured service account. | [optional] **DynamicMappings** | Pointer to [**[]DynamicMapping**](DynamicMapping.md) | The dynamic mappings of `mapping_claim` values to service accounts. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Enabled** | Pointer to **bool** | Whether the provider settings should be used for incoming OIDC requests. | [optional] +**Jwks** | Pointer to **map[string]interface{}** | The manually uploaded JWKS, for providers we do not have remote access to. | [optional] **MappingClaim** | Pointer to **NullableString** | The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. | [optional] **Name** | Pointer to **string** | The name of the provider settings are being configured for | [optional] -**ProviderUrl** | Pointer to **string** | The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | [optional] +**ProviderUrl** | Pointer to **string** | The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ | [optional] **ServiceAccounts** | Pointer to **[]string** | The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. | [optional] ## Methods @@ -106,6 +107,41 @@ SetEnabled sets Enabled field to given value. HasEnabled returns a boolean if a field has been set. +### GetJwks + +`func (o *ProviderSettingsWriteRequestPatch) GetJwks() map[string]interface{}` + +GetJwks returns the Jwks field if non-nil, zero value otherwise. + +### GetJwksOk + +`func (o *ProviderSettingsWriteRequestPatch) GetJwksOk() (*map[string]interface{}, bool)` + +GetJwksOk returns a tuple with the Jwks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJwks + +`func (o *ProviderSettingsWriteRequestPatch) SetJwks(v map[string]interface{})` + +SetJwks sets Jwks field to given value. + +### HasJwks + +`func (o *ProviderSettingsWriteRequestPatch) HasJwks() bool` + +HasJwks returns a boolean if a field has been set. + +### SetJwksNil + +`func (o *ProviderSettingsWriteRequestPatch) SetJwksNil(b bool)` + + SetJwksNil sets the value for Jwks to be an explicit nil + +### UnsetJwks +`func (o *ProviderSettingsWriteRequestPatch) UnsetJwks()` + +UnsetJwks ensures that no value is present for Jwks, not even an explicit nil ### GetMappingClaim `func (o *ProviderSettingsWriteRequestPatch) GetMappingClaim() string` diff --git a/docs/PythonPackageUpload.md b/docs/PythonPackageUpload.md index 41be783ab..2f381bd5a 100644 --- a/docs/PythonPackageUpload.md +++ b/docs/PythonPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *PythonPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *PythonPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PythonPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PythonPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PythonPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PythonPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PythonPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *PythonPackageUpload) GetRepository() string` diff --git a/docs/PythonPackageUploadRequest.md b/docs/PythonPackageUploadRequest.md index 3ef67bfe9..bbc97e5e8 100644 --- a/docs/PythonPackageUploadRequest.md +++ b/docs/PythonPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *PythonPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *PythonPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *PythonPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *PythonPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *PythonPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *PythonPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *PythonPackageUploadRequest) GetRepublish() bool` diff --git a/docs/RawPackageUpload.md b/docs/RawPackageUpload.md index 9cf23099b..9fde2e1a6 100644 --- a/docs/RawPackageUpload.md +++ b/docs/RawPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *RawPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *RawPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *RawPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *RawPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *RawPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *RawPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *RawPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *RawPackageUpload) GetRepository() string` diff --git a/docs/RawPackageUploadRequest.md b/docs/RawPackageUploadRequest.md index 4a28c8479..b8ac6298e 100644 --- a/docs/RawPackageUploadRequest.md +++ b/docs/RawPackageUploadRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **Description** | Pointer to **NullableString** | A textual description of this package. | [optional] **Name** | Pointer to **NullableString** | The name of this package. | [optional] **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Summary** | Pointer to **NullableString** | A one-liner synopsis of this package. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -157,6 +158,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *RawPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *RawPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *RawPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *RawPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *RawPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *RawPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *RawPackageUploadRequest) GetRepublish() bool` diff --git a/docs/RecycleBinPackage.md b/docs/RecycleBinPackage.md index e003da571..119eabbb1 100644 --- a/docs/RecycleBinPackage.md +++ b/docs/RecycleBinPackage.md @@ -18,8 +18,8 @@ Name | Type | Description | Notes **Name** | Pointer to **NullableString** | The name of this package. | [optional] [readonly] **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **Repository** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] **Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] **SlugPerm** | Pointer to **string** | | [optional] [readonly] **Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] diff --git a/docs/ReposApi.md b/docs/ReposApi.md index ad5d857e2..203b9e355 100644 --- a/docs/ReposApi.md +++ b/docs/ReposApi.md @@ -160,6 +160,12 @@ Method | HTTP request | Description [**ReposUpstreamRubyPartialUpdate**](ReposApi.md#ReposUpstreamRubyPartialUpdate) | **Patch** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Partially update a Ruby upstream config for this repository. [**ReposUpstreamRubyRead**](ReposApi.md#ReposUpstreamRubyRead) | **Get** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Retrieve a Ruby upstream config for this repository. [**ReposUpstreamRubyUpdate**](ReposApi.md#ReposUpstreamRubyUpdate) | **Put** /repos/{owner}/{identifier}/upstream/ruby/{slug_perm}/ | Update a Ruby upstream config for this repository. +[**ReposUpstreamSkillsCreate**](ReposApi.md#ReposUpstreamSkillsCreate) | **Post** /repos/{owner}/{identifier}/upstream/skills/ | Create an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsDelete**](ReposApi.md#ReposUpstreamSkillsDelete) | **Delete** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Delete an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsList**](ReposApi.md#ReposUpstreamSkillsList) | **Get** /repos/{owner}/{identifier}/upstream/skills/ | List AI Skills upstream configs for this repository. +[**ReposUpstreamSkillsPartialUpdate**](ReposApi.md#ReposUpstreamSkillsPartialUpdate) | **Patch** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Partially update an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsRead**](ReposApi.md#ReposUpstreamSkillsRead) | **Get** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Retrieve an AI Skills upstream config for this repository. +[**ReposUpstreamSkillsUpdate**](ReposApi.md#ReposUpstreamSkillsUpdate) | **Put** /repos/{owner}/{identifier}/upstream/skills/{slug_perm}/ | Update an AI Skills upstream config for this repository. [**ReposUpstreamSwiftCreate**](ReposApi.md#ReposUpstreamSwiftCreate) | **Post** /repos/{owner}/{identifier}/upstream/swift/ | Create a Swift upstream config for this repository. [**ReposUpstreamSwiftDelete**](ReposApi.md#ReposUpstreamSwiftDelete) | **Delete** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Delete a Swift upstream config for this repository. [**ReposUpstreamSwiftList**](ReposApi.md#ReposUpstreamSwiftList) | **Get** /repos/{owner}/{identifier}/upstream/swift/ | List Swift upstream configs for this repository. @@ -12004,6 +12010,464 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ReposUpstreamSkillsCreate + +> SkillsUpstream ReposUpstreamSkillsCreate(ctx, owner, identifier).Data(data).Execute() + +Create an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + data := *openapiclient.NewSkillsUpstreamRequest("Name_example", "UpstreamUrl_example") // SkillsUpstreamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsCreate(context.Background(), owner, identifier).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsCreate`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsCreate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**SkillsUpstreamRequest**](SkillsUpstreamRequest.md) | | + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsDelete + +> ReposUpstreamSkillsDelete(ctx, owner, identifier, slugPerm).Execute() + +Delete an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.ReposApi.ReposUpstreamSkillsDelete(context.Background(), owner, identifier, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsDelete``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsDeleteRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + +### Return type + + (empty response body) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsList + +> []SkillsUpstream ReposUpstreamSkillsList(ctx, owner, identifier).Page(page).PageSize(pageSize).Execute() + +List AI Skills upstream configs for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + page := int64(56) // int64 | A page number within the paginated result set. (optional) + pageSize := int64(56) // int64 | Number of results to return per page. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsList(context.Background(), owner, identifier).Page(page).PageSize(pageSize).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsList`: []SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsList`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **page** | **int64** | A page number within the paginated result set. | + **pageSize** | **int64** | Number of results to return per page. | + +### Return type + +[**[]SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsPartialUpdate + +> SkillsUpstream ReposUpstreamSkillsPartialUpdate(ctx, owner, identifier, slugPerm).Data(data).Execute() + +Partially update an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + data := *openapiclient.NewSkillsUpstreamRequestPatch() // SkillsUpstreamRequestPatch | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsPartialUpdate(context.Background(), owner, identifier, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsPartialUpdate`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsPartialUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **data** | [**SkillsUpstreamRequestPatch**](SkillsUpstreamRequestPatch.md) | | + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsRead + +> SkillsUpstream ReposUpstreamSkillsRead(ctx, owner, identifier, slugPerm).Execute() + +Retrieve an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsRead(context.Background(), owner, identifier, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsRead`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsRead`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsReadRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## ReposUpstreamSkillsUpdate + +> SkillsUpstream ReposUpstreamSkillsUpdate(ctx, owner, identifier, slugPerm).Data(data).Execute() + +Update an AI Skills upstream config for this repository. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + identifier := "identifier_example" // string | + slugPerm := "slugPerm_example" // string | + data := *openapiclient.NewSkillsUpstreamRequest("Name_example", "UpstreamUrl_example") // SkillsUpstreamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamSkillsUpdate(context.Background(), owner, identifier, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamSkillsUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamSkillsUpdate`: SkillsUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamSkillsUpdate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | +**identifier** | **string** | | +**slugPerm** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiReposUpstreamSkillsUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **data** | [**SkillsUpstreamRequest**](SkillsUpstreamRequest.md) | | + +### Return type + +[**SkillsUpstream**](SkillsUpstream.md) + +### Authorization + +[apikey](../README.md#apikey), [basic](../README.md#basic) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## ReposUpstreamSwiftCreate > SwiftUpstream ReposUpstreamSwiftCreate(ctx, owner, identifier).Data(data).Execute() diff --git a/docs/Repository.md b/docs/Repository.md index 9601b14bc..e9ea782b8 100644 --- a/docs/Repository.md +++ b/docs/Repository.md @@ -63,6 +63,7 @@ Name | Type | Description | Notes **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] **Size** | Pointer to **int64** | The calculated size of the repository. | [optional] [readonly] **SizeStr** | Pointer to **string** | The calculated size of the repository (human readable). | [optional] [readonly] +**SkillsVersioning** | Pointer to **string** | How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. | [optional] [default to "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK"] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] **SlugPerm** | Pointer to **string** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional] [readonly] **StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] [readonly] [default to "default"] @@ -1606,6 +1607,31 @@ SetSizeStr sets SizeStr field to given value. HasSizeStr returns a boolean if a field has been set. +### GetSkillsVersioning + +`func (o *Repository) GetSkillsVersioning() string` + +GetSkillsVersioning returns the SkillsVersioning field if non-nil, zero value otherwise. + +### GetSkillsVersioningOk + +`func (o *Repository) GetSkillsVersioningOk() (*string, bool)` + +GetSkillsVersioningOk returns a tuple with the SkillsVersioning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkillsVersioning + +`func (o *Repository) SetSkillsVersioning(v string)` + +SetSkillsVersioning sets SkillsVersioning field to given value. + +### HasSkillsVersioning + +`func (o *Repository) HasSkillsVersioning() bool` + +HasSkillsVersioning returns a boolean if a field has been set. + ### GetSlug `func (o *Repository) GetSlug() string` diff --git a/docs/RepositoryCreate.md b/docs/RepositoryCreate.md index d4771e251..2c8dbee13 100644 --- a/docs/RepositoryCreate.md +++ b/docs/RepositoryCreate.md @@ -63,6 +63,7 @@ Name | Type | Description | Notes **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] **Size** | Pointer to **int64** | The calculated size of the repository. | [optional] [readonly] **SizeStr** | Pointer to **string** | The calculated size of the repository (human readable). | [optional] [readonly] +**SkillsVersioning** | Pointer to **string** | How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. | [optional] [default to "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK"] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] **SlugPerm** | Pointer to **string** | The slug_perm immutably identifies the repository. It will never change once a repository has been created. | [optional] [readonly] **StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] [default to "default"] @@ -1606,6 +1607,31 @@ SetSizeStr sets SizeStr field to given value. HasSizeStr returns a boolean if a field has been set. +### GetSkillsVersioning + +`func (o *RepositoryCreate) GetSkillsVersioning() string` + +GetSkillsVersioning returns the SkillsVersioning field if non-nil, zero value otherwise. + +### GetSkillsVersioningOk + +`func (o *RepositoryCreate) GetSkillsVersioningOk() (*string, bool)` + +GetSkillsVersioningOk returns a tuple with the SkillsVersioning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkillsVersioning + +`func (o *RepositoryCreate) SetSkillsVersioning(v string)` + +SetSkillsVersioning sets SkillsVersioning field to given value. + +### HasSkillsVersioning + +`func (o *RepositoryCreate) HasSkillsVersioning() bool` + +HasSkillsVersioning returns a boolean if a field has been set. + ### GetSlug `func (o *RepositoryCreate) GetSlug() string` diff --git a/docs/RepositoryCreateRequest.md b/docs/RepositoryCreateRequest.md index 1e415e79a..91dc28fa9 100644 --- a/docs/RepositoryCreateRequest.md +++ b/docs/RepositoryCreateRequest.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes **ScanOwn** | Pointer to **bool** | If checked, users can scan 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] **ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] [default to "Read"] **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] +**SkillsVersioning** | Pointer to **string** | How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. | [optional] [default to "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK"] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] **StorageRegion** | Pointer to **string** | The Cloudsmith region in which package files are stored. | [optional] [default to "default"] **StrictNpmValidation** | Pointer to **bool** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. | [optional] @@ -987,6 +988,31 @@ SetShowSetupAll sets ShowSetupAll field to given value. HasShowSetupAll returns a boolean if a field has been set. +### GetSkillsVersioning + +`func (o *RepositoryCreateRequest) GetSkillsVersioning() string` + +GetSkillsVersioning returns the SkillsVersioning field if non-nil, zero value otherwise. + +### GetSkillsVersioningOk + +`func (o *RepositoryCreateRequest) GetSkillsVersioningOk() (*string, bool)` + +GetSkillsVersioningOk returns a tuple with the SkillsVersioning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkillsVersioning + +`func (o *RepositoryCreateRequest) SetSkillsVersioning(v string)` + +SetSkillsVersioning sets SkillsVersioning field to given value. + +### HasSkillsVersioning + +`func (o *RepositoryCreateRequest) HasSkillsVersioning() bool` + +HasSkillsVersioning returns a boolean if a field has been set. + ### GetSlug `func (o *RepositoryCreateRequest) GetSlug() string` diff --git a/docs/RepositoryRequestPatch.md b/docs/RepositoryRequestPatch.md index bccf43aa1..e40e90d36 100644 --- a/docs/RepositoryRequestPatch.md +++ b/docs/RepositoryRequestPatch.md @@ -40,6 +40,7 @@ Name | Type | Description | Notes **ScanOwn** | Pointer to **bool** | If checked, users can scan 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] **ScanPackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to scan packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific scan setting. | [optional] [default to "Read"] **ShowSetupAll** | Pointer to **bool** | If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. | [optional] +**SkillsVersioning** | Pointer to **string** | How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. | [optional] [default to "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK"] **Slug** | Pointer to **string** | The slug identifies the repository in URIs. | [optional] **StrictNpmValidation** | Pointer to **bool** | If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. | [optional] **TagPreReleasesAsLatest** | Pointer to **bool** | If checked, packages pushed with a pre-release component on that version will be marked with the 'latest' tag. Note that if unchecked, a repository containing ONLY pre-release versions, will have no version marked latest which may cause incompatibility with native tools | [optional] @@ -991,6 +992,31 @@ SetShowSetupAll sets ShowSetupAll field to given value. HasShowSetupAll returns a boolean if a field has been set. +### GetSkillsVersioning + +`func (o *RepositoryRequestPatch) GetSkillsVersioning() string` + +GetSkillsVersioning returns the SkillsVersioning field if non-nil, zero value otherwise. + +### GetSkillsVersioningOk + +`func (o *RepositoryRequestPatch) GetSkillsVersioningOk() (*string, bool)` + +GetSkillsVersioningOk returns a tuple with the SkillsVersioning field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSkillsVersioning + +`func (o *RepositoryRequestPatch) SetSkillsVersioning(v string)` + +SetSkillsVersioning sets SkillsVersioning field to given value. + +### HasSkillsVersioning + +`func (o *RepositoryRequestPatch) HasSkillsVersioning() bool` + +HasSkillsVersioning returns a boolean if a field has been set. + ### GetSlug `func (o *RepositoryRequestPatch) GetSlug() string` diff --git a/docs/RpmPackageUpload.md b/docs/RpmPackageUpload.md index 953fe389a..f3c366958 100644 --- a/docs/RpmPackageUpload.md +++ b/docs/RpmPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *RpmPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *RpmPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *RpmPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *RpmPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *RpmPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *RpmPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *RpmPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *RpmPackageUpload) GetRepository() string` diff --git a/docs/RpmPackageUploadRequest.md b/docs/RpmPackageUploadRequest.md index c82898814..1b6b98b00 100644 --- a/docs/RpmPackageUploadRequest.md +++ b/docs/RpmPackageUploadRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Distribution** | **string** | The distribution to store the package for. | **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -68,6 +69,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *RpmPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *RpmPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *RpmPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *RpmPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *RpmPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *RpmPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *RpmPackageUploadRequest) GetRepublish() bool` diff --git a/docs/RubyPackageUpload.md b/docs/RubyPackageUpload.md index a0a719a7e..f347fa21e 100644 --- a/docs/RubyPackageUpload.md +++ b/docs/RubyPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *RubyPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *RubyPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *RubyPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *RubyPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *RubyPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *RubyPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *RubyPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *RubyPackageUpload) GetRepository() string` diff --git a/docs/RubyPackageUploadRequest.md b/docs/RubyPackageUploadRequest.md index ebbc046db..7a9c8d394 100644 --- a/docs/RubyPackageUploadRequest.md +++ b/docs/RubyPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *RubyPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *RubyPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *RubyPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *RubyPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *RubyPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *RubyPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *RubyPackageUploadRequest) GetRepublish() bool` diff --git a/docs/Service.md b/docs/Service.md index a3ae8a848..58cbe0dad 100644 --- a/docs/Service.md +++ b/docs/Service.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **CreatedByUrl** | Pointer to **string** | | [optional] [readonly] **Description** | Pointer to **string** | The description of the service | [optional] **Key** | Pointer to **string** | The API key of the service | [optional] [readonly] -**KeyExpiresAt** | Pointer to **NullableTime** | The time at which the API key will expire. This will only be populated if the Organization has an active API Key Policy. | [optional] [readonly] +**KeyExpiresAt** | Pointer to **NullableTime** | The time at which the API key will expire. This will only be populated if the Organization has an active API key rule. | [optional] [readonly] **Name** | **string** | The name of the service | **Role** | Pointer to **string** | The role of the service. | [optional] [default to "Member"] **Slug** | Pointer to **string** | The slug of the service | [optional] [readonly] diff --git a/docs/SkillsPackageUpload.md b/docs/SkillsPackageUpload.md new file mode 100644 index 000000000..54b0cdb8b --- /dev/null +++ b/docs/SkillsPackageUpload.md @@ -0,0 +1,2596 @@ +# SkillsPackageUpload + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Changelog** | Pointer to **NullableString** | | [optional] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **NullableString** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **NullableString** | A textual description of this package. | [optional] [readonly] +**DisplayName** | Pointer to **string** | | [optional] [readonly] +**DisplaySource** | Pointer to **string** | Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith). | [optional] [readonly] +**Distro** | Pointer to [**NullableDistribution**](Distribution.md) | | [optional] +**DistroVersion** | Pointer to [**DistributionVersion**](DistributionVersion.md) | | [optional] +**Downloads** | Pointer to **int64** | | [optional] [readonly] +**Epoch** | Pointer to **NullableInt64** | The epoch of the package version (if any). | [optional] [readonly] +**Extension** | Pointer to **string** | | [optional] [readonly] +**Filename** | Pointer to **string** | | [optional] [readonly] +**Files** | Pointer to [**[]PackageFile**](PackageFile.md) | | [optional] [readonly] +**Format** | Pointer to **string** | | [optional] [readonly] +**FormatUrl** | Pointer to **string** | | [optional] [readonly] +**FreeableStorage** | Pointer to **int64** | Amount of storage that will be freed if this package is deleted | [optional] [readonly] +**FullyQualifiedName** | Pointer to **NullableString** | | [optional] [readonly] +**IdentifierPerm** | Pointer to **string** | Unique and permanent identifier for the package. | [optional] [readonly] +**Identifiers** | Pointer to **map[string]string** | Return a map of identifier field names and their values. | [optional] [readonly] +**Indexed** | Pointer to **bool** | | [optional] [readonly] +**IsCancellable** | Pointer to **bool** | | [optional] [readonly] +**IsCopyable** | Pointer to **bool** | | [optional] [readonly] +**IsDeleteable** | Pointer to **bool** | | [optional] [readonly] +**IsDownloadable** | Pointer to **bool** | | [optional] [readonly] +**IsHidden** | Pointer to **bool** | | [optional] [readonly] +**IsMoveable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsResyncable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **NullableString** | The license of this package. | [optional] [readonly] +**Name** | **string** | | +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**OsiApproved** | Pointer to **bool** | Whether the package's SPDX license is OSI-approved. | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] +**RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] +**Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**SpdxLicense** | Pointer to **NullableString** | The SPDX license identifier for this package. | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **NullableString** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**StorePath** | Pointer to **NullableString** | Absolute store path for the package, including store hash and name. | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **NullableString** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **NullableTime** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsAutomatic** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsStatic** | Pointer to **map[string][]string** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional] [readonly] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | **string** | | +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] + +## Methods + +### NewSkillsPackageUpload + +`func NewSkillsPackageUpload(name string, version string, ) *SkillsPackageUpload` + +NewSkillsPackageUpload instantiates a new SkillsPackageUpload object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSkillsPackageUploadWithDefaults + +`func NewSkillsPackageUploadWithDefaults() *SkillsPackageUpload` + +NewSkillsPackageUploadWithDefaults instantiates a new SkillsPackageUpload object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetArchitectures + +`func (o *SkillsPackageUpload) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *SkillsPackageUpload) GetArchitecturesOk() (*[]Architecture, bool)` + +GetArchitecturesOk returns a tuple with the Architectures field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetArchitectures + +`func (o *SkillsPackageUpload) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *SkillsPackageUpload) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *SkillsPackageUpload) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *SkillsPackageUpload) GetCdnUrlOk() (*string, bool)` + +GetCdnUrlOk returns a tuple with the CdnUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCdnUrl + +`func (o *SkillsPackageUpload) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *SkillsPackageUpload) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *SkillsPackageUpload) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *SkillsPackageUpload) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChangelog + +`func (o *SkillsPackageUpload) GetChangelog() string` + +GetChangelog returns the Changelog field if non-nil, zero value otherwise. + +### GetChangelogOk + +`func (o *SkillsPackageUpload) GetChangelogOk() (*string, bool)` + +GetChangelogOk returns a tuple with the Changelog field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChangelog + +`func (o *SkillsPackageUpload) SetChangelog(v string)` + +SetChangelog sets Changelog field to given value. + +### HasChangelog + +`func (o *SkillsPackageUpload) HasChangelog() bool` + +HasChangelog returns a boolean if a field has been set. + +### SetChangelogNil + +`func (o *SkillsPackageUpload) SetChangelogNil(b bool)` + + SetChangelogNil sets the value for Changelog to be an explicit nil + +### UnsetChangelog +`func (o *SkillsPackageUpload) UnsetChangelog()` + +UnsetChangelog ensures that no value is present for Changelog, not even an explicit nil +### GetChecksumMd5 + +`func (o *SkillsPackageUpload) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *SkillsPackageUpload) GetChecksumMd5Ok() (*string, bool)` + +GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumMd5 + +`func (o *SkillsPackageUpload) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *SkillsPackageUpload) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *SkillsPackageUpload) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *SkillsPackageUpload) GetChecksumSha1Ok() (*string, bool)` + +GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha1 + +`func (o *SkillsPackageUpload) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *SkillsPackageUpload) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *SkillsPackageUpload) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *SkillsPackageUpload) GetChecksumSha256Ok() (*string, bool)` + +GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha256 + +`func (o *SkillsPackageUpload) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *SkillsPackageUpload) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *SkillsPackageUpload) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *SkillsPackageUpload) GetChecksumSha512Ok() (*string, bool)` + +GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChecksumSha512 + +`func (o *SkillsPackageUpload) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *SkillsPackageUpload) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *SkillsPackageUpload) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *SkillsPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool)` + +GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesChecksumMd5 + +`func (o *SkillsPackageUpload) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *SkillsPackageUpload) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### SetDependenciesChecksumMd5Nil + +`func (o *SkillsPackageUpload) SetDependenciesChecksumMd5Nil(b bool)` + + SetDependenciesChecksumMd5Nil sets the value for DependenciesChecksumMd5 to be an explicit nil + +### UnsetDependenciesChecksumMd5 +`func (o *SkillsPackageUpload) UnsetDependenciesChecksumMd5()` + +UnsetDependenciesChecksumMd5 ensures that no value is present for DependenciesChecksumMd5, not even an explicit nil +### GetDependenciesUrl + +`func (o *SkillsPackageUpload) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *SkillsPackageUpload) GetDependenciesUrlOk() (*string, bool)` + +GetDependenciesUrlOk returns a tuple with the DependenciesUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDependenciesUrl + +`func (o *SkillsPackageUpload) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *SkillsPackageUpload) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *SkillsPackageUpload) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *SkillsPackageUpload) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *SkillsPackageUpload) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *SkillsPackageUpload) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *SkillsPackageUpload) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *SkillsPackageUpload) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *SkillsPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *SkillsPackageUpload) GetDisplayNameOk() (*string, bool)` + +GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplayName + +`func (o *SkillsPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *SkillsPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + +### GetDisplaySource + +`func (o *SkillsPackageUpload) GetDisplaySource() string` + +GetDisplaySource returns the DisplaySource field if non-nil, zero value otherwise. + +### GetDisplaySourceOk + +`func (o *SkillsPackageUpload) GetDisplaySourceOk() (*string, bool)` + +GetDisplaySourceOk returns a tuple with the DisplaySource field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisplaySource + +`func (o *SkillsPackageUpload) SetDisplaySource(v string)` + +SetDisplaySource sets DisplaySource field to given value. + +### HasDisplaySource + +`func (o *SkillsPackageUpload) HasDisplaySource() bool` + +HasDisplaySource returns a boolean if a field has been set. + +### GetDistro + +`func (o *SkillsPackageUpload) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *SkillsPackageUpload) GetDistroOk() (*Distribution, bool)` + +GetDistroOk returns a tuple with the Distro field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistro + +`func (o *SkillsPackageUpload) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *SkillsPackageUpload) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *SkillsPackageUpload) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *SkillsPackageUpload) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *SkillsPackageUpload) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *SkillsPackageUpload) GetDistroVersionOk() (*DistributionVersion, bool)` + +GetDistroVersionOk returns a tuple with the DistroVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDistroVersion + +`func (o *SkillsPackageUpload) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *SkillsPackageUpload) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *SkillsPackageUpload) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *SkillsPackageUpload) GetDownloadsOk() (*int64, bool)` + +GetDownloadsOk returns a tuple with the Downloads field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDownloads + +`func (o *SkillsPackageUpload) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *SkillsPackageUpload) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *SkillsPackageUpload) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *SkillsPackageUpload) GetEpochOk() (*int64, bool)` + +GetEpochOk returns a tuple with the Epoch field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetEpoch + +`func (o *SkillsPackageUpload) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *SkillsPackageUpload) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### SetEpochNil + +`func (o *SkillsPackageUpload) SetEpochNil(b bool)` + + SetEpochNil sets the value for Epoch to be an explicit nil + +### UnsetEpoch +`func (o *SkillsPackageUpload) UnsetEpoch()` + +UnsetEpoch ensures that no value is present for Epoch, not even an explicit nil +### GetExtension + +`func (o *SkillsPackageUpload) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *SkillsPackageUpload) GetExtensionOk() (*string, bool)` + +GetExtensionOk returns a tuple with the Extension field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtension + +`func (o *SkillsPackageUpload) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *SkillsPackageUpload) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *SkillsPackageUpload) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *SkillsPackageUpload) GetFilenameOk() (*string, bool)` + +GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFilename + +`func (o *SkillsPackageUpload) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *SkillsPackageUpload) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *SkillsPackageUpload) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *SkillsPackageUpload) GetFilesOk() (*[]PackageFile, bool)` + +GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFiles + +`func (o *SkillsPackageUpload) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *SkillsPackageUpload) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *SkillsPackageUpload) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *SkillsPackageUpload) GetFormatOk() (*string, bool)` + +GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormat + +`func (o *SkillsPackageUpload) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *SkillsPackageUpload) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *SkillsPackageUpload) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *SkillsPackageUpload) GetFormatUrlOk() (*string, bool)` + +GetFormatUrlOk returns a tuple with the FormatUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFormatUrl + +`func (o *SkillsPackageUpload) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *SkillsPackageUpload) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetFreeableStorage + +`func (o *SkillsPackageUpload) GetFreeableStorage() int64` + +GetFreeableStorage returns the FreeableStorage field if non-nil, zero value otherwise. + +### GetFreeableStorageOk + +`func (o *SkillsPackageUpload) GetFreeableStorageOk() (*int64, bool)` + +GetFreeableStorageOk returns a tuple with the FreeableStorage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFreeableStorage + +`func (o *SkillsPackageUpload) SetFreeableStorage(v int64)` + +SetFreeableStorage sets FreeableStorage field to given value. + +### HasFreeableStorage + +`func (o *SkillsPackageUpload) HasFreeableStorage() bool` + +HasFreeableStorage returns a boolean if a field has been set. + +### GetFullyQualifiedName + +`func (o *SkillsPackageUpload) GetFullyQualifiedName() string` + +GetFullyQualifiedName returns the FullyQualifiedName field if non-nil, zero value otherwise. + +### GetFullyQualifiedNameOk + +`func (o *SkillsPackageUpload) GetFullyQualifiedNameOk() (*string, bool)` + +GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFullyQualifiedName + +`func (o *SkillsPackageUpload) SetFullyQualifiedName(v string)` + +SetFullyQualifiedName sets FullyQualifiedName field to given value. + +### HasFullyQualifiedName + +`func (o *SkillsPackageUpload) HasFullyQualifiedName() bool` + +HasFullyQualifiedName returns a boolean if a field has been set. + +### SetFullyQualifiedNameNil + +`func (o *SkillsPackageUpload) SetFullyQualifiedNameNil(b bool)` + + SetFullyQualifiedNameNil sets the value for FullyQualifiedName to be an explicit nil + +### UnsetFullyQualifiedName +`func (o *SkillsPackageUpload) UnsetFullyQualifiedName()` + +UnsetFullyQualifiedName ensures that no value is present for FullyQualifiedName, not even an explicit nil +### GetIdentifierPerm + +`func (o *SkillsPackageUpload) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *SkillsPackageUpload) GetIdentifierPermOk() (*string, bool)` + +GetIdentifierPermOk returns a tuple with the IdentifierPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifierPerm + +`func (o *SkillsPackageUpload) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *SkillsPackageUpload) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIdentifiers + +`func (o *SkillsPackageUpload) GetIdentifiers() map[string]string` + +GetIdentifiers returns the Identifiers field if non-nil, zero value otherwise. + +### GetIdentifiersOk + +`func (o *SkillsPackageUpload) GetIdentifiersOk() (*map[string]string, bool)` + +GetIdentifiersOk returns a tuple with the Identifiers field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIdentifiers + +`func (o *SkillsPackageUpload) SetIdentifiers(v map[string]string)` + +SetIdentifiers sets Identifiers field to given value. + +### HasIdentifiers + +`func (o *SkillsPackageUpload) HasIdentifiers() bool` + +HasIdentifiers returns a boolean if a field has been set. + +### GetIndexed + +`func (o *SkillsPackageUpload) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *SkillsPackageUpload) GetIndexedOk() (*bool, bool)` + +GetIndexedOk returns a tuple with the Indexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexed + +`func (o *SkillsPackageUpload) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *SkillsPackageUpload) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsCancellable + +`func (o *SkillsPackageUpload) GetIsCancellable() bool` + +GetIsCancellable returns the IsCancellable field if non-nil, zero value otherwise. + +### GetIsCancellableOk + +`func (o *SkillsPackageUpload) GetIsCancellableOk() (*bool, bool)` + +GetIsCancellableOk returns a tuple with the IsCancellable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsCancellable + +`func (o *SkillsPackageUpload) SetIsCancellable(v bool)` + +SetIsCancellable sets IsCancellable field to given value. + +### HasIsCancellable + +`func (o *SkillsPackageUpload) HasIsCancellable() bool` + +HasIsCancellable returns a boolean if a field has been set. + +### GetIsCopyable + +`func (o *SkillsPackageUpload) GetIsCopyable() bool` + +GetIsCopyable returns the IsCopyable field if non-nil, zero value otherwise. + +### GetIsCopyableOk + +`func (o *SkillsPackageUpload) GetIsCopyableOk() (*bool, bool)` + +GetIsCopyableOk returns a tuple with the IsCopyable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsCopyable + +`func (o *SkillsPackageUpload) SetIsCopyable(v bool)` + +SetIsCopyable sets IsCopyable field to given value. + +### HasIsCopyable + +`func (o *SkillsPackageUpload) HasIsCopyable() bool` + +HasIsCopyable returns a boolean if a field has been set. + +### GetIsDeleteable + +`func (o *SkillsPackageUpload) GetIsDeleteable() bool` + +GetIsDeleteable returns the IsDeleteable field if non-nil, zero value otherwise. + +### GetIsDeleteableOk + +`func (o *SkillsPackageUpload) GetIsDeleteableOk() (*bool, bool)` + +GetIsDeleteableOk returns a tuple with the IsDeleteable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDeleteable + +`func (o *SkillsPackageUpload) SetIsDeleteable(v bool)` + +SetIsDeleteable sets IsDeleteable field to given value. + +### HasIsDeleteable + +`func (o *SkillsPackageUpload) HasIsDeleteable() bool` + +HasIsDeleteable returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *SkillsPackageUpload) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *SkillsPackageUpload) GetIsDownloadableOk() (*bool, bool)` + +GetIsDownloadableOk returns a tuple with the IsDownloadable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsDownloadable + +`func (o *SkillsPackageUpload) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *SkillsPackageUpload) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsHidden + +`func (o *SkillsPackageUpload) GetIsHidden() bool` + +GetIsHidden returns the IsHidden field if non-nil, zero value otherwise. + +### GetIsHiddenOk + +`func (o *SkillsPackageUpload) GetIsHiddenOk() (*bool, bool)` + +GetIsHiddenOk returns a tuple with the IsHidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsHidden + +`func (o *SkillsPackageUpload) SetIsHidden(v bool)` + +SetIsHidden sets IsHidden field to given value. + +### HasIsHidden + +`func (o *SkillsPackageUpload) HasIsHidden() bool` + +HasIsHidden returns a boolean if a field has been set. + +### GetIsMoveable + +`func (o *SkillsPackageUpload) GetIsMoveable() bool` + +GetIsMoveable returns the IsMoveable field if non-nil, zero value otherwise. + +### GetIsMoveableOk + +`func (o *SkillsPackageUpload) GetIsMoveableOk() (*bool, bool)` + +GetIsMoveableOk returns a tuple with the IsMoveable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsMoveable + +`func (o *SkillsPackageUpload) SetIsMoveable(v bool)` + +SetIsMoveable sets IsMoveable field to given value. + +### HasIsMoveable + +`func (o *SkillsPackageUpload) HasIsMoveable() bool` + +HasIsMoveable returns a boolean if a field has been set. + +### GetIsQuarantinable + +`func (o *SkillsPackageUpload) GetIsQuarantinable() bool` + +GetIsQuarantinable returns the IsQuarantinable field if non-nil, zero value otherwise. + +### GetIsQuarantinableOk + +`func (o *SkillsPackageUpload) GetIsQuarantinableOk() (*bool, bool)` + +GetIsQuarantinableOk returns a tuple with the IsQuarantinable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantinable + +`func (o *SkillsPackageUpload) SetIsQuarantinable(v bool)` + +SetIsQuarantinable sets IsQuarantinable field to given value. + +### HasIsQuarantinable + +`func (o *SkillsPackageUpload) HasIsQuarantinable() bool` + +HasIsQuarantinable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *SkillsPackageUpload) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *SkillsPackageUpload) GetIsQuarantinedOk() (*bool, bool)` + +GetIsQuarantinedOk returns a tuple with the IsQuarantined field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsQuarantined + +`func (o *SkillsPackageUpload) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *SkillsPackageUpload) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsResyncable + +`func (o *SkillsPackageUpload) GetIsResyncable() bool` + +GetIsResyncable returns the IsResyncable field if non-nil, zero value otherwise. + +### GetIsResyncableOk + +`func (o *SkillsPackageUpload) GetIsResyncableOk() (*bool, bool)` + +GetIsResyncableOk returns a tuple with the IsResyncable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsResyncable + +`func (o *SkillsPackageUpload) SetIsResyncable(v bool)` + +SetIsResyncable sets IsResyncable field to given value. + +### HasIsResyncable + +`func (o *SkillsPackageUpload) HasIsResyncable() bool` + +HasIsResyncable returns a boolean if a field has been set. + +### GetIsSecurityScannable + +`func (o *SkillsPackageUpload) GetIsSecurityScannable() bool` + +GetIsSecurityScannable returns the IsSecurityScannable field if non-nil, zero value otherwise. + +### GetIsSecurityScannableOk + +`func (o *SkillsPackageUpload) GetIsSecurityScannableOk() (*bool, bool)` + +GetIsSecurityScannableOk returns a tuple with the IsSecurityScannable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSecurityScannable + +`func (o *SkillsPackageUpload) SetIsSecurityScannable(v bool)` + +SetIsSecurityScannable sets IsSecurityScannable field to given value. + +### HasIsSecurityScannable + +`func (o *SkillsPackageUpload) HasIsSecurityScannable() bool` + +HasIsSecurityScannable returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *SkillsPackageUpload) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *SkillsPackageUpload) GetIsSyncAwaitingOk() (*bool, bool)` + +GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncAwaiting + +`func (o *SkillsPackageUpload) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *SkillsPackageUpload) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *SkillsPackageUpload) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *SkillsPackageUpload) GetIsSyncCompletedOk() (*bool, bool)` + +GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncCompleted + +`func (o *SkillsPackageUpload) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *SkillsPackageUpload) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *SkillsPackageUpload) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *SkillsPackageUpload) GetIsSyncFailedOk() (*bool, bool)` + +GetIsSyncFailedOk returns a tuple with the IsSyncFailed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncFailed + +`func (o *SkillsPackageUpload) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *SkillsPackageUpload) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *SkillsPackageUpload) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *SkillsPackageUpload) GetIsSyncInFlightOk() (*bool, bool)` + +GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInFlight + +`func (o *SkillsPackageUpload) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *SkillsPackageUpload) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *SkillsPackageUpload) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *SkillsPackageUpload) GetIsSyncInProgressOk() (*bool, bool)` + +GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsSyncInProgress + +`func (o *SkillsPackageUpload) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *SkillsPackageUpload) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *SkillsPackageUpload) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *SkillsPackageUpload) GetLicenseOk() (*string, bool)` + +GetLicenseOk returns a tuple with the License field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLicense + +`func (o *SkillsPackageUpload) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *SkillsPackageUpload) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### SetLicenseNil + +`func (o *SkillsPackageUpload) SetLicenseNil(b bool)` + + SetLicenseNil sets the value for License to be an explicit nil + +### UnsetLicense +`func (o *SkillsPackageUpload) UnsetLicense()` + +UnsetLicense ensures that no value is present for License, not even an explicit nil +### GetName + +`func (o *SkillsPackageUpload) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsPackageUpload) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsPackageUpload) SetName(v string)` + +SetName sets Name field to given value. + + +### GetNamespace + +`func (o *SkillsPackageUpload) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *SkillsPackageUpload) GetNamespaceOk() (*string, bool)` + +GetNamespaceOk returns a tuple with the Namespace field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespace + +`func (o *SkillsPackageUpload) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *SkillsPackageUpload) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *SkillsPackageUpload) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *SkillsPackageUpload) GetNamespaceUrlOk() (*string, bool)` + +GetNamespaceUrlOk returns a tuple with the NamespaceUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNamespaceUrl + +`func (o *SkillsPackageUpload) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *SkillsPackageUpload) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *SkillsPackageUpload) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *SkillsPackageUpload) GetNumFilesOk() (*int64, bool)` + +GetNumFilesOk returns a tuple with the NumFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNumFiles + +`func (o *SkillsPackageUpload) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *SkillsPackageUpload) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *SkillsPackageUpload) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *SkillsPackageUpload) GetOriginRepositoryOk() (*string, bool)` + +GetOriginRepositoryOk returns a tuple with the OriginRepository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepository + +`func (o *SkillsPackageUpload) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *SkillsPackageUpload) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *SkillsPackageUpload) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *SkillsPackageUpload) GetOriginRepositoryUrlOk() (*string, bool)` + +GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginRepositoryUrl + +`func (o *SkillsPackageUpload) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *SkillsPackageUpload) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetOsiApproved + +`func (o *SkillsPackageUpload) GetOsiApproved() bool` + +GetOsiApproved returns the OsiApproved field if non-nil, zero value otherwise. + +### GetOsiApprovedOk + +`func (o *SkillsPackageUpload) GetOsiApprovedOk() (*bool, bool)` + +GetOsiApprovedOk returns a tuple with the OsiApproved field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOsiApproved + +`func (o *SkillsPackageUpload) SetOsiApproved(v bool)` + +SetOsiApproved sets OsiApproved field to given value. + +### HasOsiApproved + +`func (o *SkillsPackageUpload) HasOsiApproved() bool` + +HasOsiApproved returns a boolean if a field has been set. + +### GetPackageType + +`func (o *SkillsPackageUpload) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *SkillsPackageUpload) GetPackageTypeOk() (*int64, bool)` + +GetPackageTypeOk returns a tuple with the PackageType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageType + +`func (o *SkillsPackageUpload) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *SkillsPackageUpload) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetPolicyViolated + +`func (o *SkillsPackageUpload) GetPolicyViolated() bool` + +GetPolicyViolated returns the PolicyViolated field if non-nil, zero value otherwise. + +### GetPolicyViolatedOk + +`func (o *SkillsPackageUpload) GetPolicyViolatedOk() (*bool, bool)` + +GetPolicyViolatedOk returns a tuple with the PolicyViolated field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPolicyViolated + +`func (o *SkillsPackageUpload) SetPolicyViolated(v bool)` + +SetPolicyViolated sets PolicyViolated field to given value. + +### HasPolicyViolated + +`func (o *SkillsPackageUpload) HasPolicyViolated() bool` + +HasPolicyViolated returns a boolean if a field has been set. + +### GetRawLicense + +`func (o *SkillsPackageUpload) GetRawLicense() string` + +GetRawLicense returns the RawLicense field if non-nil, zero value otherwise. + +### GetRawLicenseOk + +`func (o *SkillsPackageUpload) GetRawLicenseOk() (*string, bool)` + +GetRawLicenseOk returns a tuple with the RawLicense field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRawLicense + +`func (o *SkillsPackageUpload) SetRawLicense(v string)` + +SetRawLicense sets RawLicense field to given value. + +### HasRawLicense + +`func (o *SkillsPackageUpload) HasRawLicense() bool` + +HasRawLicense returns a boolean if a field has been set. + +### SetRawLicenseNil + +`func (o *SkillsPackageUpload) SetRawLicenseNil(b bool)` + + SetRawLicenseNil sets the value for RawLicense to be an explicit nil + +### UnsetRawLicense +`func (o *SkillsPackageUpload) UnsetRawLicense()` + +UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +### GetRelease + +`func (o *SkillsPackageUpload) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *SkillsPackageUpload) GetReleaseOk() (*string, bool)` + +GetReleaseOk returns a tuple with the Release field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRelease + +`func (o *SkillsPackageUpload) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *SkillsPackageUpload) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### SetReleaseNil + +`func (o *SkillsPackageUpload) SetReleaseNil(b bool)` + + SetReleaseNil sets the value for Release to be an explicit nil + +### UnsetRelease +`func (o *SkillsPackageUpload) UnsetRelease()` + +UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *SkillsPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *SkillsPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *SkillsPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *SkillsPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *SkillsPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *SkillsPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +### GetRepository + +`func (o *SkillsPackageUpload) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *SkillsPackageUpload) GetRepositoryOk() (*string, bool)` + +GetRepositoryOk returns a tuple with the Repository field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepository + +`func (o *SkillsPackageUpload) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *SkillsPackageUpload) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *SkillsPackageUpload) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *SkillsPackageUpload) GetRepositoryUrlOk() (*string, bool)` + +GetRepositoryUrlOk returns a tuple with the RepositoryUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepositoryUrl + +`func (o *SkillsPackageUpload) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *SkillsPackageUpload) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *SkillsPackageUpload) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *SkillsPackageUpload) GetSecurityScanCompletedAtOk() (*time.Time, bool)` + +GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanCompletedAt + +`func (o *SkillsPackageUpload) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *SkillsPackageUpload) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### SetSecurityScanCompletedAtNil + +`func (o *SkillsPackageUpload) SetSecurityScanCompletedAtNil(b bool)` + + SetSecurityScanCompletedAtNil sets the value for SecurityScanCompletedAt to be an explicit nil + +### UnsetSecurityScanCompletedAt +`func (o *SkillsPackageUpload) UnsetSecurityScanCompletedAt()` + +UnsetSecurityScanCompletedAt ensures that no value is present for SecurityScanCompletedAt, not even an explicit nil +### GetSecurityScanStartedAt + +`func (o *SkillsPackageUpload) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *SkillsPackageUpload) GetSecurityScanStartedAtOk() (*time.Time, bool)` + +GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStartedAt + +`func (o *SkillsPackageUpload) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *SkillsPackageUpload) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### SetSecurityScanStartedAtNil + +`func (o *SkillsPackageUpload) SetSecurityScanStartedAtNil(b bool)` + + SetSecurityScanStartedAtNil sets the value for SecurityScanStartedAt to be an explicit nil + +### UnsetSecurityScanStartedAt +`func (o *SkillsPackageUpload) UnsetSecurityScanStartedAt()` + +UnsetSecurityScanStartedAt ensures that no value is present for SecurityScanStartedAt, not even an explicit nil +### GetSecurityScanStatus + +`func (o *SkillsPackageUpload) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *SkillsPackageUpload) GetSecurityScanStatusOk() (*string, bool)` + +GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatus + +`func (o *SkillsPackageUpload) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *SkillsPackageUpload) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *SkillsPackageUpload) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *SkillsPackageUpload) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool)` + +GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurityScanStatusUpdatedAt + +`func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *SkillsPackageUpload) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### SetSecurityScanStatusUpdatedAtNil + +`func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAtNil(b bool)` + + SetSecurityScanStatusUpdatedAtNil sets the value for SecurityScanStatusUpdatedAt to be an explicit nil + +### UnsetSecurityScanStatusUpdatedAt +`func (o *SkillsPackageUpload) UnsetSecurityScanStatusUpdatedAt()` + +UnsetSecurityScanStatusUpdatedAt ensures that no value is present for SecurityScanStatusUpdatedAt, not even an explicit nil +### GetSelfHtmlUrl + +`func (o *SkillsPackageUpload) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *SkillsPackageUpload) GetSelfHtmlUrlOk() (*string, bool)` + +GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfHtmlUrl + +`func (o *SkillsPackageUpload) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *SkillsPackageUpload) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *SkillsPackageUpload) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *SkillsPackageUpload) GetSelfUrlOk() (*string, bool)` + +GetSelfUrlOk returns a tuple with the SelfUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfUrl + +`func (o *SkillsPackageUpload) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *SkillsPackageUpload) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSelfWebappUrl + +`func (o *SkillsPackageUpload) GetSelfWebappUrl() string` + +GetSelfWebappUrl returns the SelfWebappUrl field if non-nil, zero value otherwise. + +### GetSelfWebappUrlOk + +`func (o *SkillsPackageUpload) GetSelfWebappUrlOk() (*string, bool)` + +GetSelfWebappUrlOk returns a tuple with the SelfWebappUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelfWebappUrl + +`func (o *SkillsPackageUpload) SetSelfWebappUrl(v string)` + +SetSelfWebappUrl sets SelfWebappUrl field to given value. + +### HasSelfWebappUrl + +`func (o *SkillsPackageUpload) HasSelfWebappUrl() bool` + +HasSelfWebappUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *SkillsPackageUpload) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *SkillsPackageUpload) GetSignatureUrlOk() (*string, bool)` + +GetSignatureUrlOk returns a tuple with the SignatureUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSignatureUrl + +`func (o *SkillsPackageUpload) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *SkillsPackageUpload) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *SkillsPackageUpload) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *SkillsPackageUpload) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *SkillsPackageUpload) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *SkillsPackageUpload) GetSizeOk() (*int64, bool)` + +GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSize + +`func (o *SkillsPackageUpload) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *SkillsPackageUpload) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *SkillsPackageUpload) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *SkillsPackageUpload) GetSlugOk() (*string, bool)` + +GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlug + +`func (o *SkillsPackageUpload) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *SkillsPackageUpload) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *SkillsPackageUpload) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *SkillsPackageUpload) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *SkillsPackageUpload) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *SkillsPackageUpload) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetSpdxLicense + +`func (o *SkillsPackageUpload) GetSpdxLicense() string` + +GetSpdxLicense returns the SpdxLicense field if non-nil, zero value otherwise. + +### GetSpdxLicenseOk + +`func (o *SkillsPackageUpload) GetSpdxLicenseOk() (*string, bool)` + +GetSpdxLicenseOk returns a tuple with the SpdxLicense field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSpdxLicense + +`func (o *SkillsPackageUpload) SetSpdxLicense(v string)` + +SetSpdxLicense sets SpdxLicense field to given value. + +### HasSpdxLicense + +`func (o *SkillsPackageUpload) HasSpdxLicense() bool` + +HasSpdxLicense returns a boolean if a field has been set. + +### SetSpdxLicenseNil + +`func (o *SkillsPackageUpload) SetSpdxLicenseNil(b bool)` + + SetSpdxLicenseNil sets the value for SpdxLicense to be an explicit nil + +### UnsetSpdxLicense +`func (o *SkillsPackageUpload) UnsetSpdxLicense()` + +UnsetSpdxLicense ensures that no value is present for SpdxLicense, not even an explicit nil +### GetStage + +`func (o *SkillsPackageUpload) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *SkillsPackageUpload) GetStageOk() (*int64, bool)` + +GetStageOk returns a tuple with the Stage field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStage + +`func (o *SkillsPackageUpload) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *SkillsPackageUpload) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *SkillsPackageUpload) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *SkillsPackageUpload) GetStageStrOk() (*string, bool)` + +GetStageStrOk returns a tuple with the StageStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageStr + +`func (o *SkillsPackageUpload) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *SkillsPackageUpload) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *SkillsPackageUpload) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *SkillsPackageUpload) GetStageUpdatedAtOk() (*time.Time, bool)` + +GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStageUpdatedAt + +`func (o *SkillsPackageUpload) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *SkillsPackageUpload) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *SkillsPackageUpload) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *SkillsPackageUpload) GetStatusOk() (*int64, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *SkillsPackageUpload) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *SkillsPackageUpload) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *SkillsPackageUpload) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *SkillsPackageUpload) GetStatusReasonOk() (*string, bool)` + +GetStatusReasonOk returns a tuple with the StatusReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusReason + +`func (o *SkillsPackageUpload) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *SkillsPackageUpload) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### SetStatusReasonNil + +`func (o *SkillsPackageUpload) SetStatusReasonNil(b bool)` + + SetStatusReasonNil sets the value for StatusReason to be an explicit nil + +### UnsetStatusReason +`func (o *SkillsPackageUpload) UnsetStatusReason()` + +UnsetStatusReason ensures that no value is present for StatusReason, not even an explicit nil +### GetStatusStr + +`func (o *SkillsPackageUpload) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *SkillsPackageUpload) GetStatusStrOk() (*string, bool)` + +GetStatusStrOk returns a tuple with the StatusStr field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusStr + +`func (o *SkillsPackageUpload) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *SkillsPackageUpload) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *SkillsPackageUpload) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *SkillsPackageUpload) GetStatusUpdatedAtOk() (*time.Time, bool)` + +GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUpdatedAt + +`func (o *SkillsPackageUpload) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *SkillsPackageUpload) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *SkillsPackageUpload) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *SkillsPackageUpload) GetStatusUrlOk() (*string, bool)` + +GetStatusUrlOk returns a tuple with the StatusUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatusUrl + +`func (o *SkillsPackageUpload) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *SkillsPackageUpload) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetStorePath + +`func (o *SkillsPackageUpload) GetStorePath() string` + +GetStorePath returns the StorePath field if non-nil, zero value otherwise. + +### GetStorePathOk + +`func (o *SkillsPackageUpload) GetStorePathOk() (*string, bool)` + +GetStorePathOk returns a tuple with the StorePath field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStorePath + +`func (o *SkillsPackageUpload) SetStorePath(v string)` + +SetStorePath sets StorePath field to given value. + +### HasStorePath + +`func (o *SkillsPackageUpload) HasStorePath() bool` + +HasStorePath returns a boolean if a field has been set. + +### SetStorePathNil + +`func (o *SkillsPackageUpload) SetStorePathNil(b bool)` + + SetStorePathNil sets the value for StorePath to be an explicit nil + +### UnsetStorePath +`func (o *SkillsPackageUpload) UnsetStorePath()` + +UnsetStorePath ensures that no value is present for StorePath, not even an explicit nil +### GetSubtype + +`func (o *SkillsPackageUpload) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *SkillsPackageUpload) GetSubtypeOk() (*string, bool)` + +GetSubtypeOk returns a tuple with the Subtype field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSubtype + +`func (o *SkillsPackageUpload) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *SkillsPackageUpload) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *SkillsPackageUpload) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *SkillsPackageUpload) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *SkillsPackageUpload) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *SkillsPackageUpload) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### SetSummaryNil + +`func (o *SkillsPackageUpload) SetSummaryNil(b bool)` + + SetSummaryNil sets the value for Summary to be an explicit nil + +### UnsetSummary +`func (o *SkillsPackageUpload) UnsetSummary()` + +UnsetSummary ensures that no value is present for Summary, not even an explicit nil +### GetSyncFinishedAt + +`func (o *SkillsPackageUpload) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *SkillsPackageUpload) GetSyncFinishedAtOk() (*time.Time, bool)` + +GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncFinishedAt + +`func (o *SkillsPackageUpload) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *SkillsPackageUpload) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### SetSyncFinishedAtNil + +`func (o *SkillsPackageUpload) SetSyncFinishedAtNil(b bool)` + + SetSyncFinishedAtNil sets the value for SyncFinishedAt to be an explicit nil + +### UnsetSyncFinishedAt +`func (o *SkillsPackageUpload) UnsetSyncFinishedAt()` + +UnsetSyncFinishedAt ensures that no value is present for SyncFinishedAt, not even an explicit nil +### GetSyncProgress + +`func (o *SkillsPackageUpload) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *SkillsPackageUpload) GetSyncProgressOk() (*int64, bool)` + +GetSyncProgressOk returns a tuple with the SyncProgress field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSyncProgress + +`func (o *SkillsPackageUpload) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *SkillsPackageUpload) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsAutomatic + +`func (o *SkillsPackageUpload) GetTagsAutomatic() map[string]interface{}` + +GetTagsAutomatic returns the TagsAutomatic field if non-nil, zero value otherwise. + +### GetTagsAutomaticOk + +`func (o *SkillsPackageUpload) GetTagsAutomaticOk() (*map[string]interface{}, bool)` + +GetTagsAutomaticOk returns a tuple with the TagsAutomatic field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsAutomatic + +`func (o *SkillsPackageUpload) SetTagsAutomatic(v map[string]interface{})` + +SetTagsAutomatic sets TagsAutomatic field to given value. + +### HasTagsAutomatic + +`func (o *SkillsPackageUpload) HasTagsAutomatic() bool` + +HasTagsAutomatic returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *SkillsPackageUpload) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *SkillsPackageUpload) GetTagsImmutableOk() (*map[string]interface{}, bool)` + +GetTagsImmutableOk returns a tuple with the TagsImmutable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsImmutable + +`func (o *SkillsPackageUpload) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *SkillsPackageUpload) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTagsStatic + +`func (o *SkillsPackageUpload) GetTagsStatic() map[string][]string` + +GetTagsStatic returns the TagsStatic field if non-nil, zero value otherwise. + +### GetTagsStaticOk + +`func (o *SkillsPackageUpload) GetTagsStaticOk() (*map[string][]string, bool)` + +GetTagsStaticOk returns a tuple with the TagsStatic field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTagsStatic + +`func (o *SkillsPackageUpload) SetTagsStatic(v map[string][]string)` + +SetTagsStatic sets TagsStatic field to given value. + +### HasTagsStatic + +`func (o *SkillsPackageUpload) HasTagsStatic() bool` + +HasTagsStatic returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *SkillsPackageUpload) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *SkillsPackageUpload) GetTypeDisplayOk() (*string, bool)` + +GetTypeDisplayOk returns a tuple with the TypeDisplay field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTypeDisplay + +`func (o *SkillsPackageUpload) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *SkillsPackageUpload) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *SkillsPackageUpload) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *SkillsPackageUpload) GetUploadedAtOk() (*time.Time, bool)` + +GetUploadedAtOk returns a tuple with the UploadedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploadedAt + +`func (o *SkillsPackageUpload) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *SkillsPackageUpload) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *SkillsPackageUpload) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *SkillsPackageUpload) GetUploaderOk() (*string, bool)` + +GetUploaderOk returns a tuple with the Uploader field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploader + +`func (o *SkillsPackageUpload) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *SkillsPackageUpload) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *SkillsPackageUpload) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *SkillsPackageUpload) GetUploaderUrlOk() (*string, bool)` + +GetUploaderUrlOk returns a tuple with the UploaderUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUploaderUrl + +`func (o *SkillsPackageUpload) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *SkillsPackageUpload) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *SkillsPackageUpload) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *SkillsPackageUpload) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *SkillsPackageUpload) SetVersion(v string)` + +SetVersion sets Version field to given value. + + +### GetVersionOrig + +`func (o *SkillsPackageUpload) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *SkillsPackageUpload) GetVersionOrigOk() (*string, bool)` + +GetVersionOrigOk returns a tuple with the VersionOrig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersionOrig + +`func (o *SkillsPackageUpload) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *SkillsPackageUpload) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityScanResultsUrl + +`func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool)` + +GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityScanResultsUrl + +`func (o *SkillsPackageUpload) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *SkillsPackageUpload) HasVulnerabilityScanResultsUrl() bool` + +HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SkillsPackageUploadRequest.md b/docs/SkillsPackageUploadRequest.md new file mode 100644 index 000000000..d62350f1c --- /dev/null +++ b/docs/SkillsPackageUploadRequest.md @@ -0,0 +1,227 @@ +# SkillsPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Changelog** | Pointer to **NullableString** | | [optional] +**Name** | **string** | | +**PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] +**Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] +**Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] +**Version** | **string** | | + +## Methods + +### NewSkillsPackageUploadRequest + +`func NewSkillsPackageUploadRequest(name string, packageFile string, version string, ) *SkillsPackageUploadRequest` + +NewSkillsPackageUploadRequest instantiates a new SkillsPackageUploadRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSkillsPackageUploadRequestWithDefaults + +`func NewSkillsPackageUploadRequestWithDefaults() *SkillsPackageUploadRequest` + +NewSkillsPackageUploadRequestWithDefaults instantiates a new SkillsPackageUploadRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetChangelog + +`func (o *SkillsPackageUploadRequest) GetChangelog() string` + +GetChangelog returns the Changelog field if non-nil, zero value otherwise. + +### GetChangelogOk + +`func (o *SkillsPackageUploadRequest) GetChangelogOk() (*string, bool)` + +GetChangelogOk returns a tuple with the Changelog field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetChangelog + +`func (o *SkillsPackageUploadRequest) SetChangelog(v string)` + +SetChangelog sets Changelog field to given value. + +### HasChangelog + +`func (o *SkillsPackageUploadRequest) HasChangelog() bool` + +HasChangelog returns a boolean if a field has been set. + +### SetChangelogNil + +`func (o *SkillsPackageUploadRequest) SetChangelogNil(b bool)` + + SetChangelogNil sets the value for Changelog to be an explicit nil + +### UnsetChangelog +`func (o *SkillsPackageUploadRequest) UnsetChangelog()` + +UnsetChangelog ensures that no value is present for Changelog, not even an explicit nil +### GetName + +`func (o *SkillsPackageUploadRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsPackageUploadRequest) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsPackageUploadRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPackageFile + +`func (o *SkillsPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *SkillsPackageUploadRequest) GetPackageFileOk() (*string, bool)` + +GetPackageFileOk returns a tuple with the PackageFile field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPackageFile + +`func (o *SkillsPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetReleaseNotes + +`func (o *SkillsPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *SkillsPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *SkillsPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *SkillsPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *SkillsPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *SkillsPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +### GetRepublish + +`func (o *SkillsPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *SkillsPackageUploadRequest) GetRepublishOk() (*bool, bool)` + +GetRepublishOk returns a tuple with the Republish field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRepublish + +`func (o *SkillsPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *SkillsPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetTags + +`func (o *SkillsPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *SkillsPackageUploadRequest) GetTagsOk() (*string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *SkillsPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *SkillsPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *SkillsPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *SkillsPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetVersion + +`func (o *SkillsPackageUploadRequest) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *SkillsPackageUploadRequest) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *SkillsPackageUploadRequest) SetVersion(v string)` + +SetVersion sets Version field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SkillsUpstream.md b/docs/SkillsUpstream.md new file mode 100644 index 000000000..f8a84f346 --- /dev/null +++ b/docs/SkillsUpstream.md @@ -0,0 +1,812 @@ +# SkillsUpstream + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**Available** | Pointer to **bool** | Whether the upstream is available for use. | [optional] [readonly] +**CanReindex** | Pointer to **bool** | Whether the upstream can be reindexed. | [optional] [readonly] +**Contents** | Pointer to **string** | The package types to serve from the upstream: skills, plugins, or both. | [optional] [default to "Skills"] +**CreatedAt** | Pointer to **time.Time** | The datetime the upstream source was created. | [optional] [readonly] +**DisableReason** | Pointer to **string** | | [optional] [readonly] [default to "N/A"] +**DisableReasonText** | Pointer to **string** | Human-readable explanation of why this upstream is disabled | [optional] [readonly] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**HasFailedSignatureVerification** | Pointer to **bool** | Whether the upstream has failed signature verification. | [optional] [readonly] +**IndexPackageCount** | Pointer to **NullableInt64** | The number of packages available in this upstream source | [optional] [readonly] +**IndexStatus** | Pointer to **NullableString** | The current indexing status of this upstream source | [optional] [readonly] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**LastIndexed** | Pointer to **NullableString** | The last time this upstream source was indexed | [optional] [readonly] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | +**PendingValidation** | Pointer to **bool** | When true, this upstream source is pending validation. | [optional] [readonly] +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**Selections** | Pointer to [**[]SkillsUpstreamSelection**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**UpdatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**UpstreamUrl** | **string** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | +**VerifySsl** | Pointer to **bool** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] + +## Methods + +### NewSkillsUpstream + +`func NewSkillsUpstream(name string, upstreamUrl string, ) *SkillsUpstream` + +NewSkillsUpstream instantiates a new SkillsUpstream object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSkillsUpstreamWithDefaults + +`func NewSkillsUpstreamWithDefaults() *SkillsUpstream` + +NewSkillsUpstreamWithDefaults instantiates a new SkillsUpstream object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAuthMode + +`func (o *SkillsUpstream) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *SkillsUpstream) GetAuthModeOk() (*string, bool)` + +GetAuthModeOk returns a tuple with the AuthMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthMode + +`func (o *SkillsUpstream) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *SkillsUpstream) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *SkillsUpstream) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *SkillsUpstream) GetAuthSecretOk() (*string, bool)` + +GetAuthSecretOk returns a tuple with the AuthSecret field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthSecret + +`func (o *SkillsUpstream) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *SkillsUpstream) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *SkillsUpstream) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *SkillsUpstream) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *SkillsUpstream) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *SkillsUpstream) GetAuthUsernameOk() (*string, bool)` + +GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthUsername + +`func (o *SkillsUpstream) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *SkillsUpstream) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *SkillsUpstream) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *SkillsUpstream) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetAvailable + +`func (o *SkillsUpstream) GetAvailable() bool` + +GetAvailable returns the Available field if non-nil, zero value otherwise. + +### GetAvailableOk + +`func (o *SkillsUpstream) GetAvailableOk() (*bool, bool)` + +GetAvailableOk returns a tuple with the Available field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAvailable + +`func (o *SkillsUpstream) SetAvailable(v bool)` + +SetAvailable sets Available field to given value. + +### HasAvailable + +`func (o *SkillsUpstream) HasAvailable() bool` + +HasAvailable returns a boolean if a field has been set. + +### GetCanReindex + +`func (o *SkillsUpstream) GetCanReindex() bool` + +GetCanReindex returns the CanReindex field if non-nil, zero value otherwise. + +### GetCanReindexOk + +`func (o *SkillsUpstream) GetCanReindexOk() (*bool, bool)` + +GetCanReindexOk returns a tuple with the CanReindex field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCanReindex + +`func (o *SkillsUpstream) SetCanReindex(v bool)` + +SetCanReindex sets CanReindex field to given value. + +### HasCanReindex + +`func (o *SkillsUpstream) HasCanReindex() bool` + +HasCanReindex returns a boolean if a field has been set. + +### GetContents + +`func (o *SkillsUpstream) GetContents() string` + +GetContents returns the Contents field if non-nil, zero value otherwise. + +### GetContentsOk + +`func (o *SkillsUpstream) GetContentsOk() (*string, bool)` + +GetContentsOk returns a tuple with the Contents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContents + +`func (o *SkillsUpstream) SetContents(v string)` + +SetContents sets Contents field to given value. + +### HasContents + +`func (o *SkillsUpstream) HasContents() bool` + +HasContents returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *SkillsUpstream) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *SkillsUpstream) GetCreatedAtOk() (*time.Time, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *SkillsUpstream) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *SkillsUpstream) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetDisableReason + +`func (o *SkillsUpstream) GetDisableReason() string` + +GetDisableReason returns the DisableReason field if non-nil, zero value otherwise. + +### GetDisableReasonOk + +`func (o *SkillsUpstream) GetDisableReasonOk() (*string, bool)` + +GetDisableReasonOk returns a tuple with the DisableReason field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableReason + +`func (o *SkillsUpstream) SetDisableReason(v string)` + +SetDisableReason sets DisableReason field to given value. + +### HasDisableReason + +`func (o *SkillsUpstream) HasDisableReason() bool` + +HasDisableReason returns a boolean if a field has been set. + +### GetDisableReasonText + +`func (o *SkillsUpstream) GetDisableReasonText() string` + +GetDisableReasonText returns the DisableReasonText field if non-nil, zero value otherwise. + +### GetDisableReasonTextOk + +`func (o *SkillsUpstream) GetDisableReasonTextOk() (*string, bool)` + +GetDisableReasonTextOk returns a tuple with the DisableReasonText field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableReasonText + +`func (o *SkillsUpstream) SetDisableReasonText(v string)` + +SetDisableReasonText sets DisableReasonText field to given value. + +### HasDisableReasonText + +`func (o *SkillsUpstream) HasDisableReasonText() bool` + +HasDisableReasonText returns a boolean if a field has been set. + +### GetExtraHeader1 + +`func (o *SkillsUpstream) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *SkillsUpstream) GetExtraHeader1Ok() (*string, bool)` + +GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader1 + +`func (o *SkillsUpstream) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *SkillsUpstream) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *SkillsUpstream) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *SkillsUpstream) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *SkillsUpstream) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *SkillsUpstream) GetExtraHeader2Ok() (*string, bool)` + +GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader2 + +`func (o *SkillsUpstream) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *SkillsUpstream) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *SkillsUpstream) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *SkillsUpstream) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *SkillsUpstream) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *SkillsUpstream) GetExtraValue1Ok() (*string, bool)` + +GetExtraValue1Ok returns a tuple with the ExtraValue1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue1 + +`func (o *SkillsUpstream) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *SkillsUpstream) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *SkillsUpstream) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *SkillsUpstream) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *SkillsUpstream) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *SkillsUpstream) GetExtraValue2Ok() (*string, bool)` + +GetExtraValue2Ok returns a tuple with the ExtraValue2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue2 + +`func (o *SkillsUpstream) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *SkillsUpstream) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *SkillsUpstream) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *SkillsUpstream) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetHasFailedSignatureVerification + +`func (o *SkillsUpstream) GetHasFailedSignatureVerification() bool` + +GetHasFailedSignatureVerification returns the HasFailedSignatureVerification field if non-nil, zero value otherwise. + +### GetHasFailedSignatureVerificationOk + +`func (o *SkillsUpstream) GetHasFailedSignatureVerificationOk() (*bool, bool)` + +GetHasFailedSignatureVerificationOk returns a tuple with the HasFailedSignatureVerification field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHasFailedSignatureVerification + +`func (o *SkillsUpstream) SetHasFailedSignatureVerification(v bool)` + +SetHasFailedSignatureVerification sets HasFailedSignatureVerification field to given value. + +### HasHasFailedSignatureVerification + +`func (o *SkillsUpstream) HasHasFailedSignatureVerification() bool` + +HasHasFailedSignatureVerification returns a boolean if a field has been set. + +### GetIndexPackageCount + +`func (o *SkillsUpstream) GetIndexPackageCount() int64` + +GetIndexPackageCount returns the IndexPackageCount field if non-nil, zero value otherwise. + +### GetIndexPackageCountOk + +`func (o *SkillsUpstream) GetIndexPackageCountOk() (*int64, bool)` + +GetIndexPackageCountOk returns a tuple with the IndexPackageCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexPackageCount + +`func (o *SkillsUpstream) SetIndexPackageCount(v int64)` + +SetIndexPackageCount sets IndexPackageCount field to given value. + +### HasIndexPackageCount + +`func (o *SkillsUpstream) HasIndexPackageCount() bool` + +HasIndexPackageCount returns a boolean if a field has been set. + +### SetIndexPackageCountNil + +`func (o *SkillsUpstream) SetIndexPackageCountNil(b bool)` + + SetIndexPackageCountNil sets the value for IndexPackageCount to be an explicit nil + +### UnsetIndexPackageCount +`func (o *SkillsUpstream) UnsetIndexPackageCount()` + +UnsetIndexPackageCount ensures that no value is present for IndexPackageCount, not even an explicit nil +### GetIndexStatus + +`func (o *SkillsUpstream) GetIndexStatus() string` + +GetIndexStatus returns the IndexStatus field if non-nil, zero value otherwise. + +### GetIndexStatusOk + +`func (o *SkillsUpstream) GetIndexStatusOk() (*string, bool)` + +GetIndexStatusOk returns a tuple with the IndexStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIndexStatus + +`func (o *SkillsUpstream) SetIndexStatus(v string)` + +SetIndexStatus sets IndexStatus field to given value. + +### HasIndexStatus + +`func (o *SkillsUpstream) HasIndexStatus() bool` + +HasIndexStatus returns a boolean if a field has been set. + +### SetIndexStatusNil + +`func (o *SkillsUpstream) SetIndexStatusNil(b bool)` + + SetIndexStatusNil sets the value for IndexStatus to be an explicit nil + +### UnsetIndexStatus +`func (o *SkillsUpstream) UnsetIndexStatus()` + +UnsetIndexStatus ensures that no value is present for IndexStatus, not even an explicit nil +### GetIsActive + +`func (o *SkillsUpstream) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *SkillsUpstream) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *SkillsUpstream) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *SkillsUpstream) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetLastIndexed + +`func (o *SkillsUpstream) GetLastIndexed() string` + +GetLastIndexed returns the LastIndexed field if non-nil, zero value otherwise. + +### GetLastIndexedOk + +`func (o *SkillsUpstream) GetLastIndexedOk() (*string, bool)` + +GetLastIndexedOk returns a tuple with the LastIndexed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLastIndexed + +`func (o *SkillsUpstream) SetLastIndexed(v string)` + +SetLastIndexed sets LastIndexed field to given value. + +### HasLastIndexed + +`func (o *SkillsUpstream) HasLastIndexed() bool` + +HasLastIndexed returns a boolean if a field has been set. + +### SetLastIndexedNil + +`func (o *SkillsUpstream) SetLastIndexedNil(b bool)` + + SetLastIndexedNil sets the value for LastIndexed to be an explicit nil + +### UnsetLastIndexed +`func (o *SkillsUpstream) UnsetLastIndexed()` + +UnsetLastIndexed ensures that no value is present for LastIndexed, not even an explicit nil +### GetMode + +`func (o *SkillsUpstream) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *SkillsUpstream) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *SkillsUpstream) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *SkillsUpstream) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *SkillsUpstream) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstream) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstream) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPendingValidation + +`func (o *SkillsUpstream) GetPendingValidation() bool` + +GetPendingValidation returns the PendingValidation field if non-nil, zero value otherwise. + +### GetPendingValidationOk + +`func (o *SkillsUpstream) GetPendingValidationOk() (*bool, bool)` + +GetPendingValidationOk returns a tuple with the PendingValidation field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPendingValidation + +`func (o *SkillsUpstream) SetPendingValidation(v bool)` + +SetPendingValidation sets PendingValidation field to given value. + +### HasPendingValidation + +`func (o *SkillsUpstream) HasPendingValidation() bool` + +HasPendingValidation returns a boolean if a field has been set. + +### GetPriority + +`func (o *SkillsUpstream) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *SkillsUpstream) GetPriorityOk() (*int64, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *SkillsUpstream) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *SkillsUpstream) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSelections + +`func (o *SkillsUpstream) GetSelections() []SkillsUpstreamSelection` + +GetSelections returns the Selections field if non-nil, zero value otherwise. + +### GetSelectionsOk + +`func (o *SkillsUpstream) GetSelectionsOk() (*[]SkillsUpstreamSelection, bool)` + +GetSelectionsOk returns a tuple with the Selections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelections + +`func (o *SkillsUpstream) SetSelections(v []SkillsUpstreamSelection)` + +SetSelections sets Selections field to given value. + +### HasSelections + +`func (o *SkillsUpstream) HasSelections() bool` + +HasSelections returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *SkillsUpstream) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *SkillsUpstream) GetSlugPermOk() (*string, bool)` + +GetSlugPermOk returns a tuple with the SlugPerm field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSlugPerm + +`func (o *SkillsUpstream) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *SkillsUpstream) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetUpdatedAt + +`func (o *SkillsUpstream) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *SkillsUpstream) GetUpdatedAtOk() (*time.Time, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *SkillsUpstream) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *SkillsUpstream) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *SkillsUpstream) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *SkillsUpstream) GetUpstreamUrlOk() (*string, bool)` + +GetUpstreamUrlOk returns a tuple with the UpstreamUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamUrl + +`func (o *SkillsUpstream) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + + +### GetVerifySsl + +`func (o *SkillsUpstream) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *SkillsUpstream) GetVerifySslOk() (*bool, bool)` + +GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifySsl + +`func (o *SkillsUpstream) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *SkillsUpstream) HasVerifySsl() bool` + +HasVerifySsl returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SkillsUpstreamRequest.md b/docs/SkillsUpstreamRequest.md new file mode 100644 index 000000000..ae81c36a3 --- /dev/null +++ b/docs/SkillsUpstreamRequest.md @@ -0,0 +1,470 @@ +# SkillsUpstreamRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**Contents** | Pointer to **string** | The package types to serve from the upstream: skills, plugins, or both. | [optional] [default to "Skills"] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**Selections** | Pointer to [**[]SkillsUpstreamSelection**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional] +**UpstreamUrl** | **string** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | +**VerifySsl** | Pointer to **bool** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] + +## Methods + +### NewSkillsUpstreamRequest + +`func NewSkillsUpstreamRequest(name string, upstreamUrl string, ) *SkillsUpstreamRequest` + +NewSkillsUpstreamRequest instantiates a new SkillsUpstreamRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSkillsUpstreamRequestWithDefaults + +`func NewSkillsUpstreamRequestWithDefaults() *SkillsUpstreamRequest` + +NewSkillsUpstreamRequestWithDefaults instantiates a new SkillsUpstreamRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAuthMode + +`func (o *SkillsUpstreamRequest) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *SkillsUpstreamRequest) GetAuthModeOk() (*string, bool)` + +GetAuthModeOk returns a tuple with the AuthMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthMode + +`func (o *SkillsUpstreamRequest) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *SkillsUpstreamRequest) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *SkillsUpstreamRequest) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *SkillsUpstreamRequest) GetAuthSecretOk() (*string, bool)` + +GetAuthSecretOk returns a tuple with the AuthSecret field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthSecret + +`func (o *SkillsUpstreamRequest) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *SkillsUpstreamRequest) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *SkillsUpstreamRequest) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *SkillsUpstreamRequest) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *SkillsUpstreamRequest) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *SkillsUpstreamRequest) GetAuthUsernameOk() (*string, bool)` + +GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthUsername + +`func (o *SkillsUpstreamRequest) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *SkillsUpstreamRequest) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *SkillsUpstreamRequest) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *SkillsUpstreamRequest) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetContents + +`func (o *SkillsUpstreamRequest) GetContents() string` + +GetContents returns the Contents field if non-nil, zero value otherwise. + +### GetContentsOk + +`func (o *SkillsUpstreamRequest) GetContentsOk() (*string, bool)` + +GetContentsOk returns a tuple with the Contents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContents + +`func (o *SkillsUpstreamRequest) SetContents(v string)` + +SetContents sets Contents field to given value. + +### HasContents + +`func (o *SkillsUpstreamRequest) HasContents() bool` + +HasContents returns a boolean if a field has been set. + +### GetExtraHeader1 + +`func (o *SkillsUpstreamRequest) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *SkillsUpstreamRequest) GetExtraHeader1Ok() (*string, bool)` + +GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader1 + +`func (o *SkillsUpstreamRequest) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *SkillsUpstreamRequest) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *SkillsUpstreamRequest) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *SkillsUpstreamRequest) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *SkillsUpstreamRequest) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *SkillsUpstreamRequest) GetExtraHeader2Ok() (*string, bool)` + +GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader2 + +`func (o *SkillsUpstreamRequest) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *SkillsUpstreamRequest) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *SkillsUpstreamRequest) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *SkillsUpstreamRequest) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *SkillsUpstreamRequest) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *SkillsUpstreamRequest) GetExtraValue1Ok() (*string, bool)` + +GetExtraValue1Ok returns a tuple with the ExtraValue1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue1 + +`func (o *SkillsUpstreamRequest) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *SkillsUpstreamRequest) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *SkillsUpstreamRequest) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *SkillsUpstreamRequest) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *SkillsUpstreamRequest) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *SkillsUpstreamRequest) GetExtraValue2Ok() (*string, bool)` + +GetExtraValue2Ok returns a tuple with the ExtraValue2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue2 + +`func (o *SkillsUpstreamRequest) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *SkillsUpstreamRequest) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *SkillsUpstreamRequest) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *SkillsUpstreamRequest) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetIsActive + +`func (o *SkillsUpstreamRequest) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *SkillsUpstreamRequest) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *SkillsUpstreamRequest) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *SkillsUpstreamRequest) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetMode + +`func (o *SkillsUpstreamRequest) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *SkillsUpstreamRequest) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *SkillsUpstreamRequest) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *SkillsUpstreamRequest) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *SkillsUpstreamRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstreamRequest) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstreamRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPriority + +`func (o *SkillsUpstreamRequest) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *SkillsUpstreamRequest) GetPriorityOk() (*int64, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *SkillsUpstreamRequest) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *SkillsUpstreamRequest) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSelections + +`func (o *SkillsUpstreamRequest) GetSelections() []SkillsUpstreamSelection` + +GetSelections returns the Selections field if non-nil, zero value otherwise. + +### GetSelectionsOk + +`func (o *SkillsUpstreamRequest) GetSelectionsOk() (*[]SkillsUpstreamSelection, bool)` + +GetSelectionsOk returns a tuple with the Selections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelections + +`func (o *SkillsUpstreamRequest) SetSelections(v []SkillsUpstreamSelection)` + +SetSelections sets Selections field to given value. + +### HasSelections + +`func (o *SkillsUpstreamRequest) HasSelections() bool` + +HasSelections returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *SkillsUpstreamRequest) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *SkillsUpstreamRequest) GetUpstreamUrlOk() (*string, bool)` + +GetUpstreamUrlOk returns a tuple with the UpstreamUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamUrl + +`func (o *SkillsUpstreamRequest) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + + +### GetVerifySsl + +`func (o *SkillsUpstreamRequest) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *SkillsUpstreamRequest) GetVerifySslOk() (*bool, bool)` + +GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifySsl + +`func (o *SkillsUpstreamRequest) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *SkillsUpstreamRequest) HasVerifySsl() bool` + +HasVerifySsl returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SkillsUpstreamRequestPatch.md b/docs/SkillsUpstreamRequestPatch.md new file mode 100644 index 000000000..c0ba14ba4 --- /dev/null +++ b/docs/SkillsUpstreamRequestPatch.md @@ -0,0 +1,480 @@ +# SkillsUpstreamRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**Contents** | Pointer to **string** | The package types to serve from the upstream: skills, plugins, or both. | [optional] [default to "Skills"] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | Pointer to **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional] +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**Selections** | Pointer to [**[]SkillsUpstreamSelection**](SkillsUpstreamSelection.md) | Exact ClawHub releases to cache. | [optional] +**UpstreamUrl** | Pointer to **string** | The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. | [optional] +**VerifySsl** | Pointer to **bool** | If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. | [optional] + +## Methods + +### NewSkillsUpstreamRequestPatch + +`func NewSkillsUpstreamRequestPatch() *SkillsUpstreamRequestPatch` + +NewSkillsUpstreamRequestPatch instantiates a new SkillsUpstreamRequestPatch object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSkillsUpstreamRequestPatchWithDefaults + +`func NewSkillsUpstreamRequestPatchWithDefaults() *SkillsUpstreamRequestPatch` + +NewSkillsUpstreamRequestPatchWithDefaults instantiates a new SkillsUpstreamRequestPatch object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetAuthMode + +`func (o *SkillsUpstreamRequestPatch) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *SkillsUpstreamRequestPatch) GetAuthModeOk() (*string, bool)` + +GetAuthModeOk returns a tuple with the AuthMode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthMode + +`func (o *SkillsUpstreamRequestPatch) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *SkillsUpstreamRequestPatch) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *SkillsUpstreamRequestPatch) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *SkillsUpstreamRequestPatch) GetAuthSecretOk() (*string, bool)` + +GetAuthSecretOk returns a tuple with the AuthSecret field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthSecret + +`func (o *SkillsUpstreamRequestPatch) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *SkillsUpstreamRequestPatch) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *SkillsUpstreamRequestPatch) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *SkillsUpstreamRequestPatch) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *SkillsUpstreamRequestPatch) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *SkillsUpstreamRequestPatch) GetAuthUsernameOk() (*string, bool)` + +GetAuthUsernameOk returns a tuple with the AuthUsername field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAuthUsername + +`func (o *SkillsUpstreamRequestPatch) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *SkillsUpstreamRequestPatch) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *SkillsUpstreamRequestPatch) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *SkillsUpstreamRequestPatch) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetContents + +`func (o *SkillsUpstreamRequestPatch) GetContents() string` + +GetContents returns the Contents field if non-nil, zero value otherwise. + +### GetContentsOk + +`func (o *SkillsUpstreamRequestPatch) GetContentsOk() (*string, bool)` + +GetContentsOk returns a tuple with the Contents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContents + +`func (o *SkillsUpstreamRequestPatch) SetContents(v string)` + +SetContents sets Contents field to given value. + +### HasContents + +`func (o *SkillsUpstreamRequestPatch) HasContents() bool` + +HasContents returns a boolean if a field has been set. + +### GetExtraHeader1 + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader1Ok() (*string, bool)` + +GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader1 + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *SkillsUpstreamRequestPatch) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraHeader2Ok() (*string, bool)` + +GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraHeader2 + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *SkillsUpstreamRequestPatch) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue1Ok() (*string, bool)` + +GetExtraValue1Ok returns a tuple with the ExtraValue1 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue1 + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *SkillsUpstreamRequestPatch) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *SkillsUpstreamRequestPatch) GetExtraValue2Ok() (*string, bool)` + +GetExtraValue2Ok returns a tuple with the ExtraValue2 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraValue2 + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *SkillsUpstreamRequestPatch) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *SkillsUpstreamRequestPatch) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *SkillsUpstreamRequestPatch) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetIsActive + +`func (o *SkillsUpstreamRequestPatch) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *SkillsUpstreamRequestPatch) GetIsActiveOk() (*bool, bool)` + +GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsActive + +`func (o *SkillsUpstreamRequestPatch) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *SkillsUpstreamRequestPatch) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetMode + +`func (o *SkillsUpstreamRequestPatch) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *SkillsUpstreamRequestPatch) GetModeOk() (*string, bool)` + +GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMode + +`func (o *SkillsUpstreamRequestPatch) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *SkillsUpstreamRequestPatch) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *SkillsUpstreamRequestPatch) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstreamRequestPatch) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstreamRequestPatch) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *SkillsUpstreamRequestPatch) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetPriority + +`func (o *SkillsUpstreamRequestPatch) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *SkillsUpstreamRequestPatch) GetPriorityOk() (*int64, bool)` + +GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPriority + +`func (o *SkillsUpstreamRequestPatch) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *SkillsUpstreamRequestPatch) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSelections + +`func (o *SkillsUpstreamRequestPatch) GetSelections() []SkillsUpstreamSelection` + +GetSelections returns the Selections field if non-nil, zero value otherwise. + +### GetSelectionsOk + +`func (o *SkillsUpstreamRequestPatch) GetSelectionsOk() (*[]SkillsUpstreamSelection, bool)` + +GetSelectionsOk returns a tuple with the Selections field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSelections + +`func (o *SkillsUpstreamRequestPatch) SetSelections(v []SkillsUpstreamSelection)` + +SetSelections sets Selections field to given value. + +### HasSelections + +`func (o *SkillsUpstreamRequestPatch) HasSelections() bool` + +HasSelections returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *SkillsUpstreamRequestPatch) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *SkillsUpstreamRequestPatch) GetUpstreamUrlOk() (*string, bool)` + +GetUpstreamUrlOk returns a tuple with the UpstreamUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpstreamUrl + +`func (o *SkillsUpstreamRequestPatch) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + +### HasUpstreamUrl + +`func (o *SkillsUpstreamRequestPatch) HasUpstreamUrl() bool` + +HasUpstreamUrl returns a boolean if a field has been set. + +### GetVerifySsl + +`func (o *SkillsUpstreamRequestPatch) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *SkillsUpstreamRequestPatch) GetVerifySslOk() (*bool, bool)` + +GetVerifySslOk returns a tuple with the VerifySsl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVerifySsl + +`func (o *SkillsUpstreamRequestPatch) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *SkillsUpstreamRequestPatch) HasVerifySsl() bool` + +HasVerifySsl returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SkillsUpstreamSelection.md b/docs/SkillsUpstreamSelection.md new file mode 100644 index 000000000..a2a6a8a30 --- /dev/null +++ b/docs/SkillsUpstreamSelection.md @@ -0,0 +1,93 @@ +# SkillsUpstreamSelection + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | **string** | The skill's ClawHub slug. | +**Publisher** | **string** | The ClawHub owner handle that publishes the skill. | +**Version** | **string** | The exact semantic version of the release. | + +## Methods + +### NewSkillsUpstreamSelection + +`func NewSkillsUpstreamSelection(name string, publisher string, version string, ) *SkillsUpstreamSelection` + +NewSkillsUpstreamSelection instantiates a new SkillsUpstreamSelection object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewSkillsUpstreamSelectionWithDefaults + +`func NewSkillsUpstreamSelectionWithDefaults() *SkillsUpstreamSelection` + +NewSkillsUpstreamSelectionWithDefaults instantiates a new SkillsUpstreamSelection object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetName + +`func (o *SkillsUpstreamSelection) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SkillsUpstreamSelection) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SkillsUpstreamSelection) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPublisher + +`func (o *SkillsUpstreamSelection) GetPublisher() string` + +GetPublisher returns the Publisher field if non-nil, zero value otherwise. + +### GetPublisherOk + +`func (o *SkillsUpstreamSelection) GetPublisherOk() (*string, bool)` + +GetPublisherOk returns a tuple with the Publisher field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublisher + +`func (o *SkillsUpstreamSelection) SetPublisher(v string)` + +SetPublisher sets Publisher field to given value. + + +### GetVersion + +`func (o *SkillsUpstreamSelection) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *SkillsUpstreamSelection) GetVersionOk() (*string, bool)` + +GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVersion + +`func (o *SkillsUpstreamSelection) SetVersion(v string)` + +SetVersion sets Version field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/SwiftPackageUpload.md b/docs/SwiftPackageUpload.md index 90ffb1b2e..441f99839 100644 --- a/docs/SwiftPackageUpload.md +++ b/docs/SwiftPackageUpload.md @@ -40,7 +40,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -60,13 +60,14 @@ Name | Type | Description | Notes **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **ReadmeUrl** | Pointer to **string** | The URL of the readme for the package. | [optional] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | The URL of the SCM repository for the package. | [optional] **Scope** | **string** | A scope provides a namespace for related packages within the package registry. | -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -97,7 +98,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | **string** | The raw version for this package. | **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1613,6 +1614,41 @@ HasRelease returns a boolean if a field has been set. `func (o *SwiftPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *SwiftPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *SwiftPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *SwiftPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *SwiftPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *SwiftPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *SwiftPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *SwiftPackageUpload) GetRepository() string` diff --git a/docs/SwiftPackageUploadRequest.md b/docs/SwiftPackageUploadRequest.md index 5d22ae837..a4a95002e 100644 --- a/docs/SwiftPackageUploadRequest.md +++ b/docs/SwiftPackageUploadRequest.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **Name** | **string** | The name of this package. | **PackageFile** | **string** | The primary file for the package. | **ReadmeUrl** | Pointer to **string** | The URL of the readme for the package. | [optional] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **RepositoryUrl** | Pointer to **string** | The URL of the SCM repository for the package. | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Scope** | **string** | A scope provides a namespace for related packages within the package registry. | @@ -185,6 +186,41 @@ SetReadmeUrl sets ReadmeUrl field to given value. HasReadmeUrl returns a boolean if a field has been set. +### GetReleaseNotes + +`func (o *SwiftPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *SwiftPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *SwiftPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *SwiftPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *SwiftPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *SwiftPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepositoryUrl `func (o *SwiftPackageUploadRequest) GetRepositoryUrl() string` diff --git a/docs/TerraformPackageUpload.md b/docs/TerraformPackageUpload.md index e340f4788..6cd06f45f 100644 --- a/docs/TerraformPackageUpload.md +++ b/docs/TerraformPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *TerraformPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *TerraformPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *TerraformPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *TerraformPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *TerraformPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *TerraformPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *TerraformPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *TerraformPackageUpload) GetRepository() string` diff --git a/docs/TerraformPackageUploadRequest.md b/docs/TerraformPackageUploadRequest.md index c9df61c3f..eca0be824 100644 --- a/docs/TerraformPackageUploadRequest.md +++ b/docs/TerraformPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *TerraformPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *TerraformPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *TerraformPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *TerraformPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *TerraformPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *TerraformPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *TerraformPackageUploadRequest) GetRepublish() bool` diff --git a/docs/VagrantPackageUpload.md b/docs/VagrantPackageUpload.md index d63c0c62d..e1db2e28c 100644 --- a/docs/VagrantPackageUpload.md +++ b/docs/VagrantPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -57,12 +57,13 @@ Name | Type | Description | Notes **Provider** | **string** | The virtual machine provider for the box. | **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -93,7 +94,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | **string** | The raw version for this package. | **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1519,6 +1520,41 @@ HasRelease returns a boolean if a field has been set. `func (o *VagrantPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *VagrantPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *VagrantPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *VagrantPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *VagrantPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *VagrantPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *VagrantPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *VagrantPackageUpload) GetRepository() string` diff --git a/docs/VagrantPackageUploadRequest.md b/docs/VagrantPackageUploadRequest.md index bc287ba87..de019fc4f 100644 --- a/docs/VagrantPackageUploadRequest.md +++ b/docs/VagrantPackageUploadRequest.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **Name** | **string** | The name of this package. | **PackageFile** | **string** | The primary file for the package. | **Provider** | **string** | The virtual machine provider for the box. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] **Version** | **string** | The raw version for this package. | @@ -90,6 +91,41 @@ and a boolean to check if the value has been set. SetProvider sets Provider field to given value. +### GetReleaseNotes + +`func (o *VagrantPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *VagrantPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *VagrantPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *VagrantPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *VagrantPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *VagrantPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *VagrantPackageUploadRequest) GetRepublish() bool` diff --git a/docs/VsxPackageUpload.md b/docs/VsxPackageUpload.md index dd688e3a4..af802358a 100644 --- a/docs/VsxPackageUpload.md +++ b/docs/VsxPackageUpload.md @@ -38,7 +38,7 @@ Name | Type | Description | Notes **IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] **IsQuarantined** | Pointer to **bool** | | [optional] [readonly] **IsResyncable** | Pointer to **bool** | | [optional] [readonly] -**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | Deprecated. Whether the package can be scanned for vulnerabilities. | [optional] [readonly] **IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] **IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] **IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] @@ -56,12 +56,13 @@ Name | Type | Description | Notes **PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] **RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] **Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Repository** | Pointer to **string** | | [optional] [readonly] **RepositoryUrl** | Pointer to **string** | | [optional] [readonly] -**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] -**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] -**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] -**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | Deprecated. The status of security scanning for the package. | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | Deprecated. The datetime the security scanning status was updated. | [optional] [readonly] **SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] **SelfUrl** | Pointer to **string** | | [optional] [readonly] **SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] @@ -92,7 +93,7 @@ Name | Type | Description | Notes **UploaderUrl** | Pointer to **string** | | [optional] [readonly] **Version** | Pointer to **NullableString** | The raw version for this package. | [optional] [readonly] **VersionOrig** | Pointer to **string** | | [optional] [readonly] -**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityScanResultsUrl** | Pointer to **string** | Deprecated. The URL of the package's vulnerability scan results. | [optional] [readonly] ## Methods @@ -1513,6 +1514,41 @@ HasRelease returns a boolean if a field has been set. `func (o *VsxPackageUpload) UnsetRelease()` UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetReleaseNotes + +`func (o *VsxPackageUpload) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *VsxPackageUpload) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *VsxPackageUpload) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *VsxPackageUpload) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *VsxPackageUpload) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *VsxPackageUpload) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepository `func (o *VsxPackageUpload) GetRepository() string` diff --git a/docs/VsxPackageUploadRequest.md b/docs/VsxPackageUploadRequest.md index 6667d5539..000447865 100644 --- a/docs/VsxPackageUploadRequest.md +++ b/docs/VsxPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PackageFile** | **string** | The primary file for the package. | +**ReleaseNotes** | Pointer to **NullableString** | The release notes for this package (if any). | [optional] **Republish** | Pointer to **bool** | If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. | [optional] **Tags** | Pointer to **NullableString** | A comma-separated values list of tags to add to the package. | [optional] @@ -47,6 +48,41 @@ and a boolean to check if the value has been set. SetPackageFile sets PackageFile field to given value. +### GetReleaseNotes + +`func (o *VsxPackageUploadRequest) GetReleaseNotes() string` + +GetReleaseNotes returns the ReleaseNotes field if non-nil, zero value otherwise. + +### GetReleaseNotesOk + +`func (o *VsxPackageUploadRequest) GetReleaseNotesOk() (*string, bool)` + +GetReleaseNotesOk returns a tuple with the ReleaseNotes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReleaseNotes + +`func (o *VsxPackageUploadRequest) SetReleaseNotes(v string)` + +SetReleaseNotes sets ReleaseNotes field to given value. + +### HasReleaseNotes + +`func (o *VsxPackageUploadRequest) HasReleaseNotes() bool` + +HasReleaseNotes returns a boolean if a field has been set. + +### SetReleaseNotesNil + +`func (o *VsxPackageUploadRequest) SetReleaseNotesNil(b bool)` + + SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil + +### UnsetReleaseNotes +`func (o *VsxPackageUploadRequest) UnsetReleaseNotes()` + +UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil ### GetRepublish `func (o *VsxPackageUploadRequest) GetRepublish() bool` diff --git a/docs/VulnerabilityScanVersion.md b/docs/VulnerabilityScanVersion.md index 87ba4ebd4..f7d924d5f 100644 --- a/docs/VulnerabilityScanVersion.md +++ b/docs/VulnerabilityScanVersion.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Major** | **int64** | | -**Minor** | **int64** | | +**Major** | **NullableInt64** | | +**Minor** | **NullableInt64** | | **Operator** | Pointer to **string** | | [optional] [default to ""] -**Patch** | **int64** | | +**Patch** | **NullableInt64** | | **RawVersion** | Pointer to **string** | | [optional] [default to ""] **Version** | Pointer to **string** | | [optional] [default to ""] @@ -15,7 +15,7 @@ Name | Type | Description | Notes ### NewVulnerabilityScanVersion -`func NewVulnerabilityScanVersion(major int64, minor int64, patch int64, ) *VulnerabilityScanVersion` +`func NewVulnerabilityScanVersion(major NullableInt64, minor NullableInt64, patch NullableInt64, ) *VulnerabilityScanVersion` NewVulnerabilityScanVersion instantiates a new VulnerabilityScanVersion object This constructor will assign default values to properties that have it defined, @@ -50,6 +50,16 @@ and a boolean to check if the value has been set. SetMajor sets Major field to given value. +### SetMajorNil + +`func (o *VulnerabilityScanVersion) SetMajorNil(b bool)` + + SetMajorNil sets the value for Major to be an explicit nil + +### UnsetMajor +`func (o *VulnerabilityScanVersion) UnsetMajor()` + +UnsetMajor ensures that no value is present for Major, not even an explicit nil ### GetMinor `func (o *VulnerabilityScanVersion) GetMinor() int64` @@ -70,6 +80,16 @@ and a boolean to check if the value has been set. SetMinor sets Minor field to given value. +### SetMinorNil + +`func (o *VulnerabilityScanVersion) SetMinorNil(b bool)` + + SetMinorNil sets the value for Minor to be an explicit nil + +### UnsetMinor +`func (o *VulnerabilityScanVersion) UnsetMinor()` + +UnsetMinor ensures that no value is present for Minor, not even an explicit nil ### GetOperator `func (o *VulnerabilityScanVersion) GetOperator() string` @@ -115,6 +135,16 @@ and a boolean to check if the value has been set. SetPatch sets Patch field to given value. +### SetPatchNil + +`func (o *VulnerabilityScanVersion) SetPatchNil(b bool)` + + SetPatchNil sets the value for Patch to be an explicit nil + +### UnsetPatch +`func (o *VulnerabilityScanVersion) UnsetPatch()` + +UnsetPatch ensures that no value is present for Patch, not even an explicit nil ### GetRawVersion `func (o *VulnerabilityScanVersion) GetRawVersion() string` diff --git a/model_allocated_limit.go b/model_allocated_limit.go index 66b7637cd..d3f76842c 100644 --- a/model_allocated_limit.go +++ b/model_allocated_limit.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_allocated_limit_raw.go b/model_allocated_limit_raw.go index 50864dffe..826e54d8d 100644 --- a/model_allocated_limit_raw.go +++ b/model_allocated_limit_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go index 6a68b2acf..912d8d012 100644 --- a/model_alpine_package_upload.go +++ b/model_alpine_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type AlpinePackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type AlpinePackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type AlpinePackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *AlpinePackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *AlpinePackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *AlpinePackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *AlpinePackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *AlpinePackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *AlpinePackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o AlpinePackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *AlpinePackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_alpine_package_upload_request.go b/model_alpine_package_upload_request.go index ec12441c3..2abad0e0c 100644 --- a/model_alpine_package_upload_request.go +++ b/model_alpine_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -25,6 +25,8 @@ type AlpinePackageUploadRequest struct { Distribution string `json:"distribution"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -101,6 +103,49 @@ func (o *AlpinePackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AlpinePackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AlpinePackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *AlpinePackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *AlpinePackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *AlpinePackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *AlpinePackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *AlpinePackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -188,6 +233,9 @@ func (o AlpinePackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["distribution"] = o.Distribution toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -240,6 +288,7 @@ func (o *AlpinePackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "distribution") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_alpine_upstream.go b/model_alpine_upstream.go index ffcc922d7..fb9da7bd6 100644 --- a/model_alpine_upstream.go +++ b/model_alpine_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request.go b/model_alpine_upstream_request.go index 6b8444513..0902cbb2a 100644 --- a/model_alpine_upstream_request.go +++ b/model_alpine_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request_patch.go b/model_alpine_upstream_request_patch.go index 01550bf79..9dd2b24d8 100644 --- a/model_alpine_upstream_request_patch.go +++ b/model_alpine_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_architecture.go b/model_architecture.go index ba7780b15..4cebe5284 100644 --- a/model_architecture.go +++ b/model_architecture.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token.go b/model_broadcast_token.go index 7b782db8f..29adf25d7 100644 --- a/model_broadcast_token.go +++ b/model_broadcast_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token_input.go b/model_broadcast_token_input.go index 2ca990f63..ce5247b37 100644 --- a/model_broadcast_token_input.go +++ b/model_broadcast_token_input.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go index c2c337b15..ee376c6b7 100644 --- a/model_cargo_package_upload.go +++ b/model_cargo_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type CargoPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type CargoPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type CargoPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *CargoPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CargoPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CargoPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CargoPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CargoPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CargoPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *CargoPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o CargoPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *CargoPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go index 123ce1854..32f4080b5 100644 --- a/model_cargo_package_upload_request.go +++ b/model_cargo_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &CargoPackageUploadRequest{} type CargoPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *CargoPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CargoPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CargoPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CargoPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CargoPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CargoPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CargoPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *CargoPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o CargoPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o CargoPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *CargoPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_cargo_upstream.go b/model_cargo_upstream.go index 6f0493161..e7ab00225 100644 --- a/model_cargo_upstream.go +++ b/model_cargo_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request.go b/model_cargo_upstream_request.go index 73bc07424..1d315f3ab 100644 --- a/model_cargo_upstream_request.go +++ b/model_cargo_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request_patch.go b/model_cargo_upstream_request_patch.go index 8fc17dfef..8d79c7204 100644 --- a/model_cargo_upstream_request_patch.go +++ b/model_cargo_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload.go b/model_cocoapods_package_upload.go index b76ecd124..bbf95f459 100644 --- a/model_cocoapods_package_upload.go +++ b/model_cocoapods_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type CocoapodsPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type CocoapodsPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type CocoapodsPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *CocoapodsPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CocoapodsPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CocoapodsPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CocoapodsPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CocoapodsPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CocoapodsPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *CocoapodsPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o CocoapodsPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *CocoapodsPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go index 236309d4d..37b928a57 100644 --- a/model_cocoapods_package_upload_request.go +++ b/model_cocoapods_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &CocoapodsPackageUploadRequest{} type CocoapodsPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *CocoapodsPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CocoapodsPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CocoapodsPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CocoapodsPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CocoapodsPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CocoapodsPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CocoapodsPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *CocoapodsPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o CocoapodsPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o CocoapodsPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *CocoapodsPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go index 27a92e1a5..f9fd58c65 100644 --- a/model_common_bandwidth_metrics.go +++ b/model_common_bandwidth_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go index 4e785b73a..ef940292a 100644 --- a/model_common_bandwidth_metrics_value.go +++ b/model_common_bandwidth_metrics_value.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go index 20c55f5bd..4c23f9f9c 100644 --- a/model_common_downloads_metrics.go +++ b/model_common_downloads_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go index 74579567b..ff534d1f0 100644 --- a/model_common_downloads_metrics_value.go +++ b/model_common_downloads_metrics_value.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_common_metrics.go b/model_common_metrics.go index 54a77a5cf..7eb56e0a9 100644 --- a/model_common_metrics.go +++ b/model_common_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload.go b/model_composer_package_upload.go index 43c8de247..11c7e4fe8 100644 --- a/model_composer_package_upload.go +++ b/model_composer_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type ComposerPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type ComposerPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type ComposerPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *ComposerPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ComposerPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *ComposerPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *ComposerPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *ComposerPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *ComposerPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *ComposerPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o ComposerPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *ComposerPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go index 8b6d9fe3a..9d2ad7ad7 100644 --- a/model_composer_package_upload_request.go +++ b/model_composer_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &ComposerPackageUploadRequest{} type ComposerPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -76,6 +78,49 @@ func (o *ComposerPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ComposerPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ComposerPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *ComposerPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *ComposerPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *ComposerPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *ComposerPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *ComposerPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -205,6 +250,9 @@ func (o ComposerPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o ComposerPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -258,6 +306,7 @@ func (o *ComposerPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") delete(additionalProperties, "version") diff --git a/model_composer_upstream.go b/model_composer_upstream.go index faa7ee47d..846c1e05d 100644 --- a/model_composer_upstream.go +++ b/model_composer_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request.go b/model_composer_upstream_request.go index 17ae9d1e4..60c673021 100644 --- a/model_composer_upstream_request.go +++ b/model_composer_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request_patch.go b/model_composer_upstream_request_patch.go index f672ee5a2..96789279e 100644 --- a/model_composer_upstream_request_patch.go +++ b/model_composer_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload.go b/model_conan_package_upload.go index c38d72553..475e5b9f5 100644 --- a/model_conan_package_upload.go +++ b/model_conan_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -55,23 +55,24 @@ type ConanPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -90,15 +91,18 @@ type ConanPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -145,9 +149,10 @@ type ConanPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -2030,6 +2035,49 @@ func (o *ConanPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ConanPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *ConanPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *ConanPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *ConanPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *ConanPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *ConanPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3507,6 +3555,9 @@ func (o ConanPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3694,6 +3745,7 @@ func (o *ConanPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go index 06cf15afe..7f0fb3261 100644 --- a/model_conan_package_upload_request.go +++ b/model_conan_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -35,6 +35,8 @@ type ConanPackageUploadRequest struct { Name NullableString `json:"name,omitempty"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -292,6 +294,49 @@ func (o *ConanPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ConanPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ConanPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *ConanPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *ConanPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *ConanPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *ConanPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *ConanPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -433,6 +478,9 @@ func (o ConanPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize["name"] = o.Name.Get() } toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -495,6 +543,7 @@ func (o *ConanPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "metadata_file") delete(additionalProperties, "name") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") delete(additionalProperties, "version") diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go index e7a362c9d..68c71d638 100644 --- a/model_conda_package_upload.go +++ b/model_conda_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type CondaPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type CondaPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type CondaPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *CondaPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CondaPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CondaPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CondaPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CondaPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CondaPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *CondaPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o CondaPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *CondaPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go index e62c9fb36..2a5e95fdf 100644 --- a/model_conda_package_upload_request.go +++ b/model_conda_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &CondaPackageUploadRequest{} type CondaPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *CondaPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CondaPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CondaPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CondaPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CondaPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CondaPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CondaPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *CondaPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o CondaPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o CondaPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *CondaPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_conda_upstream.go b/model_conda_upstream.go index 2872ee01c..b6f29de86 100644 --- a/model_conda_upstream.go +++ b/model_conda_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request.go b/model_conda_upstream_request.go index 35addf035..71528d6fd 100644 --- a/model_conda_upstream_request.go +++ b/model_conda_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request_patch.go b/model_conda_upstream_request_patch.go index 8b10f0f83..02e4436db 100644 --- a/model_conda_upstream_request_patch.go +++ b/model_conda_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository.go b/model_connected_repository.go index 497c374af..d7f8a4ca1 100644 --- a/model_connected_repository.go +++ b/model_connected_repository.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_request.go b/model_connected_repository_request.go index 3dab43a08..8ff62ca7c 100644 --- a/model_connected_repository_request.go +++ b/model_connected_repository_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_request_patch.go b/model_connected_repository_request_patch.go index fe683a7fa..706fcef11 100644 --- a/model_connected_repository_request_patch.go +++ b/model_connected_repository_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_target_summary.go b/model_connected_repository_target_summary.go index f9689372a..5ec610c03 100644 --- a/model_connected_repository_target_summary.go +++ b/model_connected_repository_target_summary.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_upstream.go b/model_connected_repository_upstream.go index f0cdf1297..efc3dd4d8 100644 --- a/model_connected_repository_upstream.go +++ b/model_connected_repository_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go index e0e4e1d76..083d750d5 100644 --- a/model_cran_package_upload.go +++ b/model_cran_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type CranPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -88,15 +89,18 @@ type CranPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -143,9 +147,10 @@ type CranPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1985,6 +1990,49 @@ func (o *CranPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CranPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CranPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CranPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CranPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CranPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *CranPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3459,6 +3507,9 @@ func (o CranPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3645,6 +3696,7 @@ func (o *CranPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "r_version") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go index d63b32dca..7de31f905 100644 --- a/model_cran_package_upload_request.go +++ b/model_cran_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -27,6 +27,8 @@ type CranPackageUploadRequest struct { PackageFile string `json:"package_file"` // Binary package uploads should specify the version of R they were built for. RVersion NullableString `json:"r_version,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -153,6 +155,49 @@ func (o *CranPackageUploadRequest) UnsetRVersion() { o.RVersion.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *CranPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *CranPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *CranPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *CranPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *CranPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *CranPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *CranPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -245,6 +290,9 @@ func (o CranPackageUploadRequest) ToMap() (map[string]interface{}, error) { if o.RVersion.IsSet() { toSerialize["r_version"] = o.RVersion.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -297,6 +345,7 @@ func (o *CranPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "architecture") delete(additionalProperties, "package_file") delete(additionalProperties, "r_version") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_cran_upstream.go b/model_cran_upstream.go index c91bed2a2..12d9a491e 100644 --- a/model_cran_upstream.go +++ b/model_cran_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request.go b/model_cran_upstream_request.go index c330e86be..c3290c41c 100644 --- a/model_cran_upstream_request.go +++ b/model_cran_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request_patch.go b/model_cran_upstream_request_patch.go index 8b7942283..c796da192 100644 --- a/model_cran_upstream_request_patch.go +++ b/model_cran_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go index 0ab7e7700..c161b26d4 100644 --- a/model_dart_package_upload.go +++ b/model_dart_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type DartPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type DartPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type DartPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *DartPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DartPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *DartPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *DartPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *DartPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *DartPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *DartPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o DartPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *DartPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go index 2c4314985..15e9daef4 100644 --- a/model_dart_package_upload_request.go +++ b/model_dart_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &DartPackageUploadRequest{} type DartPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *DartPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DartPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DartPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *DartPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *DartPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *DartPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *DartPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *DartPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o DartPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o DartPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *DartPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_dart_upstream.go b/model_dart_upstream.go index aa2040026..dd9778066 100644 --- a/model_dart_upstream.go +++ b/model_dart_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request.go b/model_dart_upstream_request.go index d75e63c85..36c41d2e5 100644 --- a/model_dart_upstream_request.go +++ b/model_dart_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request_patch.go b/model_dart_upstream_request_patch.go index 79759cfe7..464d98481 100644 --- a/model_dart_upstream_request_patch.go +++ b/model_dart_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go index 08b8f4234..5644e32e8 100644 --- a/model_deb_package_upload.go +++ b/model_deb_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type DebPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type DebPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type DebPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *DebPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DebPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *DebPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *DebPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *DebPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *DebPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *DebPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o DebPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *DebPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go index b280df78b..0eafce095 100644 --- a/model_deb_package_upload_request.go +++ b/model_deb_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -29,6 +29,8 @@ type DebPackageUploadRequest struct { Distribution string `json:"distribution"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // The sources archive containing the source code for the binary @@ -186,6 +188,49 @@ func (o *DebPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DebPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DebPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *DebPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *DebPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *DebPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *DebPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *DebPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -322,6 +367,9 @@ func (o DebPackageUploadRequest) ToMap() (map[string]interface{}, error) { } toSerialize["distribution"] = o.Distribution toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -379,6 +427,7 @@ func (o *DebPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "component") delete(additionalProperties, "distribution") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "sources_file") delete(additionalProperties, "tags") diff --git a/model_deb_upstream.go b/model_deb_upstream.go index 455791d38..bf6199743 100644 --- a/model_deb_upstream.go +++ b/model_deb_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request.go b/model_deb_upstream_request.go index 1c9105f40..ef44c3625 100644 --- a/model_deb_upstream_request.go +++ b/model_deb_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request_patch.go b/model_deb_upstream_request_patch.go index 19e67afae..27e277615 100644 --- a/model_deb_upstream_request_patch.go +++ b/model_deb_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_distribution.go b/model_distribution.go index 6928596fa..b4b46bf9e 100644 --- a/model_distribution.go +++ b/model_distribution.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_distribution_full.go b/model_distribution_full.go index 91dbe5b26..7d643ef39 100644 --- a/model_distribution_full.go +++ b/model_distribution_full.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_distribution_version.go b/model_distribution_version.go index 4e34127d0..d824e6841 100644 --- a/model_distribution_version.go +++ b/model_distribution_version.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go index 3eb0ce991..cd9f8894f 100644 --- a/model_docker_package_upload.go +++ b/model_docker_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type DockerPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type DockerPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type DockerPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *DockerPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DockerPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *DockerPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *DockerPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *DockerPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *DockerPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *DockerPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o DockerPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *DockerPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go index d9f1fa25f..fce54355f 100644 --- a/model_docker_package_upload_request.go +++ b/model_docker_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &DockerPackageUploadRequest{} type DockerPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *DockerPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *DockerPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *DockerPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *DockerPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *DockerPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *DockerPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *DockerPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *DockerPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o DockerPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o DockerPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *DockerPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_docker_upstream.go b/model_docker_upstream.go index 08d6575e7..64c67ff99 100644 --- a/model_docker_upstream.go +++ b/model_docker_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request.go b/model_docker_upstream_request.go index afad9fb52..30f65c088 100644 --- a/model_docker_upstream_request.go +++ b/model_docker_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request_patch.go b/model_docker_upstream_request_patch.go index b67a2db7d..fbbcaf1dd 100644 --- a/model_docker_upstream_request_patch.go +++ b/model_docker_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_dynamic_mapping.go b/model_dynamic_mapping.go index 3eae29d7d..e66f4b342 100644 --- a/model_dynamic_mapping.go +++ b/model_dynamic_mapping.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go index 4ec841fdb..6b29e3103 100644 --- a/model_entitlement_usage_metrics.go +++ b/model_entitlement_usage_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_error_detail.go b/model_error_detail.go index d25f321ab..dd156fed1 100644 --- a/model_error_detail.go +++ b/model_error_detail.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -21,6 +21,8 @@ var _ MappedNullable = &ErrorDetail{} // ErrorDetail struct for ErrorDetail type ErrorDetail struct { + // A machine-readable code for the error. Only set for validation errors. + Code *string `json:"code,omitempty"` // An extended message for the response. Detail string `json:"detail"` // A Dictionary of related errors where key: Field and value: Array of Errors related to that field @@ -48,6 +50,38 @@ func NewErrorDetailWithDefaults() *ErrorDetail { return &this } +// GetCode returns the Code field value if set, zero value otherwise. +func (o *ErrorDetail) GetCode() string { + if o == nil || IsNil(o.Code) { + var ret string + return ret + } + return *o.Code +} + +// GetCodeOk returns a tuple with the Code field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ErrorDetail) GetCodeOk() (*string, bool) { + if o == nil || IsNil(o.Code) { + return nil, false + } + return o.Code, true +} + +// HasCode returns a boolean if a field has been set. +func (o *ErrorDetail) HasCode() bool { + if o != nil && !IsNil(o.Code) { + return true + } + + return false +} + +// SetCode gets a reference to the given string and assigns it to the Code field. +func (o *ErrorDetail) SetCode(v string) { + o.Code = &v +} + // GetDetail returns the Detail field value func (o *ErrorDetail) GetDetail() string { if o == nil { @@ -114,6 +148,9 @@ func (o ErrorDetail) MarshalJSON() ([]byte, error) { func (o ErrorDetail) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} + if !IsNil(o.Code) { + toSerialize["code"] = o.Code + } toSerialize["detail"] = o.Detail if !IsNil(o.Fields) { toSerialize["fields"] = o.Fields @@ -161,6 +198,7 @@ func (o *ErrorDetail) UnmarshalJSON(data []byte) (err error) { additionalProperties := make(map[string]interface{}) if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "code") delete(additionalProperties, "detail") delete(additionalProperties, "fields") o.AdditionalProperties = additionalProperties diff --git a/model_eula.go b/model_eula.go index 57f298cbb..89c2651e0 100644 --- a/model_eula.go +++ b/model_eula.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_format.go b/model_format.go index 74c519a0f..207820774 100644 --- a/model_format.go +++ b/model_format.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_format_support.go b/model_format_support.go index b546ed883..345687bbb 100644 --- a/model_format_support.go +++ b/model_format_support.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_format_support_upstream.go b/model_format_support_upstream.go index 4d4bd5a25..8b1215793 100644 --- a/model_format_support_upstream.go +++ b/model_format_support_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_package_upload.go b/model_generic_package_upload.go index 078ab8199..38c3b149b 100644 --- a/model_generic_package_upload.go +++ b/model_generic_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type GenericPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type GenericPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type GenericPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *GenericPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GenericPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GenericPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *GenericPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *GenericPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *GenericPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *GenericPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *GenericPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o GenericPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *GenericPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_generic_package_upload_request.go b/model_generic_package_upload_request.go index 51075d8fb..48c99d5bb 100644 --- a/model_generic_package_upload_request.go +++ b/model_generic_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -27,6 +27,8 @@ type GenericPackageUploadRequest struct { Name NullableString `json:"name,omitempty"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -148,6 +150,49 @@ func (o *GenericPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GenericPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GenericPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *GenericPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *GenericPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *GenericPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *GenericPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *GenericPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -281,6 +326,9 @@ func (o GenericPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize["name"] = o.Name.Get() } toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -337,6 +385,7 @@ func (o *GenericPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "filepath") delete(additionalProperties, "name") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") delete(additionalProperties, "version") diff --git a/model_generic_upstream.go b/model_generic_upstream.go index 711ab700b..71fb437cd 100644 --- a/model_generic_upstream.go +++ b/model_generic_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request.go b/model_generic_upstream_request.go index 01bfdde14..fcad073f7 100644 --- a/model_generic_upstream_request.go +++ b/model_generic_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request_patch.go b/model_generic_upstream_request_patch.go index 88ce55167..89a18ca3d 100644 --- a/model_generic_upstream_request_patch.go +++ b/model_generic_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go index 39a1ca527..cd87ff34b 100644 --- a/model_geo_ip_location.go +++ b/model_geo_ip_location.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload.go b/model_go_package_upload.go index ecfa746d1..984041872 100644 --- a/model_go_package_upload.go +++ b/model_go_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type GoPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type GoPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type GoPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *GoPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GoPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *GoPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *GoPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *GoPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *GoPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *GoPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o GoPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *GoPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_go_package_upload_request.go b/model_go_package_upload_request.go index ce0fbe1a7..f220efff4 100644 --- a/model_go_package_upload_request.go +++ b/model_go_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &GoPackageUploadRequest{} type GoPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *GoPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *GoPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *GoPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *GoPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *GoPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *GoPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *GoPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *GoPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o GoPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o GoPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *GoPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_go_upstream.go b/model_go_upstream.go index a7b507570..537b09ad0 100644 --- a/model_go_upstream.go +++ b/model_go_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request.go b/model_go_upstream_request.go index 26335150c..53298c0a2 100644 --- a/model_go_upstream_request.go +++ b/model_go_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request_patch.go b/model_go_upstream_request_patch.go index 65144409e..f53766499 100644 --- a/model_go_upstream_request_patch.go +++ b/model_go_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go index d5fbd1db7..76f8e27e4 100644 --- a/model_helm_package_upload.go +++ b/model_helm_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type HelmPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type HelmPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type HelmPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *HelmPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HelmPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *HelmPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *HelmPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *HelmPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *HelmPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *HelmPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o HelmPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *HelmPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go index 8cb06e4a7..525eacc1d 100644 --- a/model_helm_package_upload_request.go +++ b/model_helm_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -25,6 +25,8 @@ type HelmPackageUploadRequest struct { PackageFile string `json:"package_file"` // The provenance file containing the signature for the chart. If one is not provided, it will be generated automatically. ProvenanceFile NullableString `json:"provenance_file,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -119,6 +121,49 @@ func (o *HelmPackageUploadRequest) UnsetProvenanceFile() { o.ProvenanceFile.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HelmPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HelmPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *HelmPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *HelmPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *HelmPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *HelmPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *HelmPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -208,6 +253,9 @@ func (o HelmPackageUploadRequest) ToMap() (map[string]interface{}, error) { if o.ProvenanceFile.IsSet() { toSerialize["provenance_file"] = o.ProvenanceFile.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -259,6 +307,7 @@ func (o *HelmPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") delete(additionalProperties, "provenance_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_helm_upstream.go b/model_helm_upstream.go index 88cc4ac73..35c98b382 100644 --- a/model_helm_upstream.go +++ b/model_helm_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request.go b/model_helm_upstream_request.go index c75c3cf5d..88e0e4055 100644 --- a/model_helm_upstream_request.go +++ b/model_helm_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request_patch.go b/model_helm_upstream_request_patch.go index 084bd3e0e..953cd3250 100644 --- a/model_helm_upstream_request_patch.go +++ b/model_helm_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload.go b/model_hex_package_upload.go index ad9a0bb9b..e844890d2 100644 --- a/model_hex_package_upload.go +++ b/model_hex_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type HexPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type HexPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type HexPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *HexPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HexPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HexPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *HexPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *HexPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *HexPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *HexPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *HexPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o HexPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *HexPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_hex_package_upload_request.go b/model_hex_package_upload_request.go index 2e91a57df..ae42243b8 100644 --- a/model_hex_package_upload_request.go +++ b/model_hex_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &HexPackageUploadRequest{} type HexPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *HexPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HexPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HexPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *HexPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *HexPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *HexPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *HexPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *HexPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o HexPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o HexPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *HexPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_hex_upstream.go b/model_hex_upstream.go index b2729c2d5..cb0b141d2 100644 --- a/model_hex_upstream.go +++ b/model_hex_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request.go b/model_hex_upstream_request.go index af17d0ec2..ddd967d34 100644 --- a/model_hex_upstream_request.go +++ b/model_hex_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request_patch.go b/model_hex_upstream_request_patch.go index b4c62a213..c89a9481d 100644 --- a/model_hex_upstream_request_patch.go +++ b/model_hex_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_history.go b/model_history.go index 9597c924a..dda724d28 100644 --- a/model_history.go +++ b/model_history.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset.go b/model_history_fieldset.go index 71f374910..4ffe9d5cf 100644 --- a/model_history_fieldset.go +++ b/model_history_fieldset.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset_raw.go b/model_history_fieldset_raw.go index 83f43bce7..c41a72799 100644 --- a/model_history_fieldset_raw.go +++ b/model_history_fieldset_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload.go b/model_huggingface_package_upload.go index 56a32d899..620893ed0 100644 --- a/model_huggingface_package_upload.go +++ b/model_huggingface_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type HuggingfacePackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type HuggingfacePackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type HuggingfacePackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *HuggingfacePackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HuggingfacePackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HuggingfacePackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *HuggingfacePackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *HuggingfacePackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *HuggingfacePackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *HuggingfacePackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *HuggingfacePackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o HuggingfacePackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *HuggingfacePackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_huggingface_package_upload_request.go b/model_huggingface_package_upload_request.go index 324db623a..bbaaddcc3 100644 --- a/model_huggingface_package_upload_request.go +++ b/model_huggingface_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &HuggingfacePackageUploadRequest{} type HuggingfacePackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *HuggingfacePackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *HuggingfacePackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *HuggingfacePackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *HuggingfacePackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *HuggingfacePackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *HuggingfacePackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *HuggingfacePackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *HuggingfacePackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o HuggingfacePackageUploadRequest) MarshalJSON() ([]byte, error) { func (o HuggingfacePackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *HuggingfacePackageUploadRequest) UnmarshalJSON(data []byte) (err error) if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_huggingface_upstream.go b/model_huggingface_upstream.go index a23b4271a..a1010827a 100644 --- a/model_huggingface_upstream.go +++ b/model_huggingface_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request.go b/model_huggingface_upstream_request.go index 4beaacca9..bca95fed2 100644 --- a/model_huggingface_upstream_request.go +++ b/model_huggingface_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request_patch.go b/model_huggingface_upstream_request_patch.go index 1e17424e9..dbe1d1696 100644 --- a/model_huggingface_upstream_request_patch.go +++ b/model_huggingface_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload.go b/model_luarocks_package_upload.go index 1390a0cc3..8a42b51a9 100644 --- a/model_luarocks_package_upload.go +++ b/model_luarocks_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type LuarocksPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type LuarocksPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type LuarocksPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *LuarocksPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LuarocksPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *LuarocksPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *LuarocksPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *LuarocksPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *LuarocksPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *LuarocksPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o LuarocksPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *LuarocksPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go index 6b7e3b3ea..5e32347cf 100644 --- a/model_luarocks_package_upload_request.go +++ b/model_luarocks_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &LuarocksPackageUploadRequest{} type LuarocksPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *LuarocksPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *LuarocksPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *LuarocksPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *LuarocksPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *LuarocksPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *LuarocksPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *LuarocksPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *LuarocksPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o LuarocksPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o LuarocksPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *LuarocksPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_maven_package_upload.go b/model_maven_package_upload.go index 4e276a631..8bea186e4 100644 --- a/model_maven_package_upload.go +++ b/model_maven_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -55,23 +55,24 @@ type MavenPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -92,17 +93,20 @@ type MavenPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` SbtVersion NullableString `json:"sbt_version,omitempty"` ScalaVersion NullableString `json:"scala_version,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -149,9 +153,10 @@ type MavenPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -2077,6 +2082,49 @@ func (o *MavenPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MavenPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *MavenPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *MavenPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *MavenPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *MavenPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *MavenPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3643,6 +3691,9 @@ func (o MavenPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3837,6 +3888,7 @@ func (o *MavenPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "sbt_version") diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go index a37869ab8..69c979265 100644 --- a/model_maven_package_upload_request.go +++ b/model_maven_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -37,6 +37,8 @@ type MavenPackageUploadRequest struct { Packaging NullableString `json:"packaging,omitempty"` // The POM file is an XML file containing the Maven coordinates. PomFile NullableString `json:"pom_file,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` SbtVersion NullableString `json:"sbt_version,omitempty"` @@ -387,6 +389,49 @@ func (o *MavenPackageUploadRequest) UnsetPomFile() { o.PomFile.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MavenPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *MavenPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *MavenPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *MavenPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *MavenPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -709,6 +754,9 @@ func (o MavenPackageUploadRequest) ToMap() (map[string]interface{}, error) { if o.PomFile.IsSet() { toSerialize["pom_file"] = o.PomFile.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -781,6 +829,7 @@ func (o *MavenPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "package_file") delete(additionalProperties, "packaging") delete(additionalProperties, "pom_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "sbt_version") delete(additionalProperties, "scala_version") diff --git a/model_maven_upstream.go b/model_maven_upstream.go index 9c5fe5f3d..69704712f 100644 --- a/model_maven_upstream.go +++ b/model_maven_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request.go b/model_maven_upstream_request.go index 292ab2c73..ad1a8f619 100644 --- a/model_maven_upstream_request.go +++ b/model_maven_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request_patch.go b/model_maven_upstream_request_patch.go index e9c66a5e2..b42c0a9bf 100644 --- a/model_maven_upstream_request_patch.go +++ b/model_maven_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload.go b/model_mcp_package_upload.go index 59f10cd77..8e01b007b 100644 --- a/model_mcp_package_upload.go +++ b/model_mcp_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type McpPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type McpPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type McpPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *McpPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *McpPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *McpPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *McpPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *McpPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *McpPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *McpPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *McpPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o McpPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *McpPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_mcp_package_upload_request.go b/model_mcp_package_upload_request.go index 9677dc2f8..414052dac 100644 --- a/model_mcp_package_upload_request.go +++ b/model_mcp_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &McpPackageUploadRequest{} type McpPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -76,6 +78,49 @@ func (o *McpPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *McpPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *McpPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *McpPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *McpPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *McpPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *McpPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *McpPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -205,6 +250,9 @@ func (o McpPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o McpPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -258,6 +306,7 @@ func (o *McpPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") delete(additionalProperties, "version") diff --git a/model_member_teams.go b/model_member_teams.go index 20794474e..5440ee7f6 100644 --- a/model_member_teams.go +++ b/model_member_teams.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_namespace.go b/model_namespace.go index 1b145bd00..71539259a 100644 --- a/model_namespace.go +++ b/model_namespace.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go index db620880d..fb6912843 100644 --- a/model_namespace_audit_log.go +++ b/model_namespace_audit_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nested_license_policy.go b/model_nested_license_policy.go index e1217bcc4..dbc93bdd5 100644 --- a/model_nested_license_policy.go +++ b/model_nested_license_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_policy.go b/model_nested_vulnerability_policy.go index 7ffd9cf07..d5a74ed05 100644 --- a/model_nested_vulnerability_policy.go +++ b/model_nested_vulnerability_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_scan_results.go b/model_nested_vulnerability_scan_results.go index fed7ebf6a..96030c007 100644 --- a/model_nested_vulnerability_scan_results.go +++ b/model_nested_vulnerability_scan_results.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nix_package_upload.go b/model_nix_package_upload.go index 1e4af83d4..ecffe2b80 100644 --- a/model_nix_package_upload.go +++ b/model_nix_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type NixPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type NixPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type NixPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *NixPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NixPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *NixPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *NixPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *NixPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *NixPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *NixPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o NixPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *NixPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_nix_package_upload_request.go b/model_nix_package_upload_request.go index f03802835..797408427 100644 --- a/model_nix_package_upload_request.go +++ b/model_nix_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -25,6 +25,8 @@ type NixPackageUploadRequest struct { NarinfoFile NullableString `json:"narinfo_file,omitempty"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -121,6 +123,49 @@ func (o *NixPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NixPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *NixPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *NixPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *NixPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *NixPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *NixPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -253,6 +298,9 @@ func (o NixPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize["narinfo_file"] = o.NarinfoFile.Get() } toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -307,6 +355,7 @@ func (o *NixPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "narinfo_file") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") delete(additionalProperties, "version") diff --git a/model_nix_upstream.go b/model_nix_upstream.go index ecaa3230c..ffbd62af9 100644 --- a/model_nix_upstream.go +++ b/model_nix_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nix_upstream_request.go b/model_nix_upstream_request.go index 3e6eaf79f..7a8da1905 100644 --- a/model_nix_upstream_request.go +++ b/model_nix_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nix_upstream_request_patch.go b/model_nix_upstream_request_patch.go index 8fbf46fae..b70d56519 100644 --- a/model_nix_upstream_request_patch.go +++ b/model_nix_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go index 4bebcde70..de5dbd0e1 100644 --- a/model_npm_package_upload.go +++ b/model_npm_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type NpmPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type NpmPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type NpmPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *NpmPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NpmPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *NpmPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *NpmPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *NpmPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *NpmPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *NpmPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o NpmPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *NpmPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_npm_package_upload_request.go b/model_npm_package_upload_request.go index 0551d5db7..3a4c970fa 100644 --- a/model_npm_package_upload_request.go +++ b/model_npm_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -25,6 +25,8 @@ type NpmPackageUploadRequest struct { NpmDistTag NullableString `json:"npm_dist_tag,omitempty"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -123,6 +125,49 @@ func (o *NpmPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NpmPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NpmPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *NpmPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *NpmPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *NpmPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *NpmPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *NpmPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -212,6 +257,9 @@ func (o NpmPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize["npm_dist_tag"] = o.NpmDistTag.Get() } toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -263,6 +311,7 @@ func (o *NpmPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "npm_dist_tag") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_npm_upstream.go b/model_npm_upstream.go index 3975e1dc2..85d390c86 100644 --- a/model_npm_upstream.go +++ b/model_npm_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request.go b/model_npm_upstream_request.go index fed0d0c40..1ff81bc40 100644 --- a/model_npm_upstream_request.go +++ b/model_npm_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request_patch.go b/model_npm_upstream_request_patch.go index 3b08bba3d..76755c1f7 100644 --- a/model_npm_upstream_request_patch.go +++ b/model_npm_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go index 258b4f4df..ea82ffcd4 100644 --- a/model_nuget_package_upload.go +++ b/model_nuget_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type NugetPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type NugetPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type NugetPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *NugetPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NugetPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *NugetPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *NugetPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *NugetPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *NugetPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *NugetPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o NugetPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *NugetPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go index 93802dc84..7d94b96f0 100644 --- a/model_nuget_package_upload_request.go +++ b/model_nuget_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &NugetPackageUploadRequest{} type NugetPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // Uploads a symbols file as a separate package @@ -76,6 +78,49 @@ func (o *NugetPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NugetPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *NugetPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *NugetPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *NugetPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *NugetPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *NugetPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *NugetPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -205,6 +250,9 @@ func (o NugetPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o NugetPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -258,6 +306,7 @@ func (o *NugetPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "symbols_file") delete(additionalProperties, "tags") diff --git a/model_nuget_upstream.go b/model_nuget_upstream.go index cc628b80a..3a2359544 100644 --- a/model_nuget_upstream.go +++ b/model_nuget_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request.go b/model_nuget_upstream_request.go index 58fe5bb28..648688ccf 100644 --- a/model_nuget_upstream_request.go +++ b/model_nuget_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request_patch.go b/model_nuget_upstream_request_patch.go index da6d5c732..f8f26bc1d 100644 --- a/model_nuget_upstream_request_patch.go +++ b/model_nuget_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_oidc_1.go b/model_oidc_1.go index 0e31793dd..5a4381036 100644 --- a/model_oidc_1.go +++ b/model_oidc_1.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_oidc_request.go b/model_oidc_request.go index de603dc3a..0937fb97b 100644 --- a/model_oidc_request.go +++ b/model_oidc_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization.go b/model_organization.go index dcb070fbb..4941c8adc 100644 --- a/model_organization.go +++ b/model_organization.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_api_key_rule.go b/model_organization_api_key_rule.go index c51109793..c68ba6898 100644 --- a/model_organization_api_key_rule.go +++ b/model_organization_api_key_rule.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -35,7 +35,7 @@ type OrganizationApiKeyRule struct { RuleType string `json:"rule_type"` // Human-readable identifier for the rule type. Automatically generated based on the rule type. Slug *string `json:"slug,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` - // An auto-generated id that uniquely identifies the API key policy. + // An auto-generated id that uniquely identifies the rule. SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` UpdatedAt *time.Time `json:"updated_at,omitempty"` AdditionalProperties map[string]interface{} diff --git a/model_organization_api_key_rule_request.go b/model_organization_api_key_rule_request.go index 1e1a52c28..22fd4d44c 100644 --- a/model_organization_api_key_rule_request.go +++ b/model_organization_api_key_rule_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_api_key_rule_request_patch.go b/model_organization_api_key_rule_request_patch.go index 1b075a929..76d5f2ae2 100644 --- a/model_organization_api_key_rule_request_patch.go +++ b/model_organization_api_key_rule_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domain_nested_repo.go b/model_organization_custom_domain_nested_repo.go index 4d0e3ab87..df049e580 100644 --- a/model_organization_custom_domain_nested_repo.go +++ b/model_organization_custom_domain_nested_repo.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domains.go b/model_organization_custom_domains.go index 843c65380..2a52b6d02 100644 --- a/model_organization_custom_domains.go +++ b/model_organization_custom_domains.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync.go b/model_organization_group_sync.go index 347747528..e983a856c 100644 --- a/model_organization_group_sync.go +++ b/model_organization_group_sync.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_request.go b/model_organization_group_sync_request.go index 3173392ca..02bd4a297 100644 --- a/model_organization_group_sync_request.go +++ b/model_organization_group_sync_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_status.go b/model_organization_group_sync_status.go index 23a4b17e0..8d7502069 100644 --- a/model_organization_group_sync_status.go +++ b/model_organization_group_sync_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite.go b/model_organization_invite.go index 81ede258d..1c69e41e5 100644 --- a/model_organization_invite.go +++ b/model_organization_invite.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go index 485ddd416..09f8e96dc 100644 --- a/model_organization_invite_extend.go +++ b/model_organization_invite_extend.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go index 7ae9e341f..3ff11ce40 100644 --- a/model_organization_invite_request.go +++ b/model_organization_invite_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update.go b/model_organization_invite_update.go index 02a03a4a4..145477337 100644 --- a/model_organization_invite_update.go +++ b/model_organization_invite_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go index 6f614e49b..06c0734e0 100644 --- a/model_organization_invite_update_request_patch.go +++ b/model_organization_invite_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership.go b/model_organization_membership.go index cb1ae5e01..c0fbf9e87 100644 --- a/model_organization_membership.go +++ b/model_organization_membership.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update.go b/model_organization_membership_role_update.go index 7ed6d5790..b918019d3 100644 --- a/model_organization_membership_role_update.go +++ b/model_organization_membership_role_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update_request_patch.go b/model_organization_membership_role_update_request_patch.go index d7fddbc84..1381f3531 100644 --- a/model_organization_membership_role_update_request_patch.go +++ b/model_organization_membership_role_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update.go b/model_organization_membership_visibility_update.go index 74b96ab7f..3a98190c9 100644 --- a/model_organization_membership_visibility_update.go +++ b/model_organization_membership_visibility_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update_request_patch.go b/model_organization_membership_visibility_update_request_patch.go index 8a5f393fc..e5ef5e133 100644 --- a/model_organization_membership_visibility_update_request_patch.go +++ b/model_organization_membership_visibility_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy.go b/model_organization_package_license_policy.go index 0b64eb001..734869160 100644 --- a/model_organization_package_license_policy.go +++ b/model_organization_package_license_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request.go b/model_organization_package_license_policy_request.go index 7d7a630fc..5b417d841 100644 --- a/model_organization_package_license_policy_request.go +++ b/model_organization_package_license_policy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request_patch.go b/model_organization_package_license_policy_request_patch.go index 4c88f0ba9..53dd072eb 100644 --- a/model_organization_package_license_policy_request_patch.go +++ b/model_organization_package_license_policy_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy.go b/model_organization_package_vulnerability_policy.go index 69a4d7631..4c4149179 100644 --- a/model_organization_package_vulnerability_policy.go +++ b/model_organization_package_vulnerability_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request.go b/model_organization_package_vulnerability_policy_request.go index 9925fc9fa..374278469 100644 --- a/model_organization_package_vulnerability_policy_request.go +++ b/model_organization_package_vulnerability_policy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request_patch.go b/model_organization_package_vulnerability_policy_request_patch.go index 133201c63..a66bf4bd2 100644 --- a/model_organization_package_vulnerability_policy_request_patch.go +++ b/model_organization_package_vulnerability_policy_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth.go b/model_organization_saml_auth.go index 209916594..064775d70 100644 --- a/model_organization_saml_auth.go +++ b/model_organization_saml_auth.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth_request_patch.go b/model_organization_saml_auth_request_patch.go index f4721329c..02d353023 100644 --- a/model_organization_saml_auth_request_patch.go +++ b/model_organization_saml_auth_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team.go b/model_organization_team.go index fd86bbddd..d4efc60de 100644 --- a/model_organization_team.go +++ b/model_organization_team.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_invite.go b/model_organization_team_invite.go index 630edd8d6..947ab8316 100644 --- a/model_organization_team_invite.go +++ b/model_organization_team_invite.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_members.go b/model_organization_team_members.go index 77642f2bf..f1ca1bbc6 100644 --- a/model_organization_team_members.go +++ b/model_organization_team_members.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request.go b/model_organization_team_request.go index d7d7b6fa4..b5bf78286 100644 --- a/model_organization_team_request.go +++ b/model_organization_team_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request_patch.go b/model_organization_team_request_patch.go index 071047328..5f1d34659 100644 --- a/model_organization_team_request_patch.go +++ b/model_organization_team_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_service_member.go b/model_organization_team_service_member.go index 255252c37..e5561ee1f 100644 --- a/model_organization_team_service_member.go +++ b/model_organization_team_service_member.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage.go b/model_organization_usage.go index cc6d2464a..f6689af9a 100644 --- a/model_organization_usage.go +++ b/model_organization_usage.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage_update.go b/model_organization_usage_update.go index 835b43a5e..2cbd56b9a 100644 --- a/model_organization_usage_update.go +++ b/model_organization_usage_update.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage_update_request_patch.go b/model_organization_usage_update_request_patch.go index 118853a53..9b388d418 100644 --- a/model_organization_usage_update_request_patch.go +++ b/model_organization_usage_update_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_orgs_retrieve_usage_limits_200_response.go b/model_orgs_retrieve_usage_limits_200_response.go index f8d60eae6..566f576e2 100644 --- a/model_orgs_retrieve_usage_limits_200_response.go +++ b/model_orgs_retrieve_usage_limits_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_orgs_update_usage_limits_200_response.go b/model_orgs_update_usage_limits_200_response.go index 1d10899d3..9d95ccd28 100644 --- a/model_orgs_update_usage_limits_200_response.go +++ b/model_orgs_update_usage_limits_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go index 541538084..87c006109 100644 --- a/model_p2_package_upload.go +++ b/model_p2_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type P2PackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type P2PackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type P2PackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *P2PackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *P2PackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *P2PackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *P2PackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *P2PackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *P2PackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *P2PackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o P2PackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *P2PackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go index d3c20b6f1..247ebf864 100644 --- a/model_p2_package_upload_request.go +++ b/model_p2_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &P2PackageUploadRequest{} type P2PackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *P2PackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *P2PackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *P2PackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *P2PackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *P2PackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *P2PackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *P2PackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *P2PackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o P2PackageUploadRequest) MarshalJSON() ([]byte, error) { func (o P2PackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *P2PackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_package.go b/model_package.go index b2aa55b06..aea40bb8d 100644 --- a/model_package.go +++ b/model_package.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -61,11 +61,12 @@ type Package struct { IsDownloadable *bool `json:"is_downloadable,omitempty"` IsHidden *bool `json:"is_hidden,omitempty"` // Whether the package has been detected as containing malware. Requires Ultra plan. - IsMalwareDetected *bool `json:"is_malware_detected,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` + IsMalwareDetected *bool `json:"is_malware_detected,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` @@ -90,15 +91,18 @@ type Package struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -147,10 +151,11 @@ type Package struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityCounts NullableWebOSVSeverityCounts `json:"vulnerability_counts,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityCounts NullableWebOSVSeverityCounts `json:"vulnerability_counts,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -2022,6 +2027,49 @@ func (o *Package) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *Package) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *Package) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *Package) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *Package) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *Package) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *Package) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *Package) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3574,6 +3622,9 @@ func (o Package) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3767,6 +3818,7 @@ func (o *Package) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_bulk_action.go b/model_package_bulk_action.go index e49081d4c..392ddd009 100644 --- a/model_package_bulk_action.go +++ b/model_package_bulk_action.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action_response.go b/model_package_bulk_action_response.go index b1deb4324..04cb758fd 100644 --- a/model_package_bulk_action_response.go +++ b/model_package_bulk_action_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_copy.go b/model_package_copy.go index 7acc97237..b1d1ce05c 100644 --- a/model_package_copy.go +++ b/model_package_copy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -53,23 +53,24 @@ type PackageCopy struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -89,15 +90,18 @@ type PackageCopy struct { RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // The repository the package will be copied to. Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -146,9 +150,10 @@ type PackageCopy struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1988,6 +1993,49 @@ func (o *PackageCopy) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageCopy) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageCopy) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageCopy) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageCopy) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageCopy) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageCopy) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PackageCopy) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3494,6 +3542,9 @@ func (o PackageCopy) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3683,6 +3734,7 @@ func (o *PackageCopy) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_copy_request.go b/model_package_copy_request.go index 2ec6f47d4..a72d94b0d 100644 --- a/model_package_copy_request.go +++ b/model_package_copy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &PackageCopyRequest{} type PackageCopyRequest struct { // The name of the destination repository without the namespace. Destination string `json:"destination"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` AdditionalProperties map[string]interface{} @@ -72,6 +74,49 @@ func (o *PackageCopyRequest) SetDestination(v string) { o.Destination = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageCopyRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageCopyRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageCopyRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageCopyRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageCopyRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageCopyRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *PackageCopyRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -115,6 +160,9 @@ func (o PackageCopyRequest) MarshalJSON() ([]byte, error) { func (o PackageCopyRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["destination"] = o.Destination + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -162,6 +210,7 @@ func (o *PackageCopyRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "destination") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") o.AdditionalProperties = additionalProperties } diff --git a/model_package_deny_policy.go b/model_package_deny_policy.go index bae4876e9..6851570c4 100644 --- a/model_package_deny_policy.go +++ b/model_package_deny_policy.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request.go b/model_package_deny_policy_request.go index dbb779c6c..9bc12d65b 100644 --- a/model_package_deny_policy_request.go +++ b/model_package_deny_policy_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request_patch.go b/model_package_deny_policy_request_patch.go index 8aba6b5eb..64a462d62 100644 --- a/model_package_deny_policy_request_patch.go +++ b/model_package_deny_policy_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_dependencies.go b/model_package_dependencies.go index 0ebd844a5..56d3bb6a2 100644 --- a/model_package_dependencies.go +++ b/model_package_dependencies.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_dependency.go b/model_package_dependency.go index 196925377..c8a58f1a9 100644 --- a/model_package_dependency.go +++ b/model_package_dependency.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_detail.go b/model_package_detail.go index 4084e0c9b..77f16d413 100644 --- a/model_package_detail.go +++ b/model_package_detail.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -63,11 +63,12 @@ type PackageDetail struct { IsDownloadable *bool `json:"is_downloadable,omitempty"` IsHidden *bool `json:"is_hidden,omitempty"` // Whether the package has been detected as containing malware. Requires Ultra plan. - IsMalwareDetected *bool `json:"is_malware_detected,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` + IsMalwareDetected *bool `json:"is_malware_detected,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` @@ -87,20 +88,25 @@ type PackageDetail struct { OsiApproved *bool `json:"osi_approved,omitempty"` // The type of package contents. PackageType *int64 `json:"package_type,omitempty"` + // The skills a plugin bundles. Null for any other package. + PluginSkills []PluginSkill `json:"plugin_skills,omitempty"` // Whether or not the package has violated any policy. PolicyViolated *bool `json:"policy_violated,omitempty"` // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -149,10 +155,11 @@ type PackageDetail struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityCounts NullableWebOSVSeverityCounts `json:"vulnerability_counts,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + VulnerabilityCounts NullableWebOSVSeverityCounts `json:"vulnerability_counts,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1938,6 +1945,39 @@ func (o *PackageDetail) SetPackageType(v int64) { o.PackageType = &v } +// GetPluginSkills returns the PluginSkills field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageDetail) GetPluginSkills() []PluginSkill { + if o == nil { + var ret []PluginSkill + return ret + } + return o.PluginSkills +} + +// GetPluginSkillsOk returns a tuple with the PluginSkills field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageDetail) GetPluginSkillsOk() ([]PluginSkill, bool) { + if o == nil || IsNil(o.PluginSkills) { + return nil, false + } + return o.PluginSkills, true +} + +// HasPluginSkills returns a boolean if a field has been set. +func (o *PackageDetail) HasPluginSkills() bool { + if o != nil && !IsNil(o.PluginSkills) { + return true + } + + return false +} + +// SetPluginSkills gets a reference to the given []PluginSkill and assigns it to the PluginSkills field. +func (o *PackageDetail) SetPluginSkills(v []PluginSkill) { + o.PluginSkills = v +} + // GetPolicyViolated returns the PolicyViolated field value if set, zero value otherwise. func (o *PackageDetail) GetPolicyViolated() bool { if o == nil || IsNil(o.PolicyViolated) { @@ -2056,6 +2096,49 @@ func (o *PackageDetail) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageDetail) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageDetail) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageDetail) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageDetail) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageDetail) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageDetail) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PackageDetail) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3602,6 +3685,9 @@ func (o PackageDetail) ToMap() (map[string]interface{}, error) { if !IsNil(o.PackageType) { toSerialize["package_type"] = o.PackageType } + if o.PluginSkills != nil { + toSerialize["plugin_skills"] = o.PluginSkills + } if !IsNil(o.PolicyViolated) { toSerialize["policy_violated"] = o.PolicyViolated } @@ -3611,6 +3697,9 @@ func (o PackageDetail) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3802,9 +3891,11 @@ func (o *PackageDetail) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "origin_repository_url") delete(additionalProperties, "osi_approved") delete(additionalProperties, "package_type") + delete(additionalProperties, "plugin_skills") delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_file.go b/model_package_file.go index fbe0c88cc..92fdd791c 100644 --- a/model_package_file.go +++ b/model_package_file.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go index 0b3b4ebd2..f75fa548a 100644 --- a/model_package_file_parts_upload.go +++ b/model_package_file_parts_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload.go b/model_package_file_upload.go index 12fded0dc..59bf950a7 100644 --- a/model_package_file_upload.go +++ b/model_package_file_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload_request.go b/model_package_file_upload_request.go index 830c0a3e5..4554b3830 100644 --- a/model_package_file_upload_request.go +++ b/model_package_file_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_group.go b/model_package_group.go index dd1bdcea3..25019bf3a 100644 --- a/model_package_group.go +++ b/model_package_group.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license.go b/model_package_license.go index 6b44768ae..51c53e97f 100644 --- a/model_package_license.go +++ b/model_package_license.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_evaluation_request.go b/model_package_license_policy_evaluation_request.go index 6d7ce2e44..060040956 100644 --- a/model_package_license_policy_evaluation_request.go +++ b/model_package_license_policy_evaluation_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log.go b/model_package_license_policy_violation_log.go index db3539fbc..ed15211e7 100644 --- a/model_package_license_policy_violation_log.go +++ b/model_package_license_policy_violation_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log_cursor_page.go b/model_package_license_policy_violation_log_cursor_page.go index f4f56b463..2a262aec8 100644 --- a/model_package_license_policy_violation_log_cursor_page.go +++ b/model_package_license_policy_violation_log_cursor_page.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_license_request_patch.go b/model_package_license_request_patch.go index 7fbd9cc42..226ba75df 100644 --- a/model_package_license_request_patch.go +++ b/model_package_license_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_move.go b/model_package_move.go index f426b0af4..9f5f32cd1 100644 --- a/model_package_move.go +++ b/model_package_move.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -53,23 +53,24 @@ type PackageMove struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -89,15 +90,18 @@ type PackageMove struct { RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // The repository the package will be moved to. Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -146,9 +150,10 @@ type PackageMove struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1988,6 +1993,49 @@ func (o *PackageMove) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageMove) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageMove) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageMove) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageMove) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageMove) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageMove) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PackageMove) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3494,6 +3542,9 @@ func (o PackageMove) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3683,6 +3734,7 @@ func (o *PackageMove) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_move_request.go b/model_package_move_request.go index 0c9a047fa..7086ce5be 100644 --- a/model_package_move_request.go +++ b/model_package_move_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -22,7 +22,9 @@ var _ MappedNullable = &PackageMoveRequest{} // PackageMoveRequest struct for PackageMoveRequest type PackageMoveRequest struct { // The name of the destination repository without the namespace. - Destination string `json:"destination"` + Destination string `json:"destination"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` AdditionalProperties map[string]interface{} } @@ -70,6 +72,49 @@ func (o *PackageMoveRequest) SetDestination(v string) { o.Destination = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageMoveRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageMoveRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageMoveRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageMoveRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageMoveRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageMoveRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + func (o PackageMoveRequest) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -81,6 +126,9 @@ func (o PackageMoveRequest) MarshalJSON() ([]byte, error) { func (o PackageMoveRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["destination"] = o.Destination + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } for key, value := range o.AdditionalProperties { toSerialize[key] = value @@ -125,6 +173,7 @@ func (o *PackageMoveRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "destination") + delete(additionalProperties, "release_notes") o.AdditionalProperties = additionalProperties } diff --git a/model_package_quarantine.go b/model_package_quarantine.go index fa300b04c..d7cbbe2e8 100644 --- a/model_package_quarantine.go +++ b/model_package_quarantine.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -53,23 +53,24 @@ type PackageQuarantine struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type PackageQuarantine struct { // Whether or not the package has violated any policy. PolicyViolated *bool `json:"policy_violated,omitempty"` // The raw license string. - RawLicense NullableString `json:"raw_license,omitempty"` + RawLicense NullableString `json:"raw_license,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -143,9 +147,10 @@ type PackageQuarantine struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1942,6 +1947,49 @@ func (o *PackageQuarantine) UnsetRawLicense() { o.RawLicense.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageQuarantine) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageQuarantine) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageQuarantine) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageQuarantine) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageQuarantine) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageQuarantine) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PackageQuarantine) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3445,6 +3493,9 @@ func (o PackageQuarantine) ToMap() (map[string]interface{}, error) { if o.RawLicense.IsSet() { toSerialize["raw_license"] = o.RawLicense.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3633,6 +3684,7 @@ func (o *PackageQuarantine) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "package_type") delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go index 822c9df49..ca9c33646 100644 --- a/model_package_quarantine_request.go +++ b/model_package_quarantine_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -22,6 +22,8 @@ var _ MappedNullable = &PackageQuarantineRequest{} type PackageQuarantineRequest struct { // If true, the package is released from quarantine. Release *bool `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the package is released from quarantine. Note: This field is deprecated, please use 'release' instead. Restore *bool `json:"restore,omitempty"` AdditionalProperties map[string]interface{} @@ -78,6 +80,49 @@ func (o *PackageQuarantineRequest) SetRelease(v bool) { o.Release = &v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageQuarantineRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageQuarantineRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageQuarantineRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageQuarantineRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageQuarantineRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageQuarantineRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRestore returns the Restore field value if set, zero value otherwise. func (o *PackageQuarantineRequest) GetRestore() bool { if o == nil || IsNil(o.Restore) { @@ -123,6 +168,9 @@ func (o PackageQuarantineRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.Release) { toSerialize["release"] = o.Release } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Restore) { toSerialize["restore"] = o.Restore } @@ -149,6 +197,7 @@ func (o *PackageQuarantineRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "restore") o.AdditionalProperties = additionalProperties } diff --git a/model_package_recycle_bin.go b/model_package_recycle_bin.go index 0cb1f956b..d256a189d 100644 --- a/model_package_recycle_bin.go +++ b/model_package_recycle_bin.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_resync.go b/model_package_resync.go index 711a39508..952d85dc3 100644 --- a/model_package_resync.go +++ b/model_package_resync.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -53,23 +53,24 @@ type PackageResync struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -88,15 +89,18 @@ type PackageResync struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -145,9 +149,10 @@ type PackageResync struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1987,6 +1992,49 @@ func (o *PackageResync) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageResync) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageResync) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageResync) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageResync) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageResync) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageResync) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PackageResync) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3493,6 +3541,9 @@ func (o PackageResync) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3682,6 +3733,7 @@ func (o *PackageResync) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_status.go b/model_package_status.go index 8e0730d80..5e31c36fa 100644 --- a/model_package_status.go +++ b/model_package_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -21,15 +21,16 @@ var _ MappedNullable = &PackageStatus{} // PackageStatus struct for PackageStatus type PackageStatus struct { - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` diff --git a/model_package_tag.go b/model_package_tag.go index bb33ac752..9a0097157 100644 --- a/model_package_tag.go +++ b/model_package_tag.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -61,11 +61,12 @@ type PackageTag struct { IsDownloadable *bool `json:"is_downloadable,omitempty"` IsHidden *bool `json:"is_hidden,omitempty"` // If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. - IsImmutable *bool `json:"is_immutable,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` + IsImmutable *bool `json:"is_immutable,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` @@ -90,15 +91,18 @@ type PackageTag struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -145,9 +149,10 @@ type PackageTag struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -2023,6 +2028,49 @@ func (o *PackageTag) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTag) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTag) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageTag) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageTag) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageTag) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageTag) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PackageTag) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3500,6 +3548,9 @@ func (o PackageTag) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3687,6 +3738,7 @@ func (o *PackageTag) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_package_tag_request.go b/model_package_tag_request.go index 74c7466ff..56326e84d 100644 --- a/model_package_tag_request.go +++ b/model_package_tag_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ type PackageTagRequest struct { Action NullableString `json:"action,omitempty"` // If true, created tags will be immutable. An immutable flag is a tag that cannot be removed from a package. IsImmutable *bool `json:"is_immutable,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // A list of tags to apply the action to. Not required for clears. Tags []string `json:"tags,omitempty"` AdditionalProperties map[string]interface{} @@ -130,6 +132,49 @@ func (o *PackageTagRequest) SetIsImmutable(v bool) { o.IsImmutable = &v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PackageTagRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PackageTagRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PackageTagRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PackageTagRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PackageTagRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PackageTagRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). func (o *PackageTagRequest) GetTags() []string { if o == nil { @@ -179,6 +224,9 @@ func (o PackageTagRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.IsImmutable) { toSerialize["is_immutable"] = o.IsImmutable } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if o.Tags != nil { toSerialize["tags"] = o.Tags } @@ -206,6 +254,7 @@ func (o *PackageTagRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "action") delete(additionalProperties, "is_immutable") + delete(additionalProperties, "release_notes") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties } diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go index 60536d68c..cca8ddad7 100644 --- a/model_package_usage_metrics.go +++ b/model_package_usage_metrics.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go index f8e01b6f5..d777eb57c 100644 --- a/model_package_vulnerability.go +++ b/model_package_vulnerability.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_evaluation_request.go b/model_package_vulnerability_policy_evaluation_request.go index 2fcfd3fdb..476b8ddbf 100644 --- a/model_package_vulnerability_policy_evaluation_request.go +++ b/model_package_vulnerability_policy_evaluation_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log.go b/model_package_vulnerability_policy_violation_log.go index 5c138f9ce..d82c31864 100644 --- a/model_package_vulnerability_policy_violation_log.go +++ b/model_package_vulnerability_policy_violation_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log_cursor_page.go b/model_package_vulnerability_policy_violation_log_cursor_page.go index 94bee163a..c95a12c70 100644 --- a/model_package_vulnerability_policy_violation_log_cursor_page.go +++ b/model_package_vulnerability_policy_violation_log_cursor_page.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_packages_groups_list_200_response.go b/model_packages_groups_list_200_response.go index aa7be7dc0..a2c64f402 100644 --- a/model_packages_groups_list_200_response.go +++ b/model_packages_groups_list_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_plugin_skill.go b/model_plugin_skill.go new file mode 100644 index 000000000..0dc1410e8 --- /dev/null +++ b/model_plugin_skill.go @@ -0,0 +1,203 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// checks if the PluginSkill type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &PluginSkill{} + +// PluginSkill struct for PluginSkill +type PluginSkill struct { + // The skill's description, if it declares one. Truncated to 200 characters. + Description NullableString `json:"description,omitempty"` + Name *string `json:"name,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _PluginSkill PluginSkill + +// NewPluginSkill instantiates a new PluginSkill object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPluginSkill() *PluginSkill { + this := PluginSkill{} + return &this +} + +// NewPluginSkillWithDefaults instantiates a new PluginSkill object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPluginSkillWithDefaults() *PluginSkill { + this := PluginSkill{} + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PluginSkill) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PluginSkill) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *PluginSkill) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *PluginSkill) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *PluginSkill) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *PluginSkill) UnsetDescription() { + o.Description.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *PluginSkill) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PluginSkill) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *PluginSkill) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *PluginSkill) SetName(v string) { + o.Name = &v +} + +func (o PluginSkill) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o PluginSkill) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *PluginSkill) UnmarshalJSON(data []byte) (err error) { + varPluginSkill := _PluginSkill{} + + err = json.Unmarshal(data, &varPluginSkill) + + if err != nil { + return err + } + + *o = PluginSkill(varPluginSkill) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "description") + delete(additionalProperties, "name") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullablePluginSkill struct { + value *PluginSkill + isSet bool +} + +func (v NullablePluginSkill) Get() *PluginSkill { + return v.value +} + +func (v *NullablePluginSkill) Set(val *PluginSkill) { + v.value = val + v.isSet = true +} + +func (v NullablePluginSkill) IsSet() bool { + return v.isSet +} + +func (v *NullablePluginSkill) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullablePluginSkill(val *PluginSkill) *NullablePluginSkill { + return &NullablePluginSkill{value: val, isSet: true} +} + +func (v NullablePluginSkill) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullablePluginSkill) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_provider_settings.go b/model_provider_settings.go index 92b163297..71c530af6 100644 --- a/model_provider_settings.go +++ b/model_provider_settings.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -25,11 +25,13 @@ type ProviderSettings struct { Claims map[string]interface{} `json:"claims"` // Whether the provider settings should be used for incoming OIDC requests. Enabled bool `json:"enabled"` + // The manually uploaded JWKS, for providers we do not have remote access to. + Jwks map[string]interface{} `json:"jwks,omitempty"` // The OIDC claim to use for mapping to service accounts in dynamic_mappings. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. MappingClaim NullableString `json:"mapping_claim,omitempty"` // The name of the provider settings are being configured for Name string `json:"name"` - // The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ + // The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ ProviderUrl string `json:"provider_url"` // The service accounts associated with these provider settings. ServiceAccounts []string `json:"service_accounts,omitempty"` @@ -111,6 +113,39 @@ func (o *ProviderSettings) SetEnabled(v bool) { o.Enabled = v } +// GetJwks returns the Jwks field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProviderSettings) GetJwks() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Jwks +} + +// GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProviderSettings) GetJwksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Jwks) { + return map[string]interface{}{}, false + } + return o.Jwks, true +} + +// HasJwks returns a boolean if a field has been set. +func (o *ProviderSettings) HasJwks() bool { + if o != nil && !IsNil(o.Jwks) { + return true + } + + return false +} + +// SetJwks gets a reference to the given map[string]interface{} and assigns it to the Jwks field. +func (o *ProviderSettings) SetJwks(v map[string]interface{}) { + o.Jwks = v +} + // GetMappingClaim returns the MappingClaim field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ProviderSettings) GetMappingClaim() string { if o == nil || IsNil(o.MappingClaim.Get()) { @@ -310,6 +345,9 @@ func (o ProviderSettings) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["claims"] = o.Claims toSerialize["enabled"] = o.Enabled + if o.Jwks != nil { + toSerialize["jwks"] = o.Jwks + } if o.MappingClaim.IsSet() { toSerialize["mapping_claim"] = o.MappingClaim.Get() } @@ -372,6 +410,7 @@ func (o *ProviderSettings) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "claims") delete(additionalProperties, "enabled") + delete(additionalProperties, "jwks") delete(additionalProperties, "mapping_claim") delete(additionalProperties, "name") delete(additionalProperties, "provider_url") diff --git a/model_provider_settings_write.go b/model_provider_settings_write.go index 8a08bb81c..a3b3b45f2 100644 --- a/model_provider_settings_write.go +++ b/model_provider_settings_write.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -27,11 +27,13 @@ type ProviderSettingsWrite struct { DynamicMappings []DynamicMapping `json:"dynamic_mappings,omitempty"` // Whether the provider settings should be used for incoming OIDC requests. Enabled bool `json:"enabled"` + // The manually uploaded JWKS, for providers we do not have remote access to. + Jwks map[string]interface{} `json:"jwks,omitempty"` // The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. MappingClaim NullableString `json:"mapping_claim,omitempty"` // The name of the provider settings are being configured for Name string `json:"name"` - // The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ + // The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ ProviderUrl string `json:"provider_url"` // The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. ServiceAccounts []string `json:"service_accounts,omitempty"` @@ -145,6 +147,39 @@ func (o *ProviderSettingsWrite) SetEnabled(v bool) { o.Enabled = v } +// GetJwks returns the Jwks field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProviderSettingsWrite) GetJwks() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Jwks +} + +// GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProviderSettingsWrite) GetJwksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Jwks) { + return map[string]interface{}{}, false + } + return o.Jwks, true +} + +// HasJwks returns a boolean if a field has been set. +func (o *ProviderSettingsWrite) HasJwks() bool { + if o != nil && !IsNil(o.Jwks) { + return true + } + + return false +} + +// SetJwks gets a reference to the given map[string]interface{} and assigns it to the Jwks field. +func (o *ProviderSettingsWrite) SetJwks(v map[string]interface{}) { + o.Jwks = v +} + // GetMappingClaim returns the MappingClaim field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ProviderSettingsWrite) GetMappingClaim() string { if o == nil || IsNil(o.MappingClaim.Get()) { @@ -347,6 +382,9 @@ func (o ProviderSettingsWrite) ToMap() (map[string]interface{}, error) { toSerialize["dynamic_mappings"] = o.DynamicMappings } toSerialize["enabled"] = o.Enabled + if o.Jwks != nil { + toSerialize["jwks"] = o.Jwks + } if o.MappingClaim.IsSet() { toSerialize["mapping_claim"] = o.MappingClaim.Get() } @@ -410,6 +448,7 @@ func (o *ProviderSettingsWrite) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "claims") delete(additionalProperties, "dynamic_mappings") delete(additionalProperties, "enabled") + delete(additionalProperties, "jwks") delete(additionalProperties, "mapping_claim") delete(additionalProperties, "name") delete(additionalProperties, "provider_url") diff --git a/model_provider_settings_write_request.go b/model_provider_settings_write_request.go index f6d29b21e..8b2641e36 100644 --- a/model_provider_settings_write_request.go +++ b/model_provider_settings_write_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -27,11 +27,13 @@ type ProviderSettingsWriteRequest struct { DynamicMappings []DynamicMapping `json:"dynamic_mappings,omitempty"` // Whether the provider settings should be used for incoming OIDC requests. Enabled bool `json:"enabled"` + // The manually uploaded JWKS, for providers we do not have remote access to. + Jwks map[string]interface{} `json:"jwks,omitempty"` // The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. MappingClaim NullableString `json:"mapping_claim,omitempty"` // The name of the provider settings are being configured for Name string `json:"name"` - // The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ + // The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ ProviderUrl string `json:"provider_url"` // The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. ServiceAccounts []string `json:"service_accounts,omitempty"` @@ -141,6 +143,39 @@ func (o *ProviderSettingsWriteRequest) SetEnabled(v bool) { o.Enabled = v } +// GetJwks returns the Jwks field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProviderSettingsWriteRequest) GetJwks() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Jwks +} + +// GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProviderSettingsWriteRequest) GetJwksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Jwks) { + return map[string]interface{}{}, false + } + return o.Jwks, true +} + +// HasJwks returns a boolean if a field has been set. +func (o *ProviderSettingsWriteRequest) HasJwks() bool { + if o != nil && !IsNil(o.Jwks) { + return true + } + + return false +} + +// SetJwks gets a reference to the given map[string]interface{} and assigns it to the Jwks field. +func (o *ProviderSettingsWriteRequest) SetJwks(v map[string]interface{}) { + o.Jwks = v +} + // GetMappingClaim returns the MappingClaim field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ProviderSettingsWriteRequest) GetMappingClaim() string { if o == nil || IsNil(o.MappingClaim.Get()) { @@ -279,6 +314,9 @@ func (o ProviderSettingsWriteRequest) ToMap() (map[string]interface{}, error) { toSerialize["dynamic_mappings"] = o.DynamicMappings } toSerialize["enabled"] = o.Enabled + if o.Jwks != nil { + toSerialize["jwks"] = o.Jwks + } if o.MappingClaim.IsSet() { toSerialize["mapping_claim"] = o.MappingClaim.Get() } @@ -336,6 +374,7 @@ func (o *ProviderSettingsWriteRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "claims") delete(additionalProperties, "dynamic_mappings") delete(additionalProperties, "enabled") + delete(additionalProperties, "jwks") delete(additionalProperties, "mapping_claim") delete(additionalProperties, "name") delete(additionalProperties, "provider_url") diff --git a/model_provider_settings_write_request_patch.go b/model_provider_settings_write_request_patch.go index 04b49de80..6b4034080 100644 --- a/model_provider_settings_write_request_patch.go +++ b/model_provider_settings_write_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -26,11 +26,13 @@ type ProviderSettingsWriteRequestPatch struct { DynamicMappings []DynamicMapping `json:"dynamic_mappings,omitempty"` // Whether the provider settings should be used for incoming OIDC requests. Enabled *bool `json:"enabled,omitempty"` + // The manually uploaded JWKS, for providers we do not have remote access to. + Jwks map[string]interface{} `json:"jwks,omitempty"` // The OIDC claim to use for mapping to service accounts in dynamic_mappings. Cannot be provided if `service_accounts` is also set. Note: This field and the dynamic mappings feature are still in early access. Breaking changes are possible as we receive feedback on this feature. MappingClaim NullableString `json:"mapping_claim,omitempty"` // The name of the provider settings are being configured for Name *string `json:"name,omitempty"` - // The URL from the provider that serves as the base for the OpenID configuration. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ + // The URL from the provider that serves as the base for the OpenID configuration. For local providers with an uploaded JWKS, this is the expected issuer. For example, if the OpenID configuration is available at https://token.actions.githubusercontent.com/.well-known/openid-configuration, the provider URL would be https://token.actions.githubusercontent.com/ ProviderUrl *string `json:"provider_url,omitempty"` // The service accounts associated with these provider settings. Cannot be provided if `mapping_claim` or `dynamic_mappings` are specified. ServiceAccounts []string `json:"service_accounts,omitempty"` @@ -152,6 +154,39 @@ func (o *ProviderSettingsWriteRequestPatch) SetEnabled(v bool) { o.Enabled = &v } +// GetJwks returns the Jwks field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ProviderSettingsWriteRequestPatch) GetJwks() map[string]interface{} { + if o == nil { + var ret map[string]interface{} + return ret + } + return o.Jwks +} + +// GetJwksOk returns a tuple with the Jwks field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ProviderSettingsWriteRequestPatch) GetJwksOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.Jwks) { + return map[string]interface{}{}, false + } + return o.Jwks, true +} + +// HasJwks returns a boolean if a field has been set. +func (o *ProviderSettingsWriteRequestPatch) HasJwks() bool { + if o != nil && !IsNil(o.Jwks) { + return true + } + + return false +} + +// SetJwks gets a reference to the given map[string]interface{} and assigns it to the Jwks field. +func (o *ProviderSettingsWriteRequestPatch) SetJwks(v map[string]interface{}) { + o.Jwks = v +} + // GetMappingClaim returns the MappingClaim field value if set, zero value otherwise (both if not set or set to explicit null). func (o *ProviderSettingsWriteRequestPatch) GetMappingClaim() string { if o == nil || IsNil(o.MappingClaim.Get()) { @@ -310,6 +345,9 @@ func (o ProviderSettingsWriteRequestPatch) ToMap() (map[string]interface{}, erro if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled } + if o.Jwks != nil { + toSerialize["jwks"] = o.Jwks + } if o.MappingClaim.IsSet() { toSerialize["mapping_claim"] = o.MappingClaim.Get() } @@ -347,6 +385,7 @@ func (o *ProviderSettingsWriteRequestPatch) UnmarshalJSON(data []byte) (err erro delete(additionalProperties, "claims") delete(additionalProperties, "dynamic_mappings") delete(additionalProperties, "enabled") + delete(additionalProperties, "jwks") delete(additionalProperties, "mapping_claim") delete(additionalProperties, "name") delete(additionalProperties, "provider_url") diff --git a/model_python_package_upload.go b/model_python_package_upload.go index 7b18b4e4c..cfcc4a02e 100644 --- a/model_python_package_upload.go +++ b/model_python_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type PythonPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type PythonPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type PythonPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *PythonPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PythonPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PythonPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PythonPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PythonPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PythonPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *PythonPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o PythonPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *PythonPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go index 69d8b308d..75f1c39b6 100644 --- a/model_python_package_upload_request.go +++ b/model_python_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &PythonPackageUploadRequest{} type PythonPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *PythonPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *PythonPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *PythonPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *PythonPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *PythonPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *PythonPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *PythonPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *PythonPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o PythonPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o PythonPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *PythonPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_python_upstream.go b/model_python_upstream.go index 47a1397ad..7a9a86b6c 100644 --- a/model_python_upstream.go +++ b/model_python_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request.go b/model_python_upstream_request.go index 7231efe0e..f14a625d6 100644 --- a/model_python_upstream_request.go +++ b/model_python_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request_patch.go b/model_python_upstream_request_patch.go index 4d634e463..ca1aca01c 100644 --- a/model_python_upstream_request_patch.go +++ b/model_python_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_quota.go b/model_quota.go index 0d635c7d8..4d96ec8b5 100644 --- a/model_quota.go +++ b/model_quota.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_quota_history.go b/model_quota_history.go index 99abd01e1..f5871fd17 100644 --- a/model_quota_history.go +++ b/model_quota_history.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_rate_check.go b/model_rate_check.go index 4888548be..0b60afd77 100644 --- a/model_rate_check.go +++ b/model_rate_check.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go index 95862e3fb..d90c73ae4 100644 --- a/model_raw_package_upload.go +++ b/model_raw_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type RawPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type RawPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type RawPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *RawPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *RawPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *RawPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *RawPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *RawPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *RawPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o RawPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *RawPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go index dd90c0edf..e038fb14c 100644 --- a/model_raw_package_upload_request.go +++ b/model_raw_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -29,6 +29,8 @@ type RawPackageUploadRequest struct { Name NullableString `json:"name,omitempty"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A one-liner synopsis of this package. @@ -213,6 +215,49 @@ func (o *RawPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RawPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RawPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *RawPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *RawPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *RawPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *RawPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *RawPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -394,6 +439,9 @@ func (o RawPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize["name"] = o.Name.Get() } toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -453,6 +501,7 @@ func (o *RawPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "description") delete(additionalProperties, "name") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "summary") delete(additionalProperties, "tags") diff --git a/model_recycle_bin_package.go b/model_recycle_bin_package.go index 2a3bdefe3..d559a425f 100644 --- a/model_recycle_bin_package.go +++ b/model_recycle_bin_package.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -41,9 +41,10 @@ type RecycleBinPackage struct { // Whether or not the package has violated any policy. PolicyViolated *bool `json:"policy_violated,omitempty"` Repository *string `json:"repository,omitempty"` - // The datetime the security scanning was completed. - SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning was completed. + SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` // The calculated size of the package. Size *int64 `json:"size,omitempty"` SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` diff --git a/model_repos_connected_list_200_response.go b/model_repos_connected_list_200_response.go index dec0a4f27..8016a4c0e 100644 --- a/model_repos_connected_list_200_response.go +++ b/model_repos_connected_list_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository.go b/model_repository.go index 7005740a4..0ba7073a0 100644 --- a/model_repository.go +++ b/model_repository.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -134,6 +134,8 @@ type Repository struct { Size *int64 `json:"size,omitempty"` // The calculated size of the repository (human readable). SizeStr *string `json:"size_str,omitempty"` + // How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. + SkillsVersioning *string `json:"skills_versioning,omitempty"` // The slug identifies the repository in URIs. Slug *string `json:"slug,omitempty"` // The slug_perm immutably identifies the repository. It will never change once a repository has been created. @@ -194,6 +196,8 @@ func NewRepository(name string) *Repository { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var useEntitlementsPrivilege string = "Read" this.UseEntitlementsPrivilege = &useEntitlementsPrivilege var viewStatistics string = "Read" @@ -228,6 +232,8 @@ func NewRepositoryWithDefaults() *Repository { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var useEntitlementsPrivilege string = "Read" this.UseEntitlementsPrivilege = &useEntitlementsPrivilege var viewStatistics string = "Read" @@ -2159,6 +2165,38 @@ func (o *Repository) SetSizeStr(v string) { o.SizeStr = &v } +// GetSkillsVersioning returns the SkillsVersioning field value if set, zero value otherwise. +func (o *Repository) GetSkillsVersioning() string { + if o == nil || IsNil(o.SkillsVersioning) { + var ret string + return ret + } + return *o.SkillsVersioning +} + +// GetSkillsVersioningOk returns a tuple with the SkillsVersioning field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Repository) GetSkillsVersioningOk() (*string, bool) { + if o == nil || IsNil(o.SkillsVersioning) { + return nil, false + } + return o.SkillsVersioning, true +} + +// HasSkillsVersioning returns a boolean if a field has been set. +func (o *Repository) HasSkillsVersioning() bool { + if o != nil && !IsNil(o.SkillsVersioning) { + return true + } + + return false +} + +// SetSkillsVersioning gets a reference to the given string and assigns it to the SkillsVersioning field. +func (o *Repository) SetSkillsVersioning(v string) { + o.SkillsVersioning = &v +} + // GetSlug returns the Slug field value if set, zero value otherwise. func (o *Repository) GetSlug() string { if o == nil || IsNil(o.Slug) { @@ -2760,6 +2798,9 @@ func (o Repository) ToMap() (map[string]interface{}, error) { if !IsNil(o.SizeStr) { toSerialize["size_str"] = o.SizeStr } + if !IsNil(o.SkillsVersioning) { + toSerialize["skills_versioning"] = o.SkillsVersioning + } if !IsNil(o.Slug) { toSerialize["slug"] = o.Slug } @@ -2901,6 +2942,7 @@ func (o *Repository) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "show_setup_all") delete(additionalProperties, "size") delete(additionalProperties, "size_str") + delete(additionalProperties, "skills_versioning") delete(additionalProperties, "slug") delete(additionalProperties, "slug_perm") delete(additionalProperties, "storage_region") diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go index fdc62b833..ffc5350dc 100644 --- a/model_repository_audit_log.go +++ b/model_repository_audit_log.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_create.go b/model_repository_create.go index f98e75ddb..a8309bf87 100644 --- a/model_repository_create.go +++ b/model_repository_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -134,6 +134,8 @@ type RepositoryCreate struct { Size *int64 `json:"size,omitempty"` // The calculated size of the repository (human readable). SizeStr *string `json:"size_str,omitempty"` + // How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. + SkillsVersioning *string `json:"skills_versioning,omitempty"` // The slug identifies the repository in URIs. Slug *string `json:"slug,omitempty"` // The slug_perm immutably identifies the repository. It will never change once a repository has been created. @@ -194,6 +196,8 @@ func NewRepositoryCreate(name string) *RepositoryCreate { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var storageRegion string = "default" this.StorageRegion = &storageRegion var useEntitlementsPrivilege string = "Read" @@ -230,6 +234,8 @@ func NewRepositoryCreateWithDefaults() *RepositoryCreate { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var storageRegion string = "default" this.StorageRegion = &storageRegion var useEntitlementsPrivilege string = "Read" @@ -2163,6 +2169,38 @@ func (o *RepositoryCreate) SetSizeStr(v string) { o.SizeStr = &v } +// GetSkillsVersioning returns the SkillsVersioning field value if set, zero value otherwise. +func (o *RepositoryCreate) GetSkillsVersioning() string { + if o == nil || IsNil(o.SkillsVersioning) { + var ret string + return ret + } + return *o.SkillsVersioning +} + +// GetSkillsVersioningOk returns a tuple with the SkillsVersioning field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreate) GetSkillsVersioningOk() (*string, bool) { + if o == nil || IsNil(o.SkillsVersioning) { + return nil, false + } + return o.SkillsVersioning, true +} + +// HasSkillsVersioning returns a boolean if a field has been set. +func (o *RepositoryCreate) HasSkillsVersioning() bool { + if o != nil && !IsNil(o.SkillsVersioning) { + return true + } + + return false +} + +// SetSkillsVersioning gets a reference to the given string and assigns it to the SkillsVersioning field. +func (o *RepositoryCreate) SetSkillsVersioning(v string) { + o.SkillsVersioning = &v +} + // GetSlug returns the Slug field value if set, zero value otherwise. func (o *RepositoryCreate) GetSlug() string { if o == nil || IsNil(o.Slug) { @@ -2764,6 +2802,9 @@ func (o RepositoryCreate) ToMap() (map[string]interface{}, error) { if !IsNil(o.SizeStr) { toSerialize["size_str"] = o.SizeStr } + if !IsNil(o.SkillsVersioning) { + toSerialize["skills_versioning"] = o.SkillsVersioning + } if !IsNil(o.Slug) { toSerialize["slug"] = o.Slug } @@ -2905,6 +2946,7 @@ func (o *RepositoryCreate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "show_setup_all") delete(additionalProperties, "size") delete(additionalProperties, "size_str") + delete(additionalProperties, "skills_versioning") delete(additionalProperties, "slug") delete(additionalProperties, "slug_perm") delete(additionalProperties, "storage_region") diff --git a/model_repository_create_request.go b/model_repository_create_request.go index d30bd82ef..6382c11f0 100644 --- a/model_repository_create_request.go +++ b/model_repository_create_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -93,6 +93,8 @@ type RepositoryCreateRequest struct { ScanPackages *string `json:"scan_packages,omitempty"` // If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. ShowSetupAll *bool `json:"show_setup_all,omitempty"` + // How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. + SkillsVersioning *string `json:"skills_versioning,omitempty"` // The slug identifies the repository in URIs. Slug *string `json:"slug,omitempty"` // The Cloudsmith region in which package files are stored. @@ -151,6 +153,8 @@ func NewRepositoryCreateRequest(name string) *RepositoryCreateRequest { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var storageRegion string = "default" this.StorageRegion = &storageRegion var useEntitlementsPrivilege string = "Read" @@ -187,6 +191,8 @@ func NewRepositoryCreateRequestWithDefaults() *RepositoryCreateRequest { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var storageRegion string = "default" this.StorageRegion = &storageRegion var useEntitlementsPrivilege string = "Read" @@ -1362,6 +1368,38 @@ func (o *RepositoryCreateRequest) SetShowSetupAll(v bool) { o.ShowSetupAll = &v } +// GetSkillsVersioning returns the SkillsVersioning field value if set, zero value otherwise. +func (o *RepositoryCreateRequest) GetSkillsVersioning() string { + if o == nil || IsNil(o.SkillsVersioning) { + var ret string + return ret + } + return *o.SkillsVersioning +} + +// GetSkillsVersioningOk returns a tuple with the SkillsVersioning field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreateRequest) GetSkillsVersioningOk() (*string, bool) { + if o == nil || IsNil(o.SkillsVersioning) { + return nil, false + } + return o.SkillsVersioning, true +} + +// HasSkillsVersioning returns a boolean if a field has been set. +func (o *RepositoryCreateRequest) HasSkillsVersioning() bool { + if o != nil && !IsNil(o.SkillsVersioning) { + return true + } + + return false +} + +// SetSkillsVersioning gets a reference to the given string and assigns it to the SkillsVersioning field. +func (o *RepositoryCreateRequest) SetSkillsVersioning(v string) { + o.SkillsVersioning = &v +} + // GetSlug returns the Slug field value if set, zero value otherwise. func (o *RepositoryCreateRequest) GetSlug() string { if o == nil || IsNil(o.Slug) { @@ -1862,6 +1900,9 @@ func (o RepositoryCreateRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.ShowSetupAll) { toSerialize["show_setup_all"] = o.ShowSetupAll } + if !IsNil(o.SkillsVersioning) { + toSerialize["skills_versioning"] = o.SkillsVersioning + } if !IsNil(o.Slug) { toSerialize["slug"] = o.Slug } @@ -1977,6 +2018,7 @@ func (o *RepositoryCreateRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "scan_own") delete(additionalProperties, "scan_packages") delete(additionalProperties, "show_setup_all") + delete(additionalProperties, "skills_versioning") delete(additionalProperties, "slug") delete(additionalProperties, "storage_region") delete(additionalProperties, "strict_npm_validation") diff --git a/model_repository_ecdsa_key.go b/model_repository_ecdsa_key.go index ed283c513..1691b5bfe 100644 --- a/model_repository_ecdsa_key.go +++ b/model_repository_ecdsa_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key_create.go b/model_repository_ecdsa_key_create.go index 8ffddadeb..f2e9a244e 100644 --- a/model_repository_ecdsa_key_create.go +++ b/model_repository_ecdsa_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key.go b/model_repository_ed25519_key.go index 5103a5e16..c1aef6ddb 100644 --- a/model_repository_ed25519_key.go +++ b/model_repository_ed25519_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key_create.go b/model_repository_ed25519_key_create.go index dbe4b2ebc..b023f4a3a 100644 --- a/model_repository_ed25519_key_create.go +++ b/model_repository_ed25519_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_cidr.go b/model_repository_geo_ip_cidr.go index 893adcf53..6c74a314d 100644 --- a/model_repository_geo_ip_cidr.go +++ b/model_repository_geo_ip_cidr.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_country_code.go b/model_repository_geo_ip_country_code.go index 678ea3a0b..451f198f5 100644 --- a/model_repository_geo_ip_country_code.go +++ b/model_repository_geo_ip_country_code.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules.go b/model_repository_geo_ip_rules.go index 617f4d339..4507b5fa7 100644 --- a/model_repository_geo_ip_rules.go +++ b/model_repository_geo_ip_rules.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request.go b/model_repository_geo_ip_rules_request.go index 9dded38ec..699ef637d 100644 --- a/model_repository_geo_ip_rules_request.go +++ b/model_repository_geo_ip_rules_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request_patch.go b/model_repository_geo_ip_rules_request_patch.go index de9a2c351..9cc0c89db 100644 --- a/model_repository_geo_ip_rules_request_patch.go +++ b/model_repository_geo_ip_rules_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_status.go b/model_repository_geo_ip_status.go index bee38b29b..cee16539c 100644 --- a/model_repository_geo_ip_status.go +++ b/model_repository_geo_ip_status.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address.go b/model_repository_geo_ip_test_address.go index 364302ed3..16b7c5a8a 100644 --- a/model_repository_geo_ip_test_address.go +++ b/model_repository_geo_ip_test_address.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address_response.go b/model_repository_geo_ip_test_address_response.go index d7b43a0fd..aedbb712d 100644 --- a/model_repository_geo_ip_test_address_response.go +++ b/model_repository_geo_ip_test_address_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address_response_dict.go b/model_repository_geo_ip_test_address_response_dict.go index 236f5dceb..6c0924527 100644 --- a/model_repository_geo_ip_test_address_response_dict.go +++ b/model_repository_geo_ip_test_address_response_dict.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index 7056667ee..c756554c8 100644 --- a/model_repository_gpg_key.go +++ b/model_repository_gpg_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key_create.go b/model_repository_gpg_key_create.go index 8e0374d4a..ce2b83c9c 100644 --- a/model_repository_gpg_key_create.go +++ b/model_repository_gpg_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go index bee528d36..e00ee3240 100644 --- a/model_repository_privilege_dict.go +++ b/model_repository_privilege_dict.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input.go b/model_repository_privilege_input.go index c5bfc99b2..a91ef774c 100644 --- a/model_repository_privilege_input.go +++ b/model_repository_privilege_input.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go index 17be467f0..fdad9cc4d 100644 --- a/model_repository_privilege_input_request.go +++ b/model_repository_privilege_input_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go index c5dbb74d1..7a3d2baf7 100644 --- a/model_repository_privilege_input_request_patch.go +++ b/model_repository_privilege_input_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_request_patch.go b/model_repository_request_patch.go index ab51f7fea..1fea9f417 100644 --- a/model_repository_request_patch.go +++ b/model_repository_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -92,6 +92,8 @@ type RepositoryRequestPatch struct { ScanPackages *string `json:"scan_packages,omitempty"` // If checked, the Set Me Up help for all formats will always be shown, even if you don't have packages of that type uploaded. Otherwise, help will only be shown for packages that are in the repository. For example, if you have uploaded only NuGet packages, then the Set Me Up help for NuGet packages will be shown only. ShowSetupAll *bool `json:"show_setup_all,omitempty"` + // How skills from GitHub upstreams are versioned. SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK offers a skill by the semantic version its SKILL.md declares, else by its git commit SHA. STRICT_SEMANTIC_VERSION only offers skills that declare a semantic version. Indexing doesn't depend on this setting, so a change takes effect at once. A skill cached under a version the setting doesn't offer can still be downloaded by that version, but isn't offered as the latest. ClawHub skills, uploaded skills and plugins keep their versions whatever the setting. + SkillsVersioning *string `json:"skills_versioning,omitempty"` // The slug identifies the repository in URIs. Slug *string `json:"slug,omitempty"` // If checked, npm packages will be validated strictly to ensure the package matches specifcation. You can turn this on if you want to guarantee that the packages will work with npm-cli and other tools correctly. @@ -147,6 +149,8 @@ func NewRepositoryRequestPatch() *RepositoryRequestPatch { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var useEntitlementsPrivilege string = "Read" this.UseEntitlementsPrivilege = &useEntitlementsPrivilege var viewStatistics string = "Read" @@ -181,6 +185,8 @@ func NewRepositoryRequestPatchWithDefaults() *RepositoryRequestPatch { this.ResyncPackages = &resyncPackages var scanPackages string = "Read" this.ScanPackages = &scanPackages + var skillsVersioning string = "SEMANTIC_VERSION_WITH_COMMIT_SHA_FALLBACK" + this.SkillsVersioning = &skillsVersioning var useEntitlementsPrivilege string = "Read" this.UseEntitlementsPrivilege = &useEntitlementsPrivilege var viewStatistics string = "Read" @@ -1362,6 +1368,38 @@ func (o *RepositoryRequestPatch) SetShowSetupAll(v bool) { o.ShowSetupAll = &v } +// GetSkillsVersioning returns the SkillsVersioning field value if set, zero value otherwise. +func (o *RepositoryRequestPatch) GetSkillsVersioning() string { + if o == nil || IsNil(o.SkillsVersioning) { + var ret string + return ret + } + return *o.SkillsVersioning +} + +// GetSkillsVersioningOk returns a tuple with the SkillsVersioning field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryRequestPatch) GetSkillsVersioningOk() (*string, bool) { + if o == nil || IsNil(o.SkillsVersioning) { + return nil, false + } + return o.SkillsVersioning, true +} + +// HasSkillsVersioning returns a boolean if a field has been set. +func (o *RepositoryRequestPatch) HasSkillsVersioning() bool { + if o != nil && !IsNil(o.SkillsVersioning) { + return true + } + + return false +} + +// SetSkillsVersioning gets a reference to the given string and assigns it to the SkillsVersioning field. +func (o *RepositoryRequestPatch) SetSkillsVersioning(v string) { + o.SkillsVersioning = &v +} + // GetSlug returns the Slug field value if set, zero value otherwise. func (o *RepositoryRequestPatch) GetSlug() string { if o == nil || IsNil(o.Slug) { @@ -1832,6 +1870,9 @@ func (o RepositoryRequestPatch) ToMap() (map[string]interface{}, error) { if !IsNil(o.ShowSetupAll) { toSerialize["show_setup_all"] = o.ShowSetupAll } + if !IsNil(o.SkillsVersioning) { + toSerialize["skills_versioning"] = o.SkillsVersioning + } if !IsNil(o.Slug) { toSerialize["slug"] = o.Slug } @@ -1923,6 +1964,7 @@ func (o *RepositoryRequestPatch) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "scan_own") delete(additionalProperties, "scan_packages") delete(additionalProperties, "show_setup_all") + delete(additionalProperties, "skills_versioning") delete(additionalProperties, "slug") delete(additionalProperties, "strict_npm_validation") delete(additionalProperties, "tag_pre_releases_as_latest") diff --git a/model_repository_retention_rules.go b/model_repository_retention_rules.go index 94503c0f7..846a63a99 100644 --- a/model_repository_retention_rules.go +++ b/model_repository_retention_rules.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules_request_patch.go b/model_repository_retention_rules_request_patch.go index 1a209b0fd..f59bcea27 100644 --- a/model_repository_retention_rules_request_patch.go +++ b/model_repository_retention_rules_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key.go index 0c71f3b6a..c5afbc268 100644 --- a/model_repository_rsa_key.go +++ b/model_repository_rsa_key.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key_create.go b/model_repository_rsa_key_create.go index c21a0f60b..c5d697d4d 100644 --- a/model_repository_rsa_key_create.go +++ b/model_repository_rsa_key_create.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token.go b/model_repository_token.go index 93a4b9d0d..9bf1418bb 100644 --- a/model_repository_token.go +++ b/model_repository_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts.go b/model_repository_token_private_broadcasts.go index 535c3ec4a..67e1bad5a 100644 --- a/model_repository_token_private_broadcasts.go +++ b/model_repository_token_private_broadcasts.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts_request.go b/model_repository_token_private_broadcasts_request.go index f1ff38d32..76bce865f 100644 --- a/model_repository_token_private_broadcasts_request.go +++ b/model_repository_token_private_broadcasts_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go index 5393ef6fe..77451223a 100644 --- a/model_repository_token_refresh.go +++ b/model_repository_token_refresh.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go index 3ff920137..e45125276 100644 --- a/model_repository_token_refresh_request.go +++ b/model_repository_token_refresh_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request.go b/model_repository_token_request.go index 4575cc6c9..215158583 100644 --- a/model_repository_token_request.go +++ b/model_repository_token_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go index 14fbbc0d3..065285918 100644 --- a/model_repository_token_request_patch.go +++ b/model_repository_token_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go index 127cc9117..eb823607c 100644 --- a/model_repository_token_sync.go +++ b/model_repository_token_sync.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go index af8dd4beb..2b82a6380 100644 --- a/model_repository_token_sync_request.go +++ b/model_repository_token_sync_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region.go b/model_repository_transfer_region.go index 5c53e645e..34d79aaa3 100644 --- a/model_repository_transfer_region.go +++ b/model_repository_transfer_region.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region_request.go b/model_repository_transfer_region_request.go index 6d4a3f74d..12fc640ad 100644 --- a/model_repository_transfer_region_request.go +++ b/model_repository_transfer_region_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook.go b/model_repository_webhook.go index 619010640..51c17494c 100644 --- a/model_repository_webhook.go +++ b/model_repository_webhook.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go index cc8a809a4..b057c6222 100644 --- a/model_repository_webhook_request.go +++ b/model_repository_webhook_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go index e25972c87..02211640a 100644 --- a/model_repository_webhook_request_patch.go +++ b/model_repository_webhook_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_ecdsa_certificate.go b/model_repository_x509_ecdsa_certificate.go index cb42ce903..fb51de439 100644 --- a/model_repository_x509_ecdsa_certificate.go +++ b/model_repository_x509_ecdsa_certificate.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_rsa_certificate.go b/model_repository_x509_rsa_certificate.go index 4d5693b96..4dc78f2b0 100644 --- a/model_repository_x509_rsa_certificate.go +++ b/model_repository_x509_rsa_certificate.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go index d775653ef..60d9ac6ac 100644 --- a/model_resources_rate_check.go +++ b/model_resources_rate_check.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go index ceaec3ce1..8e6050aa6 100644 --- a/model_rpm_package_upload.go +++ b/model_rpm_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type RpmPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type RpmPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type RpmPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *RpmPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *RpmPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *RpmPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *RpmPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *RpmPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *RpmPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o RpmPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *RpmPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_rpm_package_upload_request.go b/model_rpm_package_upload_request.go index 6c6695dc8..4c65a1efb 100644 --- a/model_rpm_package_upload_request.go +++ b/model_rpm_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -25,6 +25,8 @@ type RpmPackageUploadRequest struct { Distribution string `json:"distribution"` // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -101,6 +103,49 @@ func (o *RpmPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RpmPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RpmPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *RpmPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *RpmPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *RpmPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *RpmPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *RpmPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -188,6 +233,9 @@ func (o RpmPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["distribution"] = o.Distribution toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -240,6 +288,7 @@ func (o *RpmPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "distribution") delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_rpm_upstream.go b/model_rpm_upstream.go index 355df5c59..d60294a97 100644 --- a/model_rpm_upstream.go +++ b/model_rpm_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request.go b/model_rpm_upstream_request.go index 760031edd..ef9c03bb4 100644 --- a/model_rpm_upstream_request.go +++ b/model_rpm_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request_patch.go b/model_rpm_upstream_request_patch.go index 825ab1eda..2aa5cda10 100644 --- a/model_rpm_upstream_request_patch.go +++ b/model_rpm_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go index fbf2e7746..c037e7ab5 100644 --- a/model_ruby_package_upload.go +++ b/model_ruby_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type RubyPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type RubyPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type RubyPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *RubyPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RubyPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *RubyPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *RubyPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *RubyPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *RubyPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *RubyPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o RubyPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *RubyPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go index b580722b7..ff4798aab 100644 --- a/model_ruby_package_upload_request.go +++ b/model_ruby_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &RubyPackageUploadRequest{} type RubyPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *RubyPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RubyPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *RubyPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *RubyPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *RubyPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *RubyPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *RubyPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *RubyPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o RubyPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o RubyPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *RubyPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_ruby_upstream.go b/model_ruby_upstream.go index 020530bff..4909a4efb 100644 --- a/model_ruby_upstream.go +++ b/model_ruby_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request.go b/model_ruby_upstream_request.go index 08ed5b356..e2d72888c 100644 --- a/model_ruby_upstream_request.go +++ b/model_ruby_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request_patch.go b/model_ruby_upstream_request_patch.go index efc2ffee6..f4cd0dbf4 100644 --- a/model_ruby_upstream_request_patch.go +++ b/model_ruby_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_service.go b/model_service.go index 4424d84db..54c344c6a 100644 --- a/model_service.go +++ b/model_service.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -29,7 +29,7 @@ type Service struct { Description *string `json:"description,omitempty"` // The API key of the service Key *string `json:"key,omitempty"` - // The time at which the API key will expire. This will only be populated if the Organization has an active API Key Policy. + // The time at which the API key will expire. This will only be populated if the Organization has an active API key rule. KeyExpiresAt NullableTime `json:"key_expires_at,omitempty"` // The name of the service Name string `json:"name"` diff --git a/model_service_request.go b/model_service_request.go index ea6524af4..eea8ce617 100644 --- a/model_service_request.go +++ b/model_service_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_service_request_patch.go b/model_service_request_patch.go index 330d2f1f6..3bea23b28 100644 --- a/model_service_request_patch.go +++ b/model_service_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_service_teams.go b/model_service_teams.go index daf5b3bbe..8268cff89 100644 --- a/model_service_teams.go +++ b/model_service_teams.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_skills_package_upload.go b/model_skills_package_upload.go new file mode 100644 index 000000000..8a240f7a8 --- /dev/null +++ b/model_skills_package_upload.go @@ -0,0 +1,3757 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the SkillsPackageUpload type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsPackageUpload{} + +// SkillsPackageUpload struct for SkillsPackageUpload +type SkillsPackageUpload struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + Changelog NullableString `json:"changelog,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 NullableString `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` + // Where the package originated, for example: 'upstream' (proxied/cached from a configured upstream), 'connected_repository' (blended in from a connected target repository), or 'manual_upload' (uploaded directly to Cloudsmith). + DisplaySource *string `json:"display_source,omitempty"` + Distro NullableDistribution `json:"distro,omitempty"` + DistroVersion *DistributionVersion `json:"distro_version,omitempty"` + Downloads *int64 `json:"downloads,omitempty"` + // The epoch of the package version (if any). + Epoch NullableInt64 `json:"epoch,omitempty"` + Extension *string `json:"extension,omitempty"` + Filename *string `json:"filename,omitempty"` + Files []PackageFile `json:"files,omitempty"` + Format *string `json:"format,omitempty"` + FormatUrl *string `json:"format_url,omitempty"` + // Amount of storage that will be freed if this package is deleted + FreeableStorage *int64 `json:"freeable_storage,omitempty"` + FullyQualifiedName NullableString `json:"fully_qualified_name,omitempty"` + // Unique and permanent identifier for the package. + IdentifierPerm *string `json:"identifier_perm,omitempty"` + // Return a map of identifier field names and their values. + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + // The license of this package. + License NullableString `json:"license,omitempty"` + Name string `json:"name" validate:"regexp=^[a-z0-9]+(?:-[a-z0-9]+)*$"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // Whether the package's SPDX license is OSI-approved. + OsiApproved *bool `json:"osi_approved,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // Whether or not the package has violated any policy. + PolicyViolated *bool `json:"policy_violated,omitempty"` + // The raw license string. + RawLicense NullableString `json:"raw_license,omitempty"` + // The release of the package version (if any). + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // Deprecated. The datetime the security scanning was completed. + SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SelfWebappUrl *string `json:"self_webapp_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + // The SPDX license identifier for this package. + SpdxLicense NullableString `json:"spdx_license,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason NullableString `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + // Absolute store path for the package, including store hash and name. + StorePath NullableString `json:"store_path,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary NullableString `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt NullableTime `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsAutomatic map[string]interface{} `json:"tags_automatic,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + // All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. + TagsStatic *map[string][]string `json:"tags_static,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + Version string `json:"version"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsPackageUpload SkillsPackageUpload + +// NewSkillsPackageUpload instantiates a new SkillsPackageUpload object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSkillsPackageUpload(name string, version string) *SkillsPackageUpload { + this := SkillsPackageUpload{} + this.Name = name + this.Version = version + return &this +} + +// NewSkillsPackageUploadWithDefaults instantiates a new SkillsPackageUpload object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSkillsPackageUploadWithDefaults() *SkillsPackageUpload { + this := SkillsPackageUpload{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetArchitectures() []Architecture { + if o == nil || IsNil(o.Architectures) { + var ret []Architecture + return ret + } + return o.Architectures +} + +// GetArchitecturesOk returns a tuple with the Architectures field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetArchitecturesOk() ([]Architecture, bool) { + if o == nil || IsNil(o.Architectures) { + return nil, false + } + return o.Architectures, true +} + +// HasArchitectures returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasArchitectures() bool { + if o != nil && !IsNil(o.Architectures) { + return true + } + + return false +} + +// SetArchitectures gets a reference to the given []Architecture and assigns it to the Architectures field. +func (o *SkillsPackageUpload) SetArchitectures(v []Architecture) { + o.Architectures = v +} + +// GetCdnUrl returns the CdnUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetCdnUrl() string { + if o == nil || IsNil(o.CdnUrl.Get()) { + var ret string + return ret + } + return *o.CdnUrl.Get() +} + +// GetCdnUrlOk returns a tuple with the CdnUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetCdnUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CdnUrl.Get(), o.CdnUrl.IsSet() +} + +// HasCdnUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasCdnUrl() bool { + if o != nil && o.CdnUrl.IsSet() { + return true + } + + return false +} + +// SetCdnUrl gets a reference to the given NullableString and assigns it to the CdnUrl field. +func (o *SkillsPackageUpload) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *SkillsPackageUpload) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *SkillsPackageUpload) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChangelog returns the Changelog field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetChangelog() string { + if o == nil || IsNil(o.Changelog.Get()) { + var ret string + return ret + } + return *o.Changelog.Get() +} + +// GetChangelogOk returns a tuple with the Changelog field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetChangelogOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Changelog.Get(), o.Changelog.IsSet() +} + +// HasChangelog returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChangelog() bool { + if o != nil && o.Changelog.IsSet() { + return true + } + + return false +} + +// SetChangelog gets a reference to the given NullableString and assigns it to the Changelog field. +func (o *SkillsPackageUpload) SetChangelog(v string) { + o.Changelog.Set(&v) +} + +// SetChangelogNil sets the value for Changelog to be an explicit nil +func (o *SkillsPackageUpload) SetChangelogNil() { + o.Changelog.Set(nil) +} + +// UnsetChangelog ensures that no value is present for Changelog, not even an explicit nil +func (o *SkillsPackageUpload) UnsetChangelog() { + o.Changelog.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumMd5() string { + if o == nil || IsNil(o.ChecksumMd5) { + var ret string + return ret + } + return *o.ChecksumMd5 +} + +// GetChecksumMd5Ok returns a tuple with the ChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumMd5Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumMd5) { + return nil, false + } + return o.ChecksumMd5, true +} + +// HasChecksumMd5 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumMd5() bool { + if o != nil && !IsNil(o.ChecksumMd5) { + return true + } + + return false +} + +// SetChecksumMd5 gets a reference to the given string and assigns it to the ChecksumMd5 field. +func (o *SkillsPackageUpload) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumSha1() string { + if o == nil || IsNil(o.ChecksumSha1) { + var ret string + return ret + } + return *o.ChecksumSha1 +} + +// GetChecksumSha1Ok returns a tuple with the ChecksumSha1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumSha1Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumSha1) { + return nil, false + } + return o.ChecksumSha1, true +} + +// HasChecksumSha1 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumSha1() bool { + if o != nil && !IsNil(o.ChecksumSha1) { + return true + } + + return false +} + +// SetChecksumSha1 gets a reference to the given string and assigns it to the ChecksumSha1 field. +func (o *SkillsPackageUpload) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumSha256() string { + if o == nil || IsNil(o.ChecksumSha256) { + var ret string + return ret + } + return *o.ChecksumSha256 +} + +// GetChecksumSha256Ok returns a tuple with the ChecksumSha256 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumSha256Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumSha256) { + return nil, false + } + return o.ChecksumSha256, true +} + +// HasChecksumSha256 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumSha256() bool { + if o != nil && !IsNil(o.ChecksumSha256) { + return true + } + + return false +} + +// SetChecksumSha256 gets a reference to the given string and assigns it to the ChecksumSha256 field. +func (o *SkillsPackageUpload) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetChecksumSha512() string { + if o == nil || IsNil(o.ChecksumSha512) { + var ret string + return ret + } + return *o.ChecksumSha512 +} + +// GetChecksumSha512Ok returns a tuple with the ChecksumSha512 field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetChecksumSha512Ok() (*string, bool) { + if o == nil || IsNil(o.ChecksumSha512) { + return nil, false + } + return o.ChecksumSha512, true +} + +// HasChecksumSha512 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasChecksumSha512() bool { + if o != nil && !IsNil(o.ChecksumSha512) { + return true + } + + return false +} + +// SetChecksumSha512 gets a reference to the given string and assigns it to the ChecksumSha512 field. +func (o *SkillsPackageUpload) SetChecksumSha512(v string) { + o.ChecksumSha512 = &v +} + +// GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetDependenciesChecksumMd5() string { + if o == nil || IsNil(o.DependenciesChecksumMd5.Get()) { + var ret string + return ret + } + return *o.DependenciesChecksumMd5.Get() +} + +// GetDependenciesChecksumMd5Ok returns a tuple with the DependenciesChecksumMd5 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetDependenciesChecksumMd5Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.DependenciesChecksumMd5.Get(), o.DependenciesChecksumMd5.IsSet() +} + +// HasDependenciesChecksumMd5 returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDependenciesChecksumMd5() bool { + if o != nil && o.DependenciesChecksumMd5.IsSet() { + return true + } + + return false +} + +// SetDependenciesChecksumMd5 gets a reference to the given NullableString and assigns it to the DependenciesChecksumMd5 field. +func (o *SkillsPackageUpload) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5.Set(&v) +} + +// SetDependenciesChecksumMd5Nil sets the value for DependenciesChecksumMd5 to be an explicit nil +func (o *SkillsPackageUpload) SetDependenciesChecksumMd5Nil() { + o.DependenciesChecksumMd5.Set(nil) +} + +// UnsetDependenciesChecksumMd5 ensures that no value is present for DependenciesChecksumMd5, not even an explicit nil +func (o *SkillsPackageUpload) UnsetDependenciesChecksumMd5() { + o.DependenciesChecksumMd5.Unset() +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDependenciesUrl() string { + if o == nil || IsNil(o.DependenciesUrl) { + var ret string + return ret + } + return *o.DependenciesUrl +} + +// GetDependenciesUrlOk returns a tuple with the DependenciesUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDependenciesUrlOk() (*string, bool) { + if o == nil || IsNil(o.DependenciesUrl) { + return nil, false + } + return o.DependenciesUrl, true +} + +// HasDependenciesUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDependenciesUrl() bool { + if o != nil && !IsNil(o.DependenciesUrl) { + return true + } + + return false +} + +// SetDependenciesUrl gets a reference to the given string and assigns it to the DependenciesUrl field. +func (o *SkillsPackageUpload) SetDependenciesUrl(v string) { + o.DependenciesUrl = &v +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *SkillsPackageUpload) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *SkillsPackageUpload) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *SkillsPackageUpload) UnsetDescription() { + o.Description.Unset() +} + +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDisplayName() string { + if o == nil || IsNil(o.DisplayName) { + var ret string + return ret + } + return *o.DisplayName +} + +// GetDisplayNameOk returns a tuple with the DisplayName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDisplayNameOk() (*string, bool) { + if o == nil || IsNil(o.DisplayName) { + return nil, false + } + return o.DisplayName, true +} + +// HasDisplayName returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDisplayName() bool { + if o != nil && !IsNil(o.DisplayName) { + return true + } + + return false +} + +// SetDisplayName gets a reference to the given string and assigns it to the DisplayName field. +func (o *SkillsPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + +// GetDisplaySource returns the DisplaySource field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDisplaySource() string { + if o == nil || IsNil(o.DisplaySource) { + var ret string + return ret + } + return *o.DisplaySource +} + +// GetDisplaySourceOk returns a tuple with the DisplaySource field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDisplaySourceOk() (*string, bool) { + if o == nil || IsNil(o.DisplaySource) { + return nil, false + } + return o.DisplaySource, true +} + +// HasDisplaySource returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDisplaySource() bool { + if o != nil && !IsNil(o.DisplaySource) { + return true + } + + return false +} + +// SetDisplaySource gets a reference to the given string and assigns it to the DisplaySource field. +func (o *SkillsPackageUpload) SetDisplaySource(v string) { + o.DisplaySource = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetDistro() Distribution { + if o == nil || IsNil(o.Distro.Get()) { + var ret Distribution + return ret + } + return *o.Distro.Get() +} + +// GetDistroOk returns a tuple with the Distro field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetDistroOk() (*Distribution, bool) { + if o == nil { + return nil, false + } + return o.Distro.Get(), o.Distro.IsSet() +} + +// HasDistro returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDistro() bool { + if o != nil && o.Distro.IsSet() { + return true + } + + return false +} + +// SetDistro gets a reference to the given NullableDistribution and assigns it to the Distro field. +func (o *SkillsPackageUpload) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *SkillsPackageUpload) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *SkillsPackageUpload) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDistroVersion() DistributionVersion { + if o == nil || IsNil(o.DistroVersion) { + var ret DistributionVersion + return ret + } + return *o.DistroVersion +} + +// GetDistroVersionOk returns a tuple with the DistroVersion field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDistroVersionOk() (*DistributionVersion, bool) { + if o == nil || IsNil(o.DistroVersion) { + return nil, false + } + return o.DistroVersion, true +} + +// HasDistroVersion returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDistroVersion() bool { + if o != nil && !IsNil(o.DistroVersion) { + return true + } + + return false +} + +// SetDistroVersion gets a reference to the given DistributionVersion and assigns it to the DistroVersion field. +func (o *SkillsPackageUpload) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetDownloads() int64 { + if o == nil || IsNil(o.Downloads) { + var ret int64 + return ret + } + return *o.Downloads +} + +// GetDownloadsOk returns a tuple with the Downloads field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetDownloadsOk() (*int64, bool) { + if o == nil || IsNil(o.Downloads) { + return nil, false + } + return o.Downloads, true +} + +// HasDownloads returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasDownloads() bool { + if o != nil && !IsNil(o.Downloads) { + return true + } + + return false +} + +// SetDownloads gets a reference to the given int64 and assigns it to the Downloads field. +func (o *SkillsPackageUpload) SetDownloads(v int64) { + o.Downloads = &v +} + +// GetEpoch returns the Epoch field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetEpoch() int64 { + if o == nil || IsNil(o.Epoch.Get()) { + var ret int64 + return ret + } + return *o.Epoch.Get() +} + +// GetEpochOk returns a tuple with the Epoch field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetEpochOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.Epoch.Get(), o.Epoch.IsSet() +} + +// HasEpoch returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasEpoch() bool { + if o != nil && o.Epoch.IsSet() { + return true + } + + return false +} + +// SetEpoch gets a reference to the given NullableInt64 and assigns it to the Epoch field. +func (o *SkillsPackageUpload) SetEpoch(v int64) { + o.Epoch.Set(&v) +} + +// SetEpochNil sets the value for Epoch to be an explicit nil +func (o *SkillsPackageUpload) SetEpochNil() { + o.Epoch.Set(nil) +} + +// UnsetEpoch ensures that no value is present for Epoch, not even an explicit nil +func (o *SkillsPackageUpload) UnsetEpoch() { + o.Epoch.Unset() +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetExtension() string { + if o == nil || IsNil(o.Extension) { + var ret string + return ret + } + return *o.Extension +} + +// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetExtensionOk() (*string, bool) { + if o == nil || IsNil(o.Extension) { + return nil, false + } + return o.Extension, true +} + +// HasExtension returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasExtension() bool { + if o != nil && !IsNil(o.Extension) { + return true + } + + return false +} + +// SetExtension gets a reference to the given string and assigns it to the Extension field. +func (o *SkillsPackageUpload) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFilename() string { + if o == nil || IsNil(o.Filename) { + var ret string + return ret + } + return *o.Filename +} + +// GetFilenameOk returns a tuple with the Filename field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFilenameOk() (*string, bool) { + if o == nil || IsNil(o.Filename) { + return nil, false + } + return o.Filename, true +} + +// HasFilename returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFilename() bool { + if o != nil && !IsNil(o.Filename) { + return true + } + + return false +} + +// SetFilename gets a reference to the given string and assigns it to the Filename field. +func (o *SkillsPackageUpload) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFiles() []PackageFile { + if o == nil || IsNil(o.Files) { + var ret []PackageFile + return ret + } + return o.Files +} + +// GetFilesOk returns a tuple with the Files field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFilesOk() ([]PackageFile, bool) { + if o == nil || IsNil(o.Files) { + return nil, false + } + return o.Files, true +} + +// HasFiles returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFiles() bool { + if o != nil && !IsNil(o.Files) { + return true + } + + return false +} + +// SetFiles gets a reference to the given []PackageFile and assigns it to the Files field. +func (o *SkillsPackageUpload) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFormat() string { + if o == nil || IsNil(o.Format) { + var ret string + return ret + } + return *o.Format +} + +// GetFormatOk returns a tuple with the Format field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFormatOk() (*string, bool) { + if o == nil || IsNil(o.Format) { + return nil, false + } + return o.Format, true +} + +// HasFormat returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFormat() bool { + if o != nil && !IsNil(o.Format) { + return true + } + + return false +} + +// SetFormat gets a reference to the given string and assigns it to the Format field. +func (o *SkillsPackageUpload) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFormatUrl() string { + if o == nil || IsNil(o.FormatUrl) { + var ret string + return ret + } + return *o.FormatUrl +} + +// GetFormatUrlOk returns a tuple with the FormatUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFormatUrlOk() (*string, bool) { + if o == nil || IsNil(o.FormatUrl) { + return nil, false + } + return o.FormatUrl, true +} + +// HasFormatUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFormatUrl() bool { + if o != nil && !IsNil(o.FormatUrl) { + return true + } + + return false +} + +// SetFormatUrl gets a reference to the given string and assigns it to the FormatUrl field. +func (o *SkillsPackageUpload) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetFreeableStorage returns the FreeableStorage field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetFreeableStorage() int64 { + if o == nil || IsNil(o.FreeableStorage) { + var ret int64 + return ret + } + return *o.FreeableStorage +} + +// GetFreeableStorageOk returns a tuple with the FreeableStorage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetFreeableStorageOk() (*int64, bool) { + if o == nil || IsNil(o.FreeableStorage) { + return nil, false + } + return o.FreeableStorage, true +} + +// HasFreeableStorage returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFreeableStorage() bool { + if o != nil && !IsNil(o.FreeableStorage) { + return true + } + + return false +} + +// SetFreeableStorage gets a reference to the given int64 and assigns it to the FreeableStorage field. +func (o *SkillsPackageUpload) SetFreeableStorage(v int64) { + o.FreeableStorage = &v +} + +// GetFullyQualifiedName returns the FullyQualifiedName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetFullyQualifiedName() string { + if o == nil || IsNil(o.FullyQualifiedName.Get()) { + var ret string + return ret + } + return *o.FullyQualifiedName.Get() +} + +// GetFullyQualifiedNameOk returns a tuple with the FullyQualifiedName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetFullyQualifiedNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.FullyQualifiedName.Get(), o.FullyQualifiedName.IsSet() +} + +// HasFullyQualifiedName returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasFullyQualifiedName() bool { + if o != nil && o.FullyQualifiedName.IsSet() { + return true + } + + return false +} + +// SetFullyQualifiedName gets a reference to the given NullableString and assigns it to the FullyQualifiedName field. +func (o *SkillsPackageUpload) SetFullyQualifiedName(v string) { + o.FullyQualifiedName.Set(&v) +} + +// SetFullyQualifiedNameNil sets the value for FullyQualifiedName to be an explicit nil +func (o *SkillsPackageUpload) SetFullyQualifiedNameNil() { + o.FullyQualifiedName.Set(nil) +} + +// UnsetFullyQualifiedName ensures that no value is present for FullyQualifiedName, not even an explicit nil +func (o *SkillsPackageUpload) UnsetFullyQualifiedName() { + o.FullyQualifiedName.Unset() +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIdentifierPerm() string { + if o == nil || IsNil(o.IdentifierPerm) { + var ret string + return ret + } + return *o.IdentifierPerm +} + +// GetIdentifierPermOk returns a tuple with the IdentifierPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIdentifierPermOk() (*string, bool) { + if o == nil || IsNil(o.IdentifierPerm) { + return nil, false + } + return o.IdentifierPerm, true +} + +// HasIdentifierPerm returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIdentifierPerm() bool { + if o != nil && !IsNil(o.IdentifierPerm) { + return true + } + + return false +} + +// SetIdentifierPerm gets a reference to the given string and assigns it to the IdentifierPerm field. +func (o *SkillsPackageUpload) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIdentifiers returns the Identifiers field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIdentifiers() map[string]string { + if o == nil || IsNil(o.Identifiers) { + var ret map[string]string + return ret + } + return *o.Identifiers +} + +// GetIdentifiersOk returns a tuple with the Identifiers field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIdentifiersOk() (*map[string]string, bool) { + if o == nil || IsNil(o.Identifiers) { + return nil, false + } + return o.Identifiers, true +} + +// HasIdentifiers returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIdentifiers() bool { + if o != nil && !IsNil(o.Identifiers) { + return true + } + + return false +} + +// SetIdentifiers gets a reference to the given map[string]string and assigns it to the Identifiers field. +func (o *SkillsPackageUpload) SetIdentifiers(v map[string]string) { + o.Identifiers = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIndexed() bool { + if o == nil || IsNil(o.Indexed) { + var ret bool + return ret + } + return *o.Indexed +} + +// GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIndexedOk() (*bool, bool) { + if o == nil || IsNil(o.Indexed) { + return nil, false + } + return o.Indexed, true +} + +// HasIndexed returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIndexed() bool { + if o != nil && !IsNil(o.Indexed) { + return true + } + + return false +} + +// SetIndexed gets a reference to the given bool and assigns it to the Indexed field. +func (o *SkillsPackageUpload) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsCancellable returns the IsCancellable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsCancellable() bool { + if o == nil || IsNil(o.IsCancellable) { + var ret bool + return ret + } + return *o.IsCancellable +} + +// GetIsCancellableOk returns a tuple with the IsCancellable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsCancellableOk() (*bool, bool) { + if o == nil || IsNil(o.IsCancellable) { + return nil, false + } + return o.IsCancellable, true +} + +// HasIsCancellable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsCancellable() bool { + if o != nil && !IsNil(o.IsCancellable) { + return true + } + + return false +} + +// SetIsCancellable gets a reference to the given bool and assigns it to the IsCancellable field. +func (o *SkillsPackageUpload) SetIsCancellable(v bool) { + o.IsCancellable = &v +} + +// GetIsCopyable returns the IsCopyable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsCopyable() bool { + if o == nil || IsNil(o.IsCopyable) { + var ret bool + return ret + } + return *o.IsCopyable +} + +// GetIsCopyableOk returns a tuple with the IsCopyable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsCopyableOk() (*bool, bool) { + if o == nil || IsNil(o.IsCopyable) { + return nil, false + } + return o.IsCopyable, true +} + +// HasIsCopyable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsCopyable() bool { + if o != nil && !IsNil(o.IsCopyable) { + return true + } + + return false +} + +// SetIsCopyable gets a reference to the given bool and assigns it to the IsCopyable field. +func (o *SkillsPackageUpload) SetIsCopyable(v bool) { + o.IsCopyable = &v +} + +// GetIsDeleteable returns the IsDeleteable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsDeleteable() bool { + if o == nil || IsNil(o.IsDeleteable) { + var ret bool + return ret + } + return *o.IsDeleteable +} + +// GetIsDeleteableOk returns a tuple with the IsDeleteable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsDeleteableOk() (*bool, bool) { + if o == nil || IsNil(o.IsDeleteable) { + return nil, false + } + return o.IsDeleteable, true +} + +// HasIsDeleteable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsDeleteable() bool { + if o != nil && !IsNil(o.IsDeleteable) { + return true + } + + return false +} + +// SetIsDeleteable gets a reference to the given bool and assigns it to the IsDeleteable field. +func (o *SkillsPackageUpload) SetIsDeleteable(v bool) { + o.IsDeleteable = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsDownloadable() bool { + if o == nil || IsNil(o.IsDownloadable) { + var ret bool + return ret + } + return *o.IsDownloadable +} + +// GetIsDownloadableOk returns a tuple with the IsDownloadable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsDownloadableOk() (*bool, bool) { + if o == nil || IsNil(o.IsDownloadable) { + return nil, false + } + return o.IsDownloadable, true +} + +// HasIsDownloadable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsDownloadable() bool { + if o != nil && !IsNil(o.IsDownloadable) { + return true + } + + return false +} + +// SetIsDownloadable gets a reference to the given bool and assigns it to the IsDownloadable field. +func (o *SkillsPackageUpload) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsHidden returns the IsHidden field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsHidden() bool { + if o == nil || IsNil(o.IsHidden) { + var ret bool + return ret + } + return *o.IsHidden +} + +// GetIsHiddenOk returns a tuple with the IsHidden field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsHiddenOk() (*bool, bool) { + if o == nil || IsNil(o.IsHidden) { + return nil, false + } + return o.IsHidden, true +} + +// HasIsHidden returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsHidden() bool { + if o != nil && !IsNil(o.IsHidden) { + return true + } + + return false +} + +// SetIsHidden gets a reference to the given bool and assigns it to the IsHidden field. +func (o *SkillsPackageUpload) SetIsHidden(v bool) { + o.IsHidden = &v +} + +// GetIsMoveable returns the IsMoveable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsMoveable() bool { + if o == nil || IsNil(o.IsMoveable) { + var ret bool + return ret + } + return *o.IsMoveable +} + +// GetIsMoveableOk returns a tuple with the IsMoveable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsMoveableOk() (*bool, bool) { + if o == nil || IsNil(o.IsMoveable) { + return nil, false + } + return o.IsMoveable, true +} + +// HasIsMoveable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsMoveable() bool { + if o != nil && !IsNil(o.IsMoveable) { + return true + } + + return false +} + +// SetIsMoveable gets a reference to the given bool and assigns it to the IsMoveable field. +func (o *SkillsPackageUpload) SetIsMoveable(v bool) { + o.IsMoveable = &v +} + +// GetIsQuarantinable returns the IsQuarantinable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsQuarantinable() bool { + if o == nil || IsNil(o.IsQuarantinable) { + var ret bool + return ret + } + return *o.IsQuarantinable +} + +// GetIsQuarantinableOk returns a tuple with the IsQuarantinable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsQuarantinableOk() (*bool, bool) { + if o == nil || IsNil(o.IsQuarantinable) { + return nil, false + } + return o.IsQuarantinable, true +} + +// HasIsQuarantinable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsQuarantinable() bool { + if o != nil && !IsNil(o.IsQuarantinable) { + return true + } + + return false +} + +// SetIsQuarantinable gets a reference to the given bool and assigns it to the IsQuarantinable field. +func (o *SkillsPackageUpload) SetIsQuarantinable(v bool) { + o.IsQuarantinable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsQuarantined() bool { + if o == nil || IsNil(o.IsQuarantined) { + var ret bool + return ret + } + return *o.IsQuarantined +} + +// GetIsQuarantinedOk returns a tuple with the IsQuarantined field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsQuarantinedOk() (*bool, bool) { + if o == nil || IsNil(o.IsQuarantined) { + return nil, false + } + return o.IsQuarantined, true +} + +// HasIsQuarantined returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsQuarantined() bool { + if o != nil && !IsNil(o.IsQuarantined) { + return true + } + + return false +} + +// SetIsQuarantined gets a reference to the given bool and assigns it to the IsQuarantined field. +func (o *SkillsPackageUpload) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsResyncable returns the IsResyncable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsResyncable() bool { + if o == nil || IsNil(o.IsResyncable) { + var ret bool + return ret + } + return *o.IsResyncable +} + +// GetIsResyncableOk returns a tuple with the IsResyncable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsResyncableOk() (*bool, bool) { + if o == nil || IsNil(o.IsResyncable) { + return nil, false + } + return o.IsResyncable, true +} + +// HasIsResyncable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsResyncable() bool { + if o != nil && !IsNil(o.IsResyncable) { + return true + } + + return false +} + +// SetIsResyncable gets a reference to the given bool and assigns it to the IsResyncable field. +func (o *SkillsPackageUpload) SetIsResyncable(v bool) { + o.IsResyncable = &v +} + +// GetIsSecurityScannable returns the IsSecurityScannable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSecurityScannable() bool { + if o == nil || IsNil(o.IsSecurityScannable) { + var ret bool + return ret + } + return *o.IsSecurityScannable +} + +// GetIsSecurityScannableOk returns a tuple with the IsSecurityScannable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSecurityScannableOk() (*bool, bool) { + if o == nil || IsNil(o.IsSecurityScannable) { + return nil, false + } + return o.IsSecurityScannable, true +} + +// HasIsSecurityScannable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSecurityScannable() bool { + if o != nil && !IsNil(o.IsSecurityScannable) { + return true + } + + return false +} + +// SetIsSecurityScannable gets a reference to the given bool and assigns it to the IsSecurityScannable field. +func (o *SkillsPackageUpload) SetIsSecurityScannable(v bool) { + o.IsSecurityScannable = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncAwaiting() bool { + if o == nil || IsNil(o.IsSyncAwaiting) { + var ret bool + return ret + } + return *o.IsSyncAwaiting +} + +// GetIsSyncAwaitingOk returns a tuple with the IsSyncAwaiting field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncAwaitingOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncAwaiting) { + return nil, false + } + return o.IsSyncAwaiting, true +} + +// HasIsSyncAwaiting returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncAwaiting() bool { + if o != nil && !IsNil(o.IsSyncAwaiting) { + return true + } + + return false +} + +// SetIsSyncAwaiting gets a reference to the given bool and assigns it to the IsSyncAwaiting field. +func (o *SkillsPackageUpload) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncCompleted() bool { + if o == nil || IsNil(o.IsSyncCompleted) { + var ret bool + return ret + } + return *o.IsSyncCompleted +} + +// GetIsSyncCompletedOk returns a tuple with the IsSyncCompleted field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncCompletedOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncCompleted) { + return nil, false + } + return o.IsSyncCompleted, true +} + +// HasIsSyncCompleted returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncCompleted() bool { + if o != nil && !IsNil(o.IsSyncCompleted) { + return true + } + + return false +} + +// SetIsSyncCompleted gets a reference to the given bool and assigns it to the IsSyncCompleted field. +func (o *SkillsPackageUpload) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncFailed() bool { + if o == nil || IsNil(o.IsSyncFailed) { + var ret bool + return ret + } + return *o.IsSyncFailed +} + +// GetIsSyncFailedOk returns a tuple with the IsSyncFailed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncFailedOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncFailed) { + return nil, false + } + return o.IsSyncFailed, true +} + +// HasIsSyncFailed returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncFailed() bool { + if o != nil && !IsNil(o.IsSyncFailed) { + return true + } + + return false +} + +// SetIsSyncFailed gets a reference to the given bool and assigns it to the IsSyncFailed field. +func (o *SkillsPackageUpload) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncInFlight() bool { + if o == nil || IsNil(o.IsSyncInFlight) { + var ret bool + return ret + } + return *o.IsSyncInFlight +} + +// GetIsSyncInFlightOk returns a tuple with the IsSyncInFlight field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncInFlightOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncInFlight) { + return nil, false + } + return o.IsSyncInFlight, true +} + +// HasIsSyncInFlight returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncInFlight() bool { + if o != nil && !IsNil(o.IsSyncInFlight) { + return true + } + + return false +} + +// SetIsSyncInFlight gets a reference to the given bool and assigns it to the IsSyncInFlight field. +func (o *SkillsPackageUpload) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetIsSyncInProgress() bool { + if o == nil || IsNil(o.IsSyncInProgress) { + var ret bool + return ret + } + return *o.IsSyncInProgress +} + +// GetIsSyncInProgressOk returns a tuple with the IsSyncInProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetIsSyncInProgressOk() (*bool, bool) { + if o == nil || IsNil(o.IsSyncInProgress) { + return nil, false + } + return o.IsSyncInProgress, true +} + +// HasIsSyncInProgress returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasIsSyncInProgress() bool { + if o != nil && !IsNil(o.IsSyncInProgress) { + return true + } + + return false +} + +// SetIsSyncInProgress gets a reference to the given bool and assigns it to the IsSyncInProgress field. +func (o *SkillsPackageUpload) SetIsSyncInProgress(v bool) { + o.IsSyncInProgress = &v +} + +// GetLicense returns the License field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetLicense() string { + if o == nil || IsNil(o.License.Get()) { + var ret string + return ret + } + return *o.License.Get() +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetLicenseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.License.Get(), o.License.IsSet() +} + +// HasLicense returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasLicense() bool { + if o != nil && o.License.IsSet() { + return true + } + + return false +} + +// SetLicense gets a reference to the given NullableString and assigns it to the License field. +func (o *SkillsPackageUpload) SetLicense(v string) { + o.License.Set(&v) +} + +// SetLicenseNil sets the value for License to be an explicit nil +func (o *SkillsPackageUpload) SetLicenseNil() { + o.License.Set(nil) +} + +// UnsetLicense ensures that no value is present for License, not even an explicit nil +func (o *SkillsPackageUpload) UnsetLicense() { + o.License.Unset() +} + +// GetName returns the Name field value +func (o *SkillsPackageUpload) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsPackageUpload) SetName(v string) { + o.Name = v +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetNamespace() string { + if o == nil || IsNil(o.Namespace) { + var ret string + return ret + } + return *o.Namespace +} + +// GetNamespaceOk returns a tuple with the Namespace field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNamespaceOk() (*string, bool) { + if o == nil || IsNil(o.Namespace) { + return nil, false + } + return o.Namespace, true +} + +// HasNamespace returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasNamespace() bool { + if o != nil && !IsNil(o.Namespace) { + return true + } + + return false +} + +// SetNamespace gets a reference to the given string and assigns it to the Namespace field. +func (o *SkillsPackageUpload) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetNamespaceUrl() string { + if o == nil || IsNil(o.NamespaceUrl) { + var ret string + return ret + } + return *o.NamespaceUrl +} + +// GetNamespaceUrlOk returns a tuple with the NamespaceUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNamespaceUrlOk() (*string, bool) { + if o == nil || IsNil(o.NamespaceUrl) { + return nil, false + } + return o.NamespaceUrl, true +} + +// HasNamespaceUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasNamespaceUrl() bool { + if o != nil && !IsNil(o.NamespaceUrl) { + return true + } + + return false +} + +// SetNamespaceUrl gets a reference to the given string and assigns it to the NamespaceUrl field. +func (o *SkillsPackageUpload) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetNumFiles() int64 { + if o == nil || IsNil(o.NumFiles) { + var ret int64 + return ret + } + return *o.NumFiles +} + +// GetNumFilesOk returns a tuple with the NumFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetNumFilesOk() (*int64, bool) { + if o == nil || IsNil(o.NumFiles) { + return nil, false + } + return o.NumFiles, true +} + +// HasNumFiles returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasNumFiles() bool { + if o != nil && !IsNil(o.NumFiles) { + return true + } + + return false +} + +// SetNumFiles gets a reference to the given int64 and assigns it to the NumFiles field. +func (o *SkillsPackageUpload) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetOriginRepository() string { + if o == nil || IsNil(o.OriginRepository) { + var ret string + return ret + } + return *o.OriginRepository +} + +// GetOriginRepositoryOk returns a tuple with the OriginRepository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetOriginRepositoryOk() (*string, bool) { + if o == nil || IsNil(o.OriginRepository) { + return nil, false + } + return o.OriginRepository, true +} + +// HasOriginRepository returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasOriginRepository() bool { + if o != nil && !IsNil(o.OriginRepository) { + return true + } + + return false +} + +// SetOriginRepository gets a reference to the given string and assigns it to the OriginRepository field. +func (o *SkillsPackageUpload) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetOriginRepositoryUrl() string { + if o == nil || IsNil(o.OriginRepositoryUrl) { + var ret string + return ret + } + return *o.OriginRepositoryUrl +} + +// GetOriginRepositoryUrlOk returns a tuple with the OriginRepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetOriginRepositoryUrlOk() (*string, bool) { + if o == nil || IsNil(o.OriginRepositoryUrl) { + return nil, false + } + return o.OriginRepositoryUrl, true +} + +// HasOriginRepositoryUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasOriginRepositoryUrl() bool { + if o != nil && !IsNil(o.OriginRepositoryUrl) { + return true + } + + return false +} + +// SetOriginRepositoryUrl gets a reference to the given string and assigns it to the OriginRepositoryUrl field. +func (o *SkillsPackageUpload) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetOsiApproved returns the OsiApproved field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetOsiApproved() bool { + if o == nil || IsNil(o.OsiApproved) { + var ret bool + return ret + } + return *o.OsiApproved +} + +// GetOsiApprovedOk returns a tuple with the OsiApproved field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetOsiApprovedOk() (*bool, bool) { + if o == nil || IsNil(o.OsiApproved) { + return nil, false + } + return o.OsiApproved, true +} + +// HasOsiApproved returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasOsiApproved() bool { + if o != nil && !IsNil(o.OsiApproved) { + return true + } + + return false +} + +// SetOsiApproved gets a reference to the given bool and assigns it to the OsiApproved field. +func (o *SkillsPackageUpload) SetOsiApproved(v bool) { + o.OsiApproved = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetPackageType() int64 { + if o == nil || IsNil(o.PackageType) { + var ret int64 + return ret + } + return *o.PackageType +} + +// GetPackageTypeOk returns a tuple with the PackageType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetPackageTypeOk() (*int64, bool) { + if o == nil || IsNil(o.PackageType) { + return nil, false + } + return o.PackageType, true +} + +// HasPackageType returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasPackageType() bool { + if o != nil && !IsNil(o.PackageType) { + return true + } + + return false +} + +// SetPackageType gets a reference to the given int64 and assigns it to the PackageType field. +func (o *SkillsPackageUpload) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetPolicyViolated returns the PolicyViolated field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetPolicyViolated() bool { + if o == nil || IsNil(o.PolicyViolated) { + var ret bool + return ret + } + return *o.PolicyViolated +} + +// GetPolicyViolatedOk returns a tuple with the PolicyViolated field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetPolicyViolatedOk() (*bool, bool) { + if o == nil || IsNil(o.PolicyViolated) { + return nil, false + } + return o.PolicyViolated, true +} + +// HasPolicyViolated returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasPolicyViolated() bool { + if o != nil && !IsNil(o.PolicyViolated) { + return true + } + + return false +} + +// SetPolicyViolated gets a reference to the given bool and assigns it to the PolicyViolated field. +func (o *SkillsPackageUpload) SetPolicyViolated(v bool) { + o.PolicyViolated = &v +} + +// GetRawLicense returns the RawLicense field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetRawLicense() string { + if o == nil || IsNil(o.RawLicense.Get()) { + var ret string + return ret + } + return *o.RawLicense.Get() +} + +// GetRawLicenseOk returns a tuple with the RawLicense field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetRawLicenseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.RawLicense.Get(), o.RawLicense.IsSet() +} + +// HasRawLicense returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRawLicense() bool { + if o != nil && o.RawLicense.IsSet() { + return true + } + + return false +} + +// SetRawLicense gets a reference to the given NullableString and assigns it to the RawLicense field. +func (o *SkillsPackageUpload) SetRawLicense(v string) { + o.RawLicense.Set(&v) +} + +// SetRawLicenseNil sets the value for RawLicense to be an explicit nil +func (o *SkillsPackageUpload) SetRawLicenseNil() { + o.RawLicense.Set(nil) +} + +// UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +func (o *SkillsPackageUpload) UnsetRawLicense() { + o.RawLicense.Unset() +} + +// GetRelease returns the Release field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetRelease() string { + if o == nil || IsNil(o.Release.Get()) { + var ret string + return ret + } + return *o.Release.Get() +} + +// GetReleaseOk returns a tuple with the Release field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetReleaseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Release.Get(), o.Release.IsSet() +} + +// HasRelease returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRelease() bool { + if o != nil && o.Release.IsSet() { + return true + } + + return false +} + +// SetRelease gets a reference to the given NullableString and assigns it to the Release field. +func (o *SkillsPackageUpload) SetRelease(v string) { + o.Release.Set(&v) +} + +// SetReleaseNil sets the value for Release to be an explicit nil +func (o *SkillsPackageUpload) SetReleaseNil() { + o.Release.Set(nil) +} + +// UnsetRelease ensures that no value is present for Release, not even an explicit nil +func (o *SkillsPackageUpload) UnsetRelease() { + o.Release.Unset() +} + +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *SkillsPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *SkillsPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *SkillsPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetRepository() string { + if o == nil || IsNil(o.Repository) { + var ret string + return ret + } + return *o.Repository +} + +// GetRepositoryOk returns a tuple with the Repository field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetRepositoryOk() (*string, bool) { + if o == nil || IsNil(o.Repository) { + return nil, false + } + return o.Repository, true +} + +// HasRepository returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRepository() bool { + if o != nil && !IsNil(o.Repository) { + return true + } + + return false +} + +// SetRepository gets a reference to the given string and assigns it to the Repository field. +func (o *SkillsPackageUpload) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetRepositoryUrl() string { + if o == nil || IsNil(o.RepositoryUrl) { + var ret string + return ret + } + return *o.RepositoryUrl +} + +// GetRepositoryUrlOk returns a tuple with the RepositoryUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetRepositoryUrlOk() (*string, bool) { + if o == nil || IsNil(o.RepositoryUrl) { + return nil, false + } + return o.RepositoryUrl, true +} + +// HasRepositoryUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasRepositoryUrl() bool { + if o != nil && !IsNil(o.RepositoryUrl) { + return true + } + + return false +} + +// SetRepositoryUrl gets a reference to the given string and assigns it to the RepositoryUrl field. +func (o *SkillsPackageUpload) SetRepositoryUrl(v string) { + o.RepositoryUrl = &v +} + +// GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanCompletedAt() time.Time { + if o == nil || IsNil(o.SecurityScanCompletedAt.Get()) { + var ret time.Time + return ret + } + return *o.SecurityScanCompletedAt.Get() +} + +// GetSecurityScanCompletedAtOk returns a tuple with the SecurityScanCompletedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSecurityScanCompletedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanCompletedAt.Get(), o.SecurityScanCompletedAt.IsSet() +} + +// HasSecurityScanCompletedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanCompletedAt() bool { + if o != nil && o.SecurityScanCompletedAt.IsSet() { + return true + } + + return false +} + +// SetSecurityScanCompletedAt gets a reference to the given NullableTime and assigns it to the SecurityScanCompletedAt field. +func (o *SkillsPackageUpload) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt.Set(&v) +} + +// SetSecurityScanCompletedAtNil sets the value for SecurityScanCompletedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanCompletedAtNil() { + o.SecurityScanCompletedAt.Set(nil) +} + +// UnsetSecurityScanCompletedAt ensures that no value is present for SecurityScanCompletedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanCompletedAt() { + o.SecurityScanCompletedAt.Unset() +} + +// GetSecurityScanStartedAt returns the SecurityScanStartedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanStartedAt() time.Time { + if o == nil || IsNil(o.SecurityScanStartedAt.Get()) { + var ret time.Time + return ret + } + return *o.SecurityScanStartedAt.Get() +} + +// GetSecurityScanStartedAtOk returns a tuple with the SecurityScanStartedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSecurityScanStartedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStartedAt.Get(), o.SecurityScanStartedAt.IsSet() +} + +// HasSecurityScanStartedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanStartedAt() bool { + if o != nil && o.SecurityScanStartedAt.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStartedAt gets a reference to the given NullableTime and assigns it to the SecurityScanStartedAt field. +func (o *SkillsPackageUpload) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt.Set(&v) +} + +// SetSecurityScanStartedAtNil sets the value for SecurityScanStartedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanStartedAtNil() { + o.SecurityScanStartedAt.Set(nil) +} + +// UnsetSecurityScanStartedAt ensures that no value is present for SecurityScanStartedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanStartedAt() { + o.SecurityScanStartedAt.Unset() +} + +// GetSecurityScanStatus returns the SecurityScanStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanStatus() string { + if o == nil || IsNil(o.SecurityScanStatus.Get()) { + var ret string + return ret + } + return *o.SecurityScanStatus.Get() +} + +// GetSecurityScanStatusOk returns a tuple with the SecurityScanStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSecurityScanStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatus.Get(), o.SecurityScanStatus.IsSet() +} + +// HasSecurityScanStatus returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanStatus() bool { + if o != nil && o.SecurityScanStatus.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatus gets a reference to the given NullableString and assigns it to the SecurityScanStatus field. +func (o *SkillsPackageUpload) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanStatus() { + o.SecurityScanStatus.Unset() +} + +// GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAt() time.Time { + if o == nil || IsNil(o.SecurityScanStatusUpdatedAt.Get()) { + var ret time.Time + return ret + } + return *o.SecurityScanStatusUpdatedAt.Get() +} + +// GetSecurityScanStatusUpdatedAtOk returns a tuple with the SecurityScanStatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSecurityScanStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SecurityScanStatusUpdatedAt.Get(), o.SecurityScanStatusUpdatedAt.IsSet() +} + +// HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSecurityScanStatusUpdatedAt() bool { + if o != nil && o.SecurityScanStatusUpdatedAt.IsSet() { + return true + } + + return false +} + +// SetSecurityScanStatusUpdatedAt gets a reference to the given NullableTime and assigns it to the SecurityScanStatusUpdatedAt field. +func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt.Set(&v) +} + +// SetSecurityScanStatusUpdatedAtNil sets the value for SecurityScanStatusUpdatedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSecurityScanStatusUpdatedAtNil() { + o.SecurityScanStatusUpdatedAt.Set(nil) +} + +// UnsetSecurityScanStatusUpdatedAt ensures that no value is present for SecurityScanStatusUpdatedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSecurityScanStatusUpdatedAt() { + o.SecurityScanStatusUpdatedAt.Unset() +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSelfHtmlUrl() string { + if o == nil || IsNil(o.SelfHtmlUrl) { + var ret string + return ret + } + return *o.SelfHtmlUrl +} + +// GetSelfHtmlUrlOk returns a tuple with the SelfHtmlUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSelfHtmlUrlOk() (*string, bool) { + if o == nil || IsNil(o.SelfHtmlUrl) { + return nil, false + } + return o.SelfHtmlUrl, true +} + +// HasSelfHtmlUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSelfHtmlUrl() bool { + if o != nil && !IsNil(o.SelfHtmlUrl) { + return true + } + + return false +} + +// SetSelfHtmlUrl gets a reference to the given string and assigns it to the SelfHtmlUrl field. +func (o *SkillsPackageUpload) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSelfUrl() string { + if o == nil || IsNil(o.SelfUrl) { + var ret string + return ret + } + return *o.SelfUrl +} + +// GetSelfUrlOk returns a tuple with the SelfUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSelfUrlOk() (*string, bool) { + if o == nil || IsNil(o.SelfUrl) { + return nil, false + } + return o.SelfUrl, true +} + +// HasSelfUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSelfUrl() bool { + if o != nil && !IsNil(o.SelfUrl) { + return true + } + + return false +} + +// SetSelfUrl gets a reference to the given string and assigns it to the SelfUrl field. +func (o *SkillsPackageUpload) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSelfWebappUrl returns the SelfWebappUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSelfWebappUrl() string { + if o == nil || IsNil(o.SelfWebappUrl) { + var ret string + return ret + } + return *o.SelfWebappUrl +} + +// GetSelfWebappUrlOk returns a tuple with the SelfWebappUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSelfWebappUrlOk() (*string, bool) { + if o == nil || IsNil(o.SelfWebappUrl) { + return nil, false + } + return o.SelfWebappUrl, true +} + +// HasSelfWebappUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSelfWebappUrl() bool { + if o != nil && !IsNil(o.SelfWebappUrl) { + return true + } + + return false +} + +// SetSelfWebappUrl gets a reference to the given string and assigns it to the SelfWebappUrl field. +func (o *SkillsPackageUpload) SetSelfWebappUrl(v string) { + o.SelfWebappUrl = &v +} + +// GetSignatureUrl returns the SignatureUrl field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSignatureUrl() string { + if o == nil || IsNil(o.SignatureUrl.Get()) { + var ret string + return ret + } + return *o.SignatureUrl.Get() +} + +// GetSignatureUrlOk returns a tuple with the SignatureUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSignatureUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SignatureUrl.Get(), o.SignatureUrl.IsSet() +} + +// HasSignatureUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSignatureUrl() bool { + if o != nil && o.SignatureUrl.IsSet() { + return true + } + + return false +} + +// SetSignatureUrl gets a reference to the given NullableString and assigns it to the SignatureUrl field. +func (o *SkillsPackageUpload) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *SkillsPackageUpload) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSize() int64 { + if o == nil || IsNil(o.Size) { + var ret int64 + return ret + } + return *o.Size +} + +// GetSizeOk returns a tuple with the Size field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSizeOk() (*int64, bool) { + if o == nil || IsNil(o.Size) { + return nil, false + } + return o.Size, true +} + +// HasSize returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSize() bool { + if o != nil && !IsNil(o.Size) { + return true + } + + return false +} + +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *SkillsPackageUpload) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSlug() string { + if o == nil || IsNil(o.Slug) { + var ret string + return ret + } + return *o.Slug +} + +// GetSlugOk returns a tuple with the Slug field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSlugOk() (*string, bool) { + if o == nil || IsNil(o.Slug) { + return nil, false + } + return o.Slug, true +} + +// HasSlug returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSlug() bool { + if o != nil && !IsNil(o.Slug) { + return true + } + + return false +} + +// SetSlug gets a reference to the given string and assigns it to the Slug field. +func (o *SkillsPackageUpload) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSlugPerm() string { + if o == nil || IsNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSlugPermOk() (*string, bool) { + if o == nil || IsNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSlugPerm() bool { + if o != nil && !IsNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *SkillsPackageUpload) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetSpdxLicense returns the SpdxLicense field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSpdxLicense() string { + if o == nil || IsNil(o.SpdxLicense.Get()) { + var ret string + return ret + } + return *o.SpdxLicense.Get() +} + +// GetSpdxLicenseOk returns a tuple with the SpdxLicense field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSpdxLicenseOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.SpdxLicense.Get(), o.SpdxLicense.IsSet() +} + +// HasSpdxLicense returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSpdxLicense() bool { + if o != nil && o.SpdxLicense.IsSet() { + return true + } + + return false +} + +// SetSpdxLicense gets a reference to the given NullableString and assigns it to the SpdxLicense field. +func (o *SkillsPackageUpload) SetSpdxLicense(v string) { + o.SpdxLicense.Set(&v) +} + +// SetSpdxLicenseNil sets the value for SpdxLicense to be an explicit nil +func (o *SkillsPackageUpload) SetSpdxLicenseNil() { + o.SpdxLicense.Set(nil) +} + +// UnsetSpdxLicense ensures that no value is present for SpdxLicense, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSpdxLicense() { + o.SpdxLicense.Unset() +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStage() int64 { + if o == nil || IsNil(o.Stage) { + var ret int64 + return ret + } + return *o.Stage +} + +// GetStageOk returns a tuple with the Stage field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStageOk() (*int64, bool) { + if o == nil || IsNil(o.Stage) { + return nil, false + } + return o.Stage, true +} + +// HasStage returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStage() bool { + if o != nil && !IsNil(o.Stage) { + return true + } + + return false +} + +// SetStage gets a reference to the given int64 and assigns it to the Stage field. +func (o *SkillsPackageUpload) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStageStr() string { + if o == nil || IsNil(o.StageStr) { + var ret string + return ret + } + return *o.StageStr +} + +// GetStageStrOk returns a tuple with the StageStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStageStrOk() (*string, bool) { + if o == nil || IsNil(o.StageStr) { + return nil, false + } + return o.StageStr, true +} + +// HasStageStr returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStageStr() bool { + if o != nil && !IsNil(o.StageStr) { + return true + } + + return false +} + +// SetStageStr gets a reference to the given string and assigns it to the StageStr field. +func (o *SkillsPackageUpload) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStageUpdatedAt() time.Time { + if o == nil || IsNil(o.StageUpdatedAt) { + var ret time.Time + return ret + } + return *o.StageUpdatedAt +} + +// GetStageUpdatedAtOk returns a tuple with the StageUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStageUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.StageUpdatedAt) { + return nil, false + } + return o.StageUpdatedAt, true +} + +// HasStageUpdatedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStageUpdatedAt() bool { + if o != nil && !IsNil(o.StageUpdatedAt) { + return true + } + + return false +} + +// SetStageUpdatedAt gets a reference to the given time.Time and assigns it to the StageUpdatedAt field. +func (o *SkillsPackageUpload) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatus() int64 { + if o == nil || IsNil(o.Status) { + var ret int64 + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusOk() (*int64, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given int64 and assigns it to the Status field. +func (o *SkillsPackageUpload) SetStatus(v int64) { + o.Status = &v +} + +// GetStatusReason returns the StatusReason field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetStatusReason() string { + if o == nil || IsNil(o.StatusReason.Get()) { + var ret string + return ret + } + return *o.StatusReason.Get() +} + +// GetStatusReasonOk returns a tuple with the StatusReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetStatusReasonOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.StatusReason.Get(), o.StatusReason.IsSet() +} + +// HasStatusReason returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusReason() bool { + if o != nil && o.StatusReason.IsSet() { + return true + } + + return false +} + +// SetStatusReason gets a reference to the given NullableString and assigns it to the StatusReason field. +func (o *SkillsPackageUpload) SetStatusReason(v string) { + o.StatusReason.Set(&v) +} + +// SetStatusReasonNil sets the value for StatusReason to be an explicit nil +func (o *SkillsPackageUpload) SetStatusReasonNil() { + o.StatusReason.Set(nil) +} + +// UnsetStatusReason ensures that no value is present for StatusReason, not even an explicit nil +func (o *SkillsPackageUpload) UnsetStatusReason() { + o.StatusReason.Unset() +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatusStr() string { + if o == nil || IsNil(o.StatusStr) { + var ret string + return ret + } + return *o.StatusStr +} + +// GetStatusStrOk returns a tuple with the StatusStr field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusStrOk() (*string, bool) { + if o == nil || IsNil(o.StatusStr) { + return nil, false + } + return o.StatusStr, true +} + +// HasStatusStr returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusStr() bool { + if o != nil && !IsNil(o.StatusStr) { + return true + } + + return false +} + +// SetStatusStr gets a reference to the given string and assigns it to the StatusStr field. +func (o *SkillsPackageUpload) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatusUpdatedAt() time.Time { + if o == nil || IsNil(o.StatusUpdatedAt) { + var ret time.Time + return ret + } + return *o.StatusUpdatedAt +} + +// GetStatusUpdatedAtOk returns a tuple with the StatusUpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.StatusUpdatedAt) { + return nil, false + } + return o.StatusUpdatedAt, true +} + +// HasStatusUpdatedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusUpdatedAt() bool { + if o != nil && !IsNil(o.StatusUpdatedAt) { + return true + } + + return false +} + +// SetStatusUpdatedAt gets a reference to the given time.Time and assigns it to the StatusUpdatedAt field. +func (o *SkillsPackageUpload) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetStatusUrl() string { + if o == nil || IsNil(o.StatusUrl) { + var ret string + return ret + } + return *o.StatusUrl +} + +// GetStatusUrlOk returns a tuple with the StatusUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetStatusUrlOk() (*string, bool) { + if o == nil || IsNil(o.StatusUrl) { + return nil, false + } + return o.StatusUrl, true +} + +// HasStatusUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStatusUrl() bool { + if o != nil && !IsNil(o.StatusUrl) { + return true + } + + return false +} + +// SetStatusUrl gets a reference to the given string and assigns it to the StatusUrl field. +func (o *SkillsPackageUpload) SetStatusUrl(v string) { + o.StatusUrl = &v +} + +// GetStorePath returns the StorePath field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetStorePath() string { + if o == nil || IsNil(o.StorePath.Get()) { + var ret string + return ret + } + return *o.StorePath.Get() +} + +// GetStorePathOk returns a tuple with the StorePath field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetStorePathOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.StorePath.Get(), o.StorePath.IsSet() +} + +// HasStorePath returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasStorePath() bool { + if o != nil && o.StorePath.IsSet() { + return true + } + + return false +} + +// SetStorePath gets a reference to the given NullableString and assigns it to the StorePath field. +func (o *SkillsPackageUpload) SetStorePath(v string) { + o.StorePath.Set(&v) +} + +// SetStorePathNil sets the value for StorePath to be an explicit nil +func (o *SkillsPackageUpload) SetStorePathNil() { + o.StorePath.Set(nil) +} + +// UnsetStorePath ensures that no value is present for StorePath, not even an explicit nil +func (o *SkillsPackageUpload) UnsetStorePath() { + o.StorePath.Unset() +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSubtype() string { + if o == nil || IsNil(o.Subtype) { + var ret string + return ret + } + return *o.Subtype +} + +// GetSubtypeOk returns a tuple with the Subtype field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSubtypeOk() (*string, bool) { + if o == nil || IsNil(o.Subtype) { + return nil, false + } + return o.Subtype, true +} + +// HasSubtype returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSubtype() bool { + if o != nil && !IsNil(o.Subtype) { + return true + } + + return false +} + +// SetSubtype gets a reference to the given string and assigns it to the Subtype field. +func (o *SkillsPackageUpload) SetSubtype(v string) { + o.Subtype = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSummary() string { + if o == nil || IsNil(o.Summary.Get()) { + var ret string + return ret + } + return *o.Summary.Get() +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSummaryOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Summary.Get(), o.Summary.IsSet() +} + +// HasSummary returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSummary() bool { + if o != nil && o.Summary.IsSet() { + return true + } + + return false +} + +// SetSummary gets a reference to the given NullableString and assigns it to the Summary field. +func (o *SkillsPackageUpload) SetSummary(v string) { + o.Summary.Set(&v) +} + +// SetSummaryNil sets the value for Summary to be an explicit nil +func (o *SkillsPackageUpload) SetSummaryNil() { + o.Summary.Set(nil) +} + +// UnsetSummary ensures that no value is present for Summary, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSummary() { + o.Summary.Unset() +} + +// GetSyncFinishedAt returns the SyncFinishedAt field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUpload) GetSyncFinishedAt() time.Time { + if o == nil || IsNil(o.SyncFinishedAt.Get()) { + var ret time.Time + return ret + } + return *o.SyncFinishedAt.Get() +} + +// GetSyncFinishedAtOk returns a tuple with the SyncFinishedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUpload) GetSyncFinishedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return o.SyncFinishedAt.Get(), o.SyncFinishedAt.IsSet() +} + +// HasSyncFinishedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSyncFinishedAt() bool { + if o != nil && o.SyncFinishedAt.IsSet() { + return true + } + + return false +} + +// SetSyncFinishedAt gets a reference to the given NullableTime and assigns it to the SyncFinishedAt field. +func (o *SkillsPackageUpload) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt.Set(&v) +} + +// SetSyncFinishedAtNil sets the value for SyncFinishedAt to be an explicit nil +func (o *SkillsPackageUpload) SetSyncFinishedAtNil() { + o.SyncFinishedAt.Set(nil) +} + +// UnsetSyncFinishedAt ensures that no value is present for SyncFinishedAt, not even an explicit nil +func (o *SkillsPackageUpload) UnsetSyncFinishedAt() { + o.SyncFinishedAt.Unset() +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetSyncProgress() int64 { + if o == nil || IsNil(o.SyncProgress) { + var ret int64 + return ret + } + return *o.SyncProgress +} + +// GetSyncProgressOk returns a tuple with the SyncProgress field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetSyncProgressOk() (*int64, bool) { + if o == nil || IsNil(o.SyncProgress) { + return nil, false + } + return o.SyncProgress, true +} + +// HasSyncProgress returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasSyncProgress() bool { + if o != nil && !IsNil(o.SyncProgress) { + return true + } + + return false +} + +// SetSyncProgress gets a reference to the given int64 and assigns it to the SyncProgress field. +func (o *SkillsPackageUpload) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsAutomatic returns the TagsAutomatic field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTagsAutomatic() map[string]interface{} { + if o == nil || IsNil(o.TagsAutomatic) { + var ret map[string]interface{} + return ret + } + return o.TagsAutomatic +} + +// GetTagsAutomaticOk returns a tuple with the TagsAutomatic field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTagsAutomaticOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.TagsAutomatic) { + return map[string]interface{}{}, false + } + return o.TagsAutomatic, true +} + +// HasTagsAutomatic returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTagsAutomatic() bool { + if o != nil && !IsNil(o.TagsAutomatic) { + return true + } + + return false +} + +// SetTagsAutomatic gets a reference to the given map[string]interface{} and assigns it to the TagsAutomatic field. +func (o *SkillsPackageUpload) SetTagsAutomatic(v map[string]interface{}) { + o.TagsAutomatic = v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTagsImmutable() map[string]interface{} { + if o == nil || IsNil(o.TagsImmutable) { + var ret map[string]interface{} + return ret + } + return o.TagsImmutable +} + +// GetTagsImmutableOk returns a tuple with the TagsImmutable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTagsImmutableOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.TagsImmutable) { + return map[string]interface{}{}, false + } + return o.TagsImmutable, true +} + +// HasTagsImmutable returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTagsImmutable() bool { + if o != nil && !IsNil(o.TagsImmutable) { + return true + } + + return false +} + +// SetTagsImmutable gets a reference to the given map[string]interface{} and assigns it to the TagsImmutable field. +func (o *SkillsPackageUpload) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTagsStatic returns the TagsStatic field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTagsStatic() map[string][]string { + if o == nil || IsNil(o.TagsStatic) { + var ret map[string][]string + return ret + } + return *o.TagsStatic +} + +// GetTagsStaticOk returns a tuple with the TagsStatic field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTagsStaticOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.TagsStatic) { + return nil, false + } + return o.TagsStatic, true +} + +// HasTagsStatic returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTagsStatic() bool { + if o != nil && !IsNil(o.TagsStatic) { + return true + } + + return false +} + +// SetTagsStatic gets a reference to the given map[string][]string and assigns it to the TagsStatic field. +func (o *SkillsPackageUpload) SetTagsStatic(v map[string][]string) { + o.TagsStatic = &v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetTypeDisplay() string { + if o == nil || IsNil(o.TypeDisplay) { + var ret string + return ret + } + return *o.TypeDisplay +} + +// GetTypeDisplayOk returns a tuple with the TypeDisplay field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetTypeDisplayOk() (*string, bool) { + if o == nil || IsNil(o.TypeDisplay) { + return nil, false + } + return o.TypeDisplay, true +} + +// HasTypeDisplay returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasTypeDisplay() bool { + if o != nil && !IsNil(o.TypeDisplay) { + return true + } + + return false +} + +// SetTypeDisplay gets a reference to the given string and assigns it to the TypeDisplay field. +func (o *SkillsPackageUpload) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetUploadedAt() time.Time { + if o == nil || IsNil(o.UploadedAt) { + var ret time.Time + return ret + } + return *o.UploadedAt +} + +// GetUploadedAtOk returns a tuple with the UploadedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetUploadedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.UploadedAt) { + return nil, false + } + return o.UploadedAt, true +} + +// HasUploadedAt returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasUploadedAt() bool { + if o != nil && !IsNil(o.UploadedAt) { + return true + } + + return false +} + +// SetUploadedAt gets a reference to the given time.Time and assigns it to the UploadedAt field. +func (o *SkillsPackageUpload) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetUploader() string { + if o == nil || IsNil(o.Uploader) { + var ret string + return ret + } + return *o.Uploader +} + +// GetUploaderOk returns a tuple with the Uploader field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetUploaderOk() (*string, bool) { + if o == nil || IsNil(o.Uploader) { + return nil, false + } + return o.Uploader, true +} + +// HasUploader returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasUploader() bool { + if o != nil && !IsNil(o.Uploader) { + return true + } + + return false +} + +// SetUploader gets a reference to the given string and assigns it to the Uploader field. +func (o *SkillsPackageUpload) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetUploaderUrl() string { + if o == nil || IsNil(o.UploaderUrl) { + var ret string + return ret + } + return *o.UploaderUrl +} + +// GetUploaderUrlOk returns a tuple with the UploaderUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetUploaderUrlOk() (*string, bool) { + if o == nil || IsNil(o.UploaderUrl) { + return nil, false + } + return o.UploaderUrl, true +} + +// HasUploaderUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasUploaderUrl() bool { + if o != nil && !IsNil(o.UploaderUrl) { + return true + } + + return false +} + +// SetUploaderUrl gets a reference to the given string and assigns it to the UploaderUrl field. +func (o *SkillsPackageUpload) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value +func (o *SkillsPackageUpload) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *SkillsPackageUpload) SetVersion(v string) { + o.Version = v +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetVersionOrig() string { + if o == nil || IsNil(o.VersionOrig) { + var ret string + return ret + } + return *o.VersionOrig +} + +// GetVersionOrigOk returns a tuple with the VersionOrig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetVersionOrigOk() (*string, bool) { + if o == nil || IsNil(o.VersionOrig) { + return nil, false + } + return o.VersionOrig, true +} + +// HasVersionOrig returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasVersionOrig() bool { + if o != nil && !IsNil(o.VersionOrig) { + return true + } + + return false +} + +// SetVersionOrig gets a reference to the given string and assigns it to the VersionOrig field. +func (o *SkillsPackageUpload) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrl() string { + if o == nil || IsNil(o.VulnerabilityScanResultsUrl) { + var ret string + return ret + } + return *o.VulnerabilityScanResultsUrl +} + +// GetVulnerabilityScanResultsUrlOk returns a tuple with the VulnerabilityScanResultsUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUpload) GetVulnerabilityScanResultsUrlOk() (*string, bool) { + if o == nil || IsNil(o.VulnerabilityScanResultsUrl) { + return nil, false + } + return o.VulnerabilityScanResultsUrl, true +} + +// HasVulnerabilityScanResultsUrl returns a boolean if a field has been set. +func (o *SkillsPackageUpload) HasVulnerabilityScanResultsUrl() bool { + if o != nil && !IsNil(o.VulnerabilityScanResultsUrl) { + return true + } + + return false +} + +// SetVulnerabilityScanResultsUrl gets a reference to the given string and assigns it to the VulnerabilityScanResultsUrl field. +func (o *SkillsPackageUpload) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o SkillsPackageUpload) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsPackageUpload) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if o.Changelog.IsSet() { + toSerialize["changelog"] = o.Changelog.Get() + } + if !IsNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !IsNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !IsNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !IsNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if o.DependenciesChecksumMd5.IsSet() { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5.Get() + } + if !IsNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } + if !IsNil(o.DisplaySource) { + toSerialize["display_source"] = o.DisplaySource + } + if o.Distro.IsSet() { + toSerialize["distro"] = o.Distro.Get() + } + if !IsNil(o.DistroVersion) { + toSerialize["distro_version"] = o.DistroVersion + } + if !IsNil(o.Downloads) { + toSerialize["downloads"] = o.Downloads + } + if o.Epoch.IsSet() { + toSerialize["epoch"] = o.Epoch.Get() + } + if !IsNil(o.Extension) { + toSerialize["extension"] = o.Extension + } + if !IsNil(o.Filename) { + toSerialize["filename"] = o.Filename + } + if !IsNil(o.Files) { + toSerialize["files"] = o.Files + } + if !IsNil(o.Format) { + toSerialize["format"] = o.Format + } + if !IsNil(o.FormatUrl) { + toSerialize["format_url"] = o.FormatUrl + } + if !IsNil(o.FreeableStorage) { + toSerialize["freeable_storage"] = o.FreeableStorage + } + if o.FullyQualifiedName.IsSet() { + toSerialize["fully_qualified_name"] = o.FullyQualifiedName.Get() + } + if !IsNil(o.IdentifierPerm) { + toSerialize["identifier_perm"] = o.IdentifierPerm + } + if !IsNil(o.Identifiers) { + toSerialize["identifiers"] = o.Identifiers + } + if !IsNil(o.Indexed) { + toSerialize["indexed"] = o.Indexed + } + if !IsNil(o.IsCancellable) { + toSerialize["is_cancellable"] = o.IsCancellable + } + if !IsNil(o.IsCopyable) { + toSerialize["is_copyable"] = o.IsCopyable + } + if !IsNil(o.IsDeleteable) { + toSerialize["is_deleteable"] = o.IsDeleteable + } + if !IsNil(o.IsDownloadable) { + toSerialize["is_downloadable"] = o.IsDownloadable + } + if !IsNil(o.IsHidden) { + toSerialize["is_hidden"] = o.IsHidden + } + if !IsNil(o.IsMoveable) { + toSerialize["is_moveable"] = o.IsMoveable + } + if !IsNil(o.IsQuarantinable) { + toSerialize["is_quarantinable"] = o.IsQuarantinable + } + if !IsNil(o.IsQuarantined) { + toSerialize["is_quarantined"] = o.IsQuarantined + } + if !IsNil(o.IsResyncable) { + toSerialize["is_resyncable"] = o.IsResyncable + } + if !IsNil(o.IsSecurityScannable) { + toSerialize["is_security_scannable"] = o.IsSecurityScannable + } + if !IsNil(o.IsSyncAwaiting) { + toSerialize["is_sync_awaiting"] = o.IsSyncAwaiting + } + if !IsNil(o.IsSyncCompleted) { + toSerialize["is_sync_completed"] = o.IsSyncCompleted + } + if !IsNil(o.IsSyncFailed) { + toSerialize["is_sync_failed"] = o.IsSyncFailed + } + if !IsNil(o.IsSyncInFlight) { + toSerialize["is_sync_in_flight"] = o.IsSyncInFlight + } + if !IsNil(o.IsSyncInProgress) { + toSerialize["is_sync_in_progress"] = o.IsSyncInProgress + } + if o.License.IsSet() { + toSerialize["license"] = o.License.Get() + } + toSerialize["name"] = o.Name + if !IsNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !IsNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !IsNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !IsNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !IsNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !IsNil(o.OsiApproved) { + toSerialize["osi_approved"] = o.OsiApproved + } + if !IsNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !IsNil(o.PolicyViolated) { + toSerialize["policy_violated"] = o.PolicyViolated + } + if o.RawLicense.IsSet() { + toSerialize["raw_license"] = o.RawLicense.Get() + } + if o.Release.IsSet() { + toSerialize["release"] = o.Release.Get() + } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } + if !IsNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !IsNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if o.SecurityScanCompletedAt.IsSet() { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt.Get() + } + if o.SecurityScanStartedAt.IsSet() { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt.Get() + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if o.SecurityScanStatusUpdatedAt.IsSet() { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt.Get() + } + if !IsNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !IsNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if !IsNil(o.SelfWebappUrl) { + toSerialize["self_webapp_url"] = o.SelfWebappUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !IsNil(o.Size) { + toSerialize["size"] = o.Size + } + if !IsNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !IsNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if o.SpdxLicense.IsSet() { + toSerialize["spdx_license"] = o.SpdxLicense.Get() + } + if !IsNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !IsNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !IsNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.StatusReason.IsSet() { + toSerialize["status_reason"] = o.StatusReason.Get() + } + if !IsNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !IsNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !IsNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if o.StorePath.IsSet() { + toSerialize["store_path"] = o.StorePath.Get() + } + if !IsNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if o.Summary.IsSet() { + toSerialize["summary"] = o.Summary.Get() + } + if o.SyncFinishedAt.IsSet() { + toSerialize["sync_finished_at"] = o.SyncFinishedAt.Get() + } + if !IsNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !IsNil(o.TagsAutomatic) { + toSerialize["tags_automatic"] = o.TagsAutomatic + } + if !IsNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !IsNil(o.TagsStatic) { + toSerialize["tags_static"] = o.TagsStatic + } + if !IsNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !IsNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !IsNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !IsNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + toSerialize["version"] = o.Version + if !IsNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if !IsNil(o.VulnerabilityScanResultsUrl) { + toSerialize["vulnerability_scan_results_url"] = o.VulnerabilityScanResultsUrl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsPackageUpload) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "version", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsPackageUpload := _SkillsPackageUpload{} + + err = json.Unmarshal(data, &varSkillsPackageUpload) + + if err != nil { + return err + } + + *o = SkillsPackageUpload(varSkillsPackageUpload) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "architectures") + delete(additionalProperties, "cdn_url") + delete(additionalProperties, "changelog") + delete(additionalProperties, "checksum_md5") + delete(additionalProperties, "checksum_sha1") + delete(additionalProperties, "checksum_sha256") + delete(additionalProperties, "checksum_sha512") + delete(additionalProperties, "dependencies_checksum_md5") + delete(additionalProperties, "dependencies_url") + delete(additionalProperties, "description") + delete(additionalProperties, "display_name") + delete(additionalProperties, "display_source") + delete(additionalProperties, "distro") + delete(additionalProperties, "distro_version") + delete(additionalProperties, "downloads") + delete(additionalProperties, "epoch") + delete(additionalProperties, "extension") + delete(additionalProperties, "filename") + delete(additionalProperties, "files") + delete(additionalProperties, "format") + delete(additionalProperties, "format_url") + delete(additionalProperties, "freeable_storage") + delete(additionalProperties, "fully_qualified_name") + delete(additionalProperties, "identifier_perm") + delete(additionalProperties, "identifiers") + delete(additionalProperties, "indexed") + delete(additionalProperties, "is_cancellable") + delete(additionalProperties, "is_copyable") + delete(additionalProperties, "is_deleteable") + delete(additionalProperties, "is_downloadable") + delete(additionalProperties, "is_hidden") + delete(additionalProperties, "is_moveable") + delete(additionalProperties, "is_quarantinable") + delete(additionalProperties, "is_quarantined") + delete(additionalProperties, "is_resyncable") + delete(additionalProperties, "is_security_scannable") + delete(additionalProperties, "is_sync_awaiting") + delete(additionalProperties, "is_sync_completed") + delete(additionalProperties, "is_sync_failed") + delete(additionalProperties, "is_sync_in_flight") + delete(additionalProperties, "is_sync_in_progress") + delete(additionalProperties, "license") + delete(additionalProperties, "name") + delete(additionalProperties, "namespace") + delete(additionalProperties, "namespace_url") + delete(additionalProperties, "num_files") + delete(additionalProperties, "origin_repository") + delete(additionalProperties, "origin_repository_url") + delete(additionalProperties, "osi_approved") + delete(additionalProperties, "package_type") + delete(additionalProperties, "policy_violated") + delete(additionalProperties, "raw_license") + delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") + delete(additionalProperties, "repository") + delete(additionalProperties, "repository_url") + delete(additionalProperties, "security_scan_completed_at") + delete(additionalProperties, "security_scan_started_at") + delete(additionalProperties, "security_scan_status") + delete(additionalProperties, "security_scan_status_updated_at") + delete(additionalProperties, "self_html_url") + delete(additionalProperties, "self_url") + delete(additionalProperties, "self_webapp_url") + delete(additionalProperties, "signature_url") + delete(additionalProperties, "size") + delete(additionalProperties, "slug") + delete(additionalProperties, "slug_perm") + delete(additionalProperties, "spdx_license") + delete(additionalProperties, "stage") + delete(additionalProperties, "stage_str") + delete(additionalProperties, "stage_updated_at") + delete(additionalProperties, "status") + delete(additionalProperties, "status_reason") + delete(additionalProperties, "status_str") + delete(additionalProperties, "status_updated_at") + delete(additionalProperties, "status_url") + delete(additionalProperties, "store_path") + delete(additionalProperties, "subtype") + delete(additionalProperties, "summary") + delete(additionalProperties, "sync_finished_at") + delete(additionalProperties, "sync_progress") + delete(additionalProperties, "tags_automatic") + delete(additionalProperties, "tags_immutable") + delete(additionalProperties, "tags_static") + delete(additionalProperties, "type_display") + delete(additionalProperties, "uploaded_at") + delete(additionalProperties, "uploader") + delete(additionalProperties, "uploader_url") + delete(additionalProperties, "version") + delete(additionalProperties, "version_orig") + delete(additionalProperties, "vulnerability_scan_results_url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsPackageUpload struct { + value *SkillsPackageUpload + isSet bool +} + +func (v NullableSkillsPackageUpload) Get() *SkillsPackageUpload { + return v.value +} + +func (v *NullableSkillsPackageUpload) Set(val *SkillsPackageUpload) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsPackageUpload) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsPackageUpload) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsPackageUpload(val *SkillsPackageUpload) *NullableSkillsPackageUpload { + return &NullableSkillsPackageUpload{value: val, isSet: true} +} + +func (v NullableSkillsPackageUpload) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsPackageUpload) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_package_upload_request.go b/model_skills_package_upload_request.go new file mode 100644 index 000000000..16faf3736 --- /dev/null +++ b/model_skills_package_upload_request.go @@ -0,0 +1,410 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" +) + +// checks if the SkillsPackageUploadRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsPackageUploadRequest{} + +// SkillsPackageUploadRequest struct for SkillsPackageUploadRequest +type SkillsPackageUploadRequest struct { + Changelog NullableString `json:"changelog,omitempty"` + Name string `json:"name" validate:"regexp=^[a-z0-9]+(?:-[a-z0-9]+)*$"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` + Version string `json:"version"` + AdditionalProperties map[string]interface{} +} + +type _SkillsPackageUploadRequest SkillsPackageUploadRequest + +// NewSkillsPackageUploadRequest instantiates a new SkillsPackageUploadRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSkillsPackageUploadRequest(name string, packageFile string, version string) *SkillsPackageUploadRequest { + this := SkillsPackageUploadRequest{} + this.Name = name + this.PackageFile = packageFile + this.Version = version + return &this +} + +// NewSkillsPackageUploadRequestWithDefaults instantiates a new SkillsPackageUploadRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSkillsPackageUploadRequestWithDefaults() *SkillsPackageUploadRequest { + this := SkillsPackageUploadRequest{} + return &this +} + +// GetChangelog returns the Changelog field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUploadRequest) GetChangelog() string { + if o == nil || IsNil(o.Changelog.Get()) { + var ret string + return ret + } + return *o.Changelog.Get() +} + +// GetChangelogOk returns a tuple with the Changelog field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUploadRequest) GetChangelogOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Changelog.Get(), o.Changelog.IsSet() +} + +// HasChangelog returns a boolean if a field has been set. +func (o *SkillsPackageUploadRequest) HasChangelog() bool { + if o != nil && o.Changelog.IsSet() { + return true + } + + return false +} + +// SetChangelog gets a reference to the given NullableString and assigns it to the Changelog field. +func (o *SkillsPackageUploadRequest) SetChangelog(v string) { + o.Changelog.Set(&v) +} + +// SetChangelogNil sets the value for Changelog to be an explicit nil +func (o *SkillsPackageUploadRequest) SetChangelogNil() { + o.Changelog.Set(nil) +} + +// UnsetChangelog ensures that no value is present for Changelog, not even an explicit nil +func (o *SkillsPackageUploadRequest) UnsetChangelog() { + o.Changelog.Unset() +} + +// GetName returns the Name field value +func (o *SkillsPackageUploadRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsPackageUploadRequest) SetName(v string) { + o.Name = v +} + +// GetPackageFile returns the PackageFile field value +func (o *SkillsPackageUploadRequest) GetPackageFile() string { + if o == nil { + var ret string + return ret + } + + return o.PackageFile +} + +// GetPackageFileOk returns a tuple with the PackageFile field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *SkillsPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *SkillsPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *SkillsPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *SkillsPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *SkillsPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *SkillsPackageUploadRequest) GetRepublish() bool { + if o == nil || IsNil(o.Republish) { + var ret bool + return ret + } + return *o.Republish +} + +// GetRepublishOk returns a tuple with the Republish field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetRepublishOk() (*bool, bool) { + if o == nil || IsNil(o.Republish) { + return nil, false + } + return o.Republish, true +} + +// HasRepublish returns a boolean if a field has been set. +func (o *SkillsPackageUploadRequest) HasRepublish() bool { + if o != nil && !IsNil(o.Republish) { + return true + } + + return false +} + +// SetRepublish gets a reference to the given bool and assigns it to the Republish field. +func (o *SkillsPackageUploadRequest) SetRepublish(v bool) { + o.Republish = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsPackageUploadRequest) GetTags() string { + if o == nil || IsNil(o.Tags.Get()) { + var ret string + return ret + } + return *o.Tags.Get() +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsPackageUploadRequest) GetTagsOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Tags.Get(), o.Tags.IsSet() +} + +// HasTags returns a boolean if a field has been set. +func (o *SkillsPackageUploadRequest) HasTags() bool { + if o != nil && o.Tags.IsSet() { + return true + } + + return false +} + +// SetTags gets a reference to the given NullableString and assigns it to the Tags field. +func (o *SkillsPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *SkillsPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *SkillsPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +// GetVersion returns the Version field value +func (o *SkillsPackageUploadRequest) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *SkillsPackageUploadRequest) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *SkillsPackageUploadRequest) SetVersion(v string) { + o.Version = v +} + +func (o SkillsPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsPackageUploadRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Changelog.IsSet() { + toSerialize["changelog"] = o.Changelog.Get() + } + toSerialize["name"] = o.Name + toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } + if !IsNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + toSerialize["version"] = o.Version + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "package_file", + "version", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsPackageUploadRequest := _SkillsPackageUploadRequest{} + + err = json.Unmarshal(data, &varSkillsPackageUploadRequest) + + if err != nil { + return err + } + + *o = SkillsPackageUploadRequest(varSkillsPackageUploadRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "changelog") + delete(additionalProperties, "name") + delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") + delete(additionalProperties, "republish") + delete(additionalProperties, "tags") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsPackageUploadRequest struct { + value *SkillsPackageUploadRequest + isSet bool +} + +func (v NullableSkillsPackageUploadRequest) Get() *SkillsPackageUploadRequest { + return v.value +} + +func (v *NullableSkillsPackageUploadRequest) Set(val *SkillsPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsPackageUploadRequest(val *SkillsPackageUploadRequest) *NullableSkillsPackageUploadRequest { + return &NullableSkillsPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableSkillsPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream.go b/model_skills_upstream.go new file mode 100644 index 000000000..ff17620b8 --- /dev/null +++ b/model_skills_upstream.go @@ -0,0 +1,1257 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" + "time" +) + +// checks if the SkillsUpstream type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstream{} + +// SkillsUpstream struct for SkillsUpstream +type SkillsUpstream struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // Whether the upstream is available for use. + Available *bool `json:"available,omitempty"` + // Whether the upstream can be reindexed. + CanReindex *bool `json:"can_reindex,omitempty"` + // The package types to serve from the upstream: skills, plugins, or both. + Contents *string `json:"contents,omitempty"` + // The datetime the upstream source was created. + CreatedAt *time.Time `json:"created_at,omitempty"` + DisableReason *string `json:"disable_reason,omitempty"` + // Human-readable explanation of why this upstream is disabled + DisableReasonText *string `json:"disable_reason_text,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether the upstream has failed signature verification. + HasFailedSignatureVerification *bool `json:"has_failed_signature_verification,omitempty"` + // The number of packages available in this upstream source + IndexPackageCount NullableInt64 `json:"index_package_count,omitempty"` + // The current indexing status of this upstream source + IndexStatus NullableString `json:"index_status,omitempty"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The last time this upstream source was indexed + LastIndexed NullableString `json:"last_indexed,omitempty"` + // The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // When true, this upstream source is pending validation. + PendingValidation *bool `json:"pending_validation,omitempty"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // Exact ClawHub releases to cache. + Selections []SkillsUpstreamSelection `json:"selections,omitempty"` + SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + UpdatedAt *time.Time `json:"updated_at,omitempty"` + // The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. + UpstreamUrl string `json:"upstream_url"` + // If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. + VerifySsl *bool `json:"verify_ssl,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstream SkillsUpstream + +// NewSkillsUpstream instantiates a new SkillsUpstream object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSkillsUpstream(name string, upstreamUrl string) *SkillsUpstream { + this := SkillsUpstream{} + var authMode string = "None" + this.AuthMode = &authMode + var contents string = "Skills" + this.Contents = &contents + var mode string = "Proxy Only" + this.Mode = &mode + this.Name = name + this.UpstreamUrl = upstreamUrl + return &this +} + +// NewSkillsUpstreamWithDefaults instantiates a new SkillsUpstream object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSkillsUpstreamWithDefaults() *SkillsUpstream { + this := SkillsUpstream{} + var authMode string = "None" + this.AuthMode = &authMode + var contents string = "Skills" + this.Contents = &contents + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *SkillsUpstream) GetAuthMode() string { + if o == nil || IsNil(o.AuthMode) { + var ret string + return ret + } + return *o.AuthMode +} + +// GetAuthModeOk returns a tuple with the AuthMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetAuthModeOk() (*string, bool) { + if o == nil || IsNil(o.AuthMode) { + return nil, false + } + return o.AuthMode, true +} + +// HasAuthMode returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAuthMode() bool { + if o != nil && !IsNil(o.AuthMode) { + return true + } + + return false +} + +// SetAuthMode gets a reference to the given string and assigns it to the AuthMode field. +func (o *SkillsUpstream) SetAuthMode(v string) { + o.AuthMode = &v +} + +// GetAuthSecret returns the AuthSecret field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetAuthSecret() string { + if o == nil || IsNil(o.AuthSecret.Get()) { + var ret string + return ret + } + return *o.AuthSecret.Get() +} + +// GetAuthSecretOk returns a tuple with the AuthSecret field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetAuthSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthSecret.Get(), o.AuthSecret.IsSet() +} + +// HasAuthSecret returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAuthSecret() bool { + if o != nil && o.AuthSecret.IsSet() { + return true + } + + return false +} + +// SetAuthSecret gets a reference to the given NullableString and assigns it to the AuthSecret field. +func (o *SkillsUpstream) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *SkillsUpstream) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *SkillsUpstream) UnsetAuthSecret() { + o.AuthSecret.Unset() +} + +// GetAuthUsername returns the AuthUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetAuthUsername() string { + if o == nil || IsNil(o.AuthUsername.Get()) { + var ret string + return ret + } + return *o.AuthUsername.Get() +} + +// GetAuthUsernameOk returns a tuple with the AuthUsername field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetAuthUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthUsername.Get(), o.AuthUsername.IsSet() +} + +// HasAuthUsername returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAuthUsername() bool { + if o != nil && o.AuthUsername.IsSet() { + return true + } + + return false +} + +// SetAuthUsername gets a reference to the given NullableString and assigns it to the AuthUsername field. +func (o *SkillsUpstream) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *SkillsUpstream) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *SkillsUpstream) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetAvailable returns the Available field value if set, zero value otherwise. +func (o *SkillsUpstream) GetAvailable() bool { + if o == nil || IsNil(o.Available) { + var ret bool + return ret + } + return *o.Available +} + +// GetAvailableOk returns a tuple with the Available field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetAvailableOk() (*bool, bool) { + if o == nil || IsNil(o.Available) { + return nil, false + } + return o.Available, true +} + +// HasAvailable returns a boolean if a field has been set. +func (o *SkillsUpstream) HasAvailable() bool { + if o != nil && !IsNil(o.Available) { + return true + } + + return false +} + +// SetAvailable gets a reference to the given bool and assigns it to the Available field. +func (o *SkillsUpstream) SetAvailable(v bool) { + o.Available = &v +} + +// GetCanReindex returns the CanReindex field value if set, zero value otherwise. +func (o *SkillsUpstream) GetCanReindex() bool { + if o == nil || IsNil(o.CanReindex) { + var ret bool + return ret + } + return *o.CanReindex +} + +// GetCanReindexOk returns a tuple with the CanReindex field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetCanReindexOk() (*bool, bool) { + if o == nil || IsNil(o.CanReindex) { + return nil, false + } + return o.CanReindex, true +} + +// HasCanReindex returns a boolean if a field has been set. +func (o *SkillsUpstream) HasCanReindex() bool { + if o != nil && !IsNil(o.CanReindex) { + return true + } + + return false +} + +// SetCanReindex gets a reference to the given bool and assigns it to the CanReindex field. +func (o *SkillsUpstream) SetCanReindex(v bool) { + o.CanReindex = &v +} + +// GetContents returns the Contents field value if set, zero value otherwise. +func (o *SkillsUpstream) GetContents() string { + if o == nil || IsNil(o.Contents) { + var ret string + return ret + } + return *o.Contents +} + +// GetContentsOk returns a tuple with the Contents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetContentsOk() (*string, bool) { + if o == nil || IsNil(o.Contents) { + return nil, false + } + return o.Contents, true +} + +// HasContents returns a boolean if a field has been set. +func (o *SkillsUpstream) HasContents() bool { + if o != nil && !IsNil(o.Contents) { + return true + } + + return false +} + +// SetContents gets a reference to the given string and assigns it to the Contents field. +func (o *SkillsUpstream) SetContents(v string) { + o.Contents = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *SkillsUpstream) GetCreatedAt() time.Time { + if o == nil || IsNil(o.CreatedAt) { + var ret time.Time + return ret + } + return *o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetCreatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.CreatedAt) { + return nil, false + } + return o.CreatedAt, true +} + +// HasCreatedAt returns a boolean if a field has been set. +func (o *SkillsUpstream) HasCreatedAt() bool { + if o != nil && !IsNil(o.CreatedAt) { + return true + } + + return false +} + +// SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field. +func (o *SkillsUpstream) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetDisableReason returns the DisableReason field value if set, zero value otherwise. +func (o *SkillsUpstream) GetDisableReason() string { + if o == nil || IsNil(o.DisableReason) { + var ret string + return ret + } + return *o.DisableReason +} + +// GetDisableReasonOk returns a tuple with the DisableReason field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetDisableReasonOk() (*string, bool) { + if o == nil || IsNil(o.DisableReason) { + return nil, false + } + return o.DisableReason, true +} + +// HasDisableReason returns a boolean if a field has been set. +func (o *SkillsUpstream) HasDisableReason() bool { + if o != nil && !IsNil(o.DisableReason) { + return true + } + + return false +} + +// SetDisableReason gets a reference to the given string and assigns it to the DisableReason field. +func (o *SkillsUpstream) SetDisableReason(v string) { + o.DisableReason = &v +} + +// GetDisableReasonText returns the DisableReasonText field value if set, zero value otherwise. +func (o *SkillsUpstream) GetDisableReasonText() string { + if o == nil || IsNil(o.DisableReasonText) { + var ret string + return ret + } + return *o.DisableReasonText +} + +// GetDisableReasonTextOk returns a tuple with the DisableReasonText field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetDisableReasonTextOk() (*string, bool) { + if o == nil || IsNil(o.DisableReasonText) { + return nil, false + } + return o.DisableReasonText, true +} + +// HasDisableReasonText returns a boolean if a field has been set. +func (o *SkillsUpstream) HasDisableReasonText() bool { + if o != nil && !IsNil(o.DisableReasonText) { + return true + } + + return false +} + +// SetDisableReasonText gets a reference to the given string and assigns it to the DisableReasonText field. +func (o *SkillsUpstream) SetDisableReasonText(v string) { + o.DisableReasonText = &v +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraHeader1() string { + if o == nil || IsNil(o.ExtraHeader1.Get()) { + var ret string + return ret + } + return *o.ExtraHeader1.Get() +} + +// GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetExtraHeader1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader1.Get(), o.ExtraHeader1.IsSet() +} + +// HasExtraHeader1 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraHeader1() bool { + if o != nil && o.ExtraHeader1.IsSet() { + return true + } + + return false +} + +// SetExtraHeader1 gets a reference to the given NullableString and assigns it to the ExtraHeader1 field. +func (o *SkillsUpstream) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *SkillsUpstream) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraHeader1() { + o.ExtraHeader1.Unset() +} + +// GetExtraHeader2 returns the ExtraHeader2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraHeader2() string { + if o == nil || IsNil(o.ExtraHeader2.Get()) { + var ret string + return ret + } + return *o.ExtraHeader2.Get() +} + +// GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetExtraHeader2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader2.Get(), o.ExtraHeader2.IsSet() +} + +// HasExtraHeader2 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraHeader2() bool { + if o != nil && o.ExtraHeader2.IsSet() { + return true + } + + return false +} + +// SetExtraHeader2 gets a reference to the given NullableString and assigns it to the ExtraHeader2 field. +func (o *SkillsUpstream) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *SkillsUpstream) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraHeader2() { + o.ExtraHeader2.Unset() +} + +// GetExtraValue1 returns the ExtraValue1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraValue1() string { + if o == nil || IsNil(o.ExtraValue1.Get()) { + var ret string + return ret + } + return *o.ExtraValue1.Get() +} + +// GetExtraValue1Ok returns a tuple with the ExtraValue1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetExtraValue1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue1.Get(), o.ExtraValue1.IsSet() +} + +// HasExtraValue1 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraValue1() bool { + if o != nil && o.ExtraValue1.IsSet() { + return true + } + + return false +} + +// SetExtraValue1 gets a reference to the given NullableString and assigns it to the ExtraValue1 field. +func (o *SkillsUpstream) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *SkillsUpstream) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraValue1() { + o.ExtraValue1.Unset() +} + +// GetExtraValue2 returns the ExtraValue2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetExtraValue2() string { + if o == nil || IsNil(o.ExtraValue2.Get()) { + var ret string + return ret + } + return *o.ExtraValue2.Get() +} + +// GetExtraValue2Ok returns a tuple with the ExtraValue2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetExtraValue2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue2.Get(), o.ExtraValue2.IsSet() +} + +// HasExtraValue2 returns a boolean if a field has been set. +func (o *SkillsUpstream) HasExtraValue2() bool { + if o != nil && o.ExtraValue2.IsSet() { + return true + } + + return false +} + +// SetExtraValue2 gets a reference to the given NullableString and assigns it to the ExtraValue2 field. +func (o *SkillsUpstream) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *SkillsUpstream) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *SkillsUpstream) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetHasFailedSignatureVerification returns the HasFailedSignatureVerification field value if set, zero value otherwise. +func (o *SkillsUpstream) GetHasFailedSignatureVerification() bool { + if o == nil || IsNil(o.HasFailedSignatureVerification) { + var ret bool + return ret + } + return *o.HasFailedSignatureVerification +} + +// GetHasFailedSignatureVerificationOk returns a tuple with the HasFailedSignatureVerification field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetHasFailedSignatureVerificationOk() (*bool, bool) { + if o == nil || IsNil(o.HasFailedSignatureVerification) { + return nil, false + } + return o.HasFailedSignatureVerification, true +} + +// HasHasFailedSignatureVerification returns a boolean if a field has been set. +func (o *SkillsUpstream) HasHasFailedSignatureVerification() bool { + if o != nil && !IsNil(o.HasFailedSignatureVerification) { + return true + } + + return false +} + +// SetHasFailedSignatureVerification gets a reference to the given bool and assigns it to the HasFailedSignatureVerification field. +func (o *SkillsUpstream) SetHasFailedSignatureVerification(v bool) { + o.HasFailedSignatureVerification = &v +} + +// GetIndexPackageCount returns the IndexPackageCount field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetIndexPackageCount() int64 { + if o == nil || IsNil(o.IndexPackageCount.Get()) { + var ret int64 + return ret + } + return *o.IndexPackageCount.Get() +} + +// GetIndexPackageCountOk returns a tuple with the IndexPackageCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetIndexPackageCountOk() (*int64, bool) { + if o == nil { + return nil, false + } + return o.IndexPackageCount.Get(), o.IndexPackageCount.IsSet() +} + +// HasIndexPackageCount returns a boolean if a field has been set. +func (o *SkillsUpstream) HasIndexPackageCount() bool { + if o != nil && o.IndexPackageCount.IsSet() { + return true + } + + return false +} + +// SetIndexPackageCount gets a reference to the given NullableInt64 and assigns it to the IndexPackageCount field. +func (o *SkillsUpstream) SetIndexPackageCount(v int64) { + o.IndexPackageCount.Set(&v) +} + +// SetIndexPackageCountNil sets the value for IndexPackageCount to be an explicit nil +func (o *SkillsUpstream) SetIndexPackageCountNil() { + o.IndexPackageCount.Set(nil) +} + +// UnsetIndexPackageCount ensures that no value is present for IndexPackageCount, not even an explicit nil +func (o *SkillsUpstream) UnsetIndexPackageCount() { + o.IndexPackageCount.Unset() +} + +// GetIndexStatus returns the IndexStatus field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetIndexStatus() string { + if o == nil || IsNil(o.IndexStatus.Get()) { + var ret string + return ret + } + return *o.IndexStatus.Get() +} + +// GetIndexStatusOk returns a tuple with the IndexStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetIndexStatusOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.IndexStatus.Get(), o.IndexStatus.IsSet() +} + +// HasIndexStatus returns a boolean if a field has been set. +func (o *SkillsUpstream) HasIndexStatus() bool { + if o != nil && o.IndexStatus.IsSet() { + return true + } + + return false +} + +// SetIndexStatus gets a reference to the given NullableString and assigns it to the IndexStatus field. +func (o *SkillsUpstream) SetIndexStatus(v string) { + o.IndexStatus.Set(&v) +} + +// SetIndexStatusNil sets the value for IndexStatus to be an explicit nil +func (o *SkillsUpstream) SetIndexStatusNil() { + o.IndexStatus.Set(nil) +} + +// UnsetIndexStatus ensures that no value is present for IndexStatus, not even an explicit nil +func (o *SkillsUpstream) UnsetIndexStatus() { + o.IndexStatus.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *SkillsUpstream) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *SkillsUpstream) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *SkillsUpstream) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetLastIndexed returns the LastIndexed field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstream) GetLastIndexed() string { + if o == nil || IsNil(o.LastIndexed.Get()) { + var ret string + return ret + } + return *o.LastIndexed.Get() +} + +// GetLastIndexedOk returns a tuple with the LastIndexed field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstream) GetLastIndexedOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.LastIndexed.Get(), o.LastIndexed.IsSet() +} + +// HasLastIndexed returns a boolean if a field has been set. +func (o *SkillsUpstream) HasLastIndexed() bool { + if o != nil && o.LastIndexed.IsSet() { + return true + } + + return false +} + +// SetLastIndexed gets a reference to the given NullableString and assigns it to the LastIndexed field. +func (o *SkillsUpstream) SetLastIndexed(v string) { + o.LastIndexed.Set(&v) +} + +// SetLastIndexedNil sets the value for LastIndexed to be an explicit nil +func (o *SkillsUpstream) SetLastIndexedNil() { + o.LastIndexed.Set(nil) +} + +// UnsetLastIndexed ensures that no value is present for LastIndexed, not even an explicit nil +func (o *SkillsUpstream) UnsetLastIndexed() { + o.LastIndexed.Unset() +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *SkillsUpstream) GetMode() string { + if o == nil || IsNil(o.Mode) { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetModeOk() (*string, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *SkillsUpstream) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *SkillsUpstream) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value +func (o *SkillsUpstream) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsUpstream) SetName(v string) { + o.Name = v +} + +// GetPendingValidation returns the PendingValidation field value if set, zero value otherwise. +func (o *SkillsUpstream) GetPendingValidation() bool { + if o == nil || IsNil(o.PendingValidation) { + var ret bool + return ret + } + return *o.PendingValidation +} + +// GetPendingValidationOk returns a tuple with the PendingValidation field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetPendingValidationOk() (*bool, bool) { + if o == nil || IsNil(o.PendingValidation) { + return nil, false + } + return o.PendingValidation, true +} + +// HasPendingValidation returns a boolean if a field has been set. +func (o *SkillsUpstream) HasPendingValidation() bool { + if o != nil && !IsNil(o.PendingValidation) { + return true + } + + return false +} + +// SetPendingValidation gets a reference to the given bool and assigns it to the PendingValidation field. +func (o *SkillsUpstream) SetPendingValidation(v bool) { + o.PendingValidation = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *SkillsUpstream) GetPriority() int64 { + if o == nil || IsNil(o.Priority) { + var ret int64 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetPriorityOk() (*int64, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *SkillsUpstream) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int64 and assigns it to the Priority field. +func (o *SkillsUpstream) SetPriority(v int64) { + o.Priority = &v +} + +// GetSelections returns the Selections field value if set, zero value otherwise. +func (o *SkillsUpstream) GetSelections() []SkillsUpstreamSelection { + if o == nil || IsNil(o.Selections) { + var ret []SkillsUpstreamSelection + return ret + } + return o.Selections +} + +// GetSelectionsOk returns a tuple with the Selections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetSelectionsOk() ([]SkillsUpstreamSelection, bool) { + if o == nil || IsNil(o.Selections) { + return nil, false + } + return o.Selections, true +} + +// HasSelections returns a boolean if a field has been set. +func (o *SkillsUpstream) HasSelections() bool { + if o != nil && !IsNil(o.Selections) { + return true + } + + return false +} + +// SetSelections gets a reference to the given []SkillsUpstreamSelection and assigns it to the Selections field. +func (o *SkillsUpstream) SetSelections(v []SkillsUpstreamSelection) { + o.Selections = v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *SkillsUpstream) GetSlugPerm() string { + if o == nil || IsNil(o.SlugPerm) { + var ret string + return ret + } + return *o.SlugPerm +} + +// GetSlugPermOk returns a tuple with the SlugPerm field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetSlugPermOk() (*string, bool) { + if o == nil || IsNil(o.SlugPerm) { + return nil, false + } + return o.SlugPerm, true +} + +// HasSlugPerm returns a boolean if a field has been set. +func (o *SkillsUpstream) HasSlugPerm() bool { + if o != nil && !IsNil(o.SlugPerm) { + return true + } + + return false +} + +// SetSlugPerm gets a reference to the given string and assigns it to the SlugPerm field. +func (o *SkillsUpstream) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. +func (o *SkillsUpstream) GetUpdatedAt() time.Time { + if o == nil || IsNil(o.UpdatedAt) { + var ret time.Time + return ret + } + return *o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.UpdatedAt) { + return nil, false + } + return o.UpdatedAt, true +} + +// HasUpdatedAt returns a boolean if a field has been set. +func (o *SkillsUpstream) HasUpdatedAt() bool { + if o != nil && !IsNil(o.UpdatedAt) { + return true + } + + return false +} + +// SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field. +func (o *SkillsUpstream) SetUpdatedAt(v time.Time) { + o.UpdatedAt = &v +} + +// GetUpstreamUrl returns the UpstreamUrl field value +func (o *SkillsUpstream) GetUpstreamUrl() string { + if o == nil { + var ret string + return ret + } + + return o.UpstreamUrl +} + +// GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetUpstreamUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.UpstreamUrl, true +} + +// SetUpstreamUrl sets field value +func (o *SkillsUpstream) SetUpstreamUrl(v string) { + o.UpstreamUrl = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *SkillsUpstream) GetVerifySsl() bool { + if o == nil || IsNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstream) GetVerifySslOk() (*bool, bool) { + if o == nil || IsNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *SkillsUpstream) HasVerifySsl() bool { + if o != nil && !IsNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *SkillsUpstream) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o SkillsUpstream) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstream) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if !IsNil(o.Available) { + toSerialize["available"] = o.Available + } + if !IsNil(o.CanReindex) { + toSerialize["can_reindex"] = o.CanReindex + } + if !IsNil(o.Contents) { + toSerialize["contents"] = o.Contents + } + if !IsNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !IsNil(o.DisableReason) { + toSerialize["disable_reason"] = o.DisableReason + } + if !IsNil(o.DisableReasonText) { + toSerialize["disable_reason_text"] = o.DisableReasonText + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.HasFailedSignatureVerification) { + toSerialize["has_failed_signature_verification"] = o.HasFailedSignatureVerification + } + if o.IndexPackageCount.IsSet() { + toSerialize["index_package_count"] = o.IndexPackageCount.Get() + } + if o.IndexStatus.IsSet() { + toSerialize["index_status"] = o.IndexStatus.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.LastIndexed.IsSet() { + toSerialize["last_indexed"] = o.LastIndexed.Get() + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + toSerialize["name"] = o.Name + if !IsNil(o.PendingValidation) { + toSerialize["pending_validation"] = o.PendingValidation + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Selections) { + toSerialize["selections"] = o.Selections + } + if !IsNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if !IsNil(o.UpdatedAt) { + toSerialize["updated_at"] = o.UpdatedAt + } + toSerialize["upstream_url"] = o.UpstreamUrl + if !IsNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstream) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "upstream_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsUpstream := _SkillsUpstream{} + + err = json.Unmarshal(data, &varSkillsUpstream) + + if err != nil { + return err + } + + *o = SkillsUpstream(varSkillsUpstream) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "available") + delete(additionalProperties, "can_reindex") + delete(additionalProperties, "contents") + delete(additionalProperties, "created_at") + delete(additionalProperties, "disable_reason") + delete(additionalProperties, "disable_reason_text") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "has_failed_signature_verification") + delete(additionalProperties, "index_package_count") + delete(additionalProperties, "index_status") + delete(additionalProperties, "is_active") + delete(additionalProperties, "last_indexed") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "pending_validation") + delete(additionalProperties, "priority") + delete(additionalProperties, "selections") + delete(additionalProperties, "slug_perm") + delete(additionalProperties, "updated_at") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstream struct { + value *SkillsUpstream + isSet bool +} + +func (v NullableSkillsUpstream) Get() *SkillsUpstream { + return v.value +} + +func (v *NullableSkillsUpstream) Set(val *SkillsUpstream) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstream) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstream) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstream(val *SkillsUpstream) *NullableSkillsUpstream { + return &NullableSkillsUpstream{value: val, isSet: true} +} + +func (v NullableSkillsUpstream) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstream) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream_request.go b/model_skills_upstream_request.go new file mode 100644 index 000000000..4028fd001 --- /dev/null +++ b/model_skills_upstream_request.go @@ -0,0 +1,770 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" +) + +// checks if the SkillsUpstreamRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstreamRequest{} + +// SkillsUpstreamRequest struct for SkillsUpstreamRequest +type SkillsUpstreamRequest struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // The package types to serve from the upstream: skills, plugins, or both. + Contents *string `json:"contents,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // Exact ClawHub releases to cache. + Selections []SkillsUpstreamSelection `json:"selections,omitempty"` + // The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. + UpstreamUrl string `json:"upstream_url"` + // If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. + VerifySsl *bool `json:"verify_ssl,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstreamRequest SkillsUpstreamRequest + +// NewSkillsUpstreamRequest instantiates a new SkillsUpstreamRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSkillsUpstreamRequest(name string, upstreamUrl string) *SkillsUpstreamRequest { + this := SkillsUpstreamRequest{} + var authMode string = "None" + this.AuthMode = &authMode + var contents string = "Skills" + this.Contents = &contents + var mode string = "Proxy Only" + this.Mode = &mode + this.Name = name + this.UpstreamUrl = upstreamUrl + return &this +} + +// NewSkillsUpstreamRequestWithDefaults instantiates a new SkillsUpstreamRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSkillsUpstreamRequestWithDefaults() *SkillsUpstreamRequest { + this := SkillsUpstreamRequest{} + var authMode string = "None" + this.AuthMode = &authMode + var contents string = "Skills" + this.Contents = &contents + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetAuthMode() string { + if o == nil || IsNil(o.AuthMode) { + var ret string + return ret + } + return *o.AuthMode +} + +// GetAuthModeOk returns a tuple with the AuthMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetAuthModeOk() (*string, bool) { + if o == nil || IsNil(o.AuthMode) { + return nil, false + } + return o.AuthMode, true +} + +// HasAuthMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasAuthMode() bool { + if o != nil && !IsNil(o.AuthMode) { + return true + } + + return false +} + +// SetAuthMode gets a reference to the given string and assigns it to the AuthMode field. +func (o *SkillsUpstreamRequest) SetAuthMode(v string) { + o.AuthMode = &v +} + +// GetAuthSecret returns the AuthSecret field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetAuthSecret() string { + if o == nil || IsNil(o.AuthSecret.Get()) { + var ret string + return ret + } + return *o.AuthSecret.Get() +} + +// GetAuthSecretOk returns a tuple with the AuthSecret field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequest) GetAuthSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthSecret.Get(), o.AuthSecret.IsSet() +} + +// HasAuthSecret returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasAuthSecret() bool { + if o != nil && o.AuthSecret.IsSet() { + return true + } + + return false +} + +// SetAuthSecret gets a reference to the given NullableString and assigns it to the AuthSecret field. +func (o *SkillsUpstreamRequest) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *SkillsUpstreamRequest) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetAuthSecret() { + o.AuthSecret.Unset() +} + +// GetAuthUsername returns the AuthUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetAuthUsername() string { + if o == nil || IsNil(o.AuthUsername.Get()) { + var ret string + return ret + } + return *o.AuthUsername.Get() +} + +// GetAuthUsernameOk returns a tuple with the AuthUsername field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequest) GetAuthUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthUsername.Get(), o.AuthUsername.IsSet() +} + +// HasAuthUsername returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasAuthUsername() bool { + if o != nil && o.AuthUsername.IsSet() { + return true + } + + return false +} + +// SetAuthUsername gets a reference to the given NullableString and assigns it to the AuthUsername field. +func (o *SkillsUpstreamRequest) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *SkillsUpstreamRequest) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetContents returns the Contents field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetContents() string { + if o == nil || IsNil(o.Contents) { + var ret string + return ret + } + return *o.Contents +} + +// GetContentsOk returns a tuple with the Contents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetContentsOk() (*string, bool) { + if o == nil || IsNil(o.Contents) { + return nil, false + } + return o.Contents, true +} + +// HasContents returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasContents() bool { + if o != nil && !IsNil(o.Contents) { + return true + } + + return false +} + +// SetContents gets a reference to the given string and assigns it to the Contents field. +func (o *SkillsUpstreamRequest) SetContents(v string) { + o.Contents = &v +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraHeader1() string { + if o == nil || IsNil(o.ExtraHeader1.Get()) { + var ret string + return ret + } + return *o.ExtraHeader1.Get() +} + +// GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequest) GetExtraHeader1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader1.Get(), o.ExtraHeader1.IsSet() +} + +// HasExtraHeader1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraHeader1() bool { + if o != nil && o.ExtraHeader1.IsSet() { + return true + } + + return false +} + +// SetExtraHeader1 gets a reference to the given NullableString and assigns it to the ExtraHeader1 field. +func (o *SkillsUpstreamRequest) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraHeader1() { + o.ExtraHeader1.Unset() +} + +// GetExtraHeader2 returns the ExtraHeader2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraHeader2() string { + if o == nil || IsNil(o.ExtraHeader2.Get()) { + var ret string + return ret + } + return *o.ExtraHeader2.Get() +} + +// GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequest) GetExtraHeader2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader2.Get(), o.ExtraHeader2.IsSet() +} + +// HasExtraHeader2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraHeader2() bool { + if o != nil && o.ExtraHeader2.IsSet() { + return true + } + + return false +} + +// SetExtraHeader2 gets a reference to the given NullableString and assigns it to the ExtraHeader2 field. +func (o *SkillsUpstreamRequest) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraHeader2() { + o.ExtraHeader2.Unset() +} + +// GetExtraValue1 returns the ExtraValue1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraValue1() string { + if o == nil || IsNil(o.ExtraValue1.Get()) { + var ret string + return ret + } + return *o.ExtraValue1.Get() +} + +// GetExtraValue1Ok returns a tuple with the ExtraValue1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequest) GetExtraValue1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue1.Get(), o.ExtraValue1.IsSet() +} + +// HasExtraValue1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraValue1() bool { + if o != nil && o.ExtraValue1.IsSet() { + return true + } + + return false +} + +// SetExtraValue1 gets a reference to the given NullableString and assigns it to the ExtraValue1 field. +func (o *SkillsUpstreamRequest) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraValue1() { + o.ExtraValue1.Unset() +} + +// GetExtraValue2 returns the ExtraValue2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequest) GetExtraValue2() string { + if o == nil || IsNil(o.ExtraValue2.Get()) { + var ret string + return ret + } + return *o.ExtraValue2.Get() +} + +// GetExtraValue2Ok returns a tuple with the ExtraValue2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequest) GetExtraValue2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue2.Get(), o.ExtraValue2.IsSet() +} + +// HasExtraValue2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasExtraValue2() bool { + if o != nil && o.ExtraValue2.IsSet() { + return true + } + + return false +} + +// SetExtraValue2 gets a reference to the given NullableString and assigns it to the ExtraValue2 field. +func (o *SkillsUpstreamRequest) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *SkillsUpstreamRequest) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *SkillsUpstreamRequest) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *SkillsUpstreamRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetMode() string { + if o == nil || IsNil(o.Mode) { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetModeOk() (*string, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *SkillsUpstreamRequest) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value +func (o *SkillsUpstreamRequest) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsUpstreamRequest) SetName(v string) { + o.Name = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetPriority() int64 { + if o == nil || IsNil(o.Priority) { + var ret int64 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetPriorityOk() (*int64, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int64 and assigns it to the Priority field. +func (o *SkillsUpstreamRequest) SetPriority(v int64) { + o.Priority = &v +} + +// GetSelections returns the Selections field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetSelections() []SkillsUpstreamSelection { + if o == nil || IsNil(o.Selections) { + var ret []SkillsUpstreamSelection + return ret + } + return o.Selections +} + +// GetSelectionsOk returns a tuple with the Selections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetSelectionsOk() ([]SkillsUpstreamSelection, bool) { + if o == nil || IsNil(o.Selections) { + return nil, false + } + return o.Selections, true +} + +// HasSelections returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasSelections() bool { + if o != nil && !IsNil(o.Selections) { + return true + } + + return false +} + +// SetSelections gets a reference to the given []SkillsUpstreamSelection and assigns it to the Selections field. +func (o *SkillsUpstreamRequest) SetSelections(v []SkillsUpstreamSelection) { + o.Selections = v +} + +// GetUpstreamUrl returns the UpstreamUrl field value +func (o *SkillsUpstreamRequest) GetUpstreamUrl() string { + if o == nil { + var ret string + return ret + } + + return o.UpstreamUrl +} + +// GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetUpstreamUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.UpstreamUrl, true +} + +// SetUpstreamUrl sets field value +func (o *SkillsUpstreamRequest) SetUpstreamUrl(v string) { + o.UpstreamUrl = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *SkillsUpstreamRequest) GetVerifySsl() bool { + if o == nil || IsNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequest) GetVerifySslOk() (*bool, bool) { + if o == nil || IsNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *SkillsUpstreamRequest) HasVerifySsl() bool { + if o != nil && !IsNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *SkillsUpstreamRequest) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o SkillsUpstreamRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstreamRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if !IsNil(o.Contents) { + toSerialize["contents"] = o.Contents + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + toSerialize["name"] = o.Name + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Selections) { + toSerialize["selections"] = o.Selections + } + toSerialize["upstream_url"] = o.UpstreamUrl + if !IsNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstreamRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "upstream_url", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsUpstreamRequest := _SkillsUpstreamRequest{} + + err = json.Unmarshal(data, &varSkillsUpstreamRequest) + + if err != nil { + return err + } + + *o = SkillsUpstreamRequest(varSkillsUpstreamRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "contents") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "is_active") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "priority") + delete(additionalProperties, "selections") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstreamRequest struct { + value *SkillsUpstreamRequest + isSet bool +} + +func (v NullableSkillsUpstreamRequest) Get() *SkillsUpstreamRequest { + return v.value +} + +func (v *NullableSkillsUpstreamRequest) Set(val *SkillsUpstreamRequest) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstreamRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstreamRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstreamRequest(val *SkillsUpstreamRequest) *NullableSkillsUpstreamRequest { + return &NullableSkillsUpstreamRequest{value: val, isSet: true} +} + +func (v NullableSkillsUpstreamRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstreamRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream_request_patch.go b/model_skills_upstream_request_patch.go new file mode 100644 index 000000000..c000451de --- /dev/null +++ b/model_skills_upstream_request_patch.go @@ -0,0 +1,765 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// checks if the SkillsUpstreamRequestPatch type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstreamRequestPatch{} + +// SkillsUpstreamRequestPatch struct for SkillsUpstreamRequestPatch +type SkillsUpstreamRequestPatch struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // The package types to serve from the upstream: skills, plugins, or both. + Contents *string `json:"contents,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name *string `json:"name,omitempty" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // Exact ClawHub releases to cache. + Selections []SkillsUpstreamSelection `json:"selections,omitempty"` + // The URL for this upstream source. This must be a fully qualified URL including any path elements required to reach the root of the repository. + UpstreamUrl *string `json:"upstream_url,omitempty"` + // If enabled, SSL certificates are verified when requests are made to this upstream. It's recommended to leave this enabled for all public sources to help mitigate Man-In-The-Middle (MITM) attacks. Please note this only applies to HTTPS upstreams. + VerifySsl *bool `json:"verify_ssl,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstreamRequestPatch SkillsUpstreamRequestPatch + +// NewSkillsUpstreamRequestPatch instantiates a new SkillsUpstreamRequestPatch object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSkillsUpstreamRequestPatch() *SkillsUpstreamRequestPatch { + this := SkillsUpstreamRequestPatch{} + var authMode string = "None" + this.AuthMode = &authMode + var contents string = "Skills" + this.Contents = &contents + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// NewSkillsUpstreamRequestPatchWithDefaults instantiates a new SkillsUpstreamRequestPatch object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSkillsUpstreamRequestPatchWithDefaults() *SkillsUpstreamRequestPatch { + this := SkillsUpstreamRequestPatch{} + var authMode string = "None" + this.AuthMode = &authMode + var contents string = "Skills" + this.Contents = &contents + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetAuthMode() string { + if o == nil || IsNil(o.AuthMode) { + var ret string + return ret + } + return *o.AuthMode +} + +// GetAuthModeOk returns a tuple with the AuthMode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetAuthModeOk() (*string, bool) { + if o == nil || IsNil(o.AuthMode) { + return nil, false + } + return o.AuthMode, true +} + +// HasAuthMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasAuthMode() bool { + if o != nil && !IsNil(o.AuthMode) { + return true + } + + return false +} + +// SetAuthMode gets a reference to the given string and assigns it to the AuthMode field. +func (o *SkillsUpstreamRequestPatch) SetAuthMode(v string) { + o.AuthMode = &v +} + +// GetAuthSecret returns the AuthSecret field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetAuthSecret() string { + if o == nil || IsNil(o.AuthSecret.Get()) { + var ret string + return ret + } + return *o.AuthSecret.Get() +} + +// GetAuthSecretOk returns a tuple with the AuthSecret field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequestPatch) GetAuthSecretOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthSecret.Get(), o.AuthSecret.IsSet() +} + +// HasAuthSecret returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasAuthSecret() bool { + if o != nil && o.AuthSecret.IsSet() { + return true + } + + return false +} + +// SetAuthSecret gets a reference to the given NullableString and assigns it to the AuthSecret field. +func (o *SkillsUpstreamRequestPatch) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetAuthSecret() { + o.AuthSecret.Unset() +} + +// GetAuthUsername returns the AuthUsername field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetAuthUsername() string { + if o == nil || IsNil(o.AuthUsername.Get()) { + var ret string + return ret + } + return *o.AuthUsername.Get() +} + +// GetAuthUsernameOk returns a tuple with the AuthUsername field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequestPatch) GetAuthUsernameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.AuthUsername.Get(), o.AuthUsername.IsSet() +} + +// HasAuthUsername returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasAuthUsername() bool { + if o != nil && o.AuthUsername.IsSet() { + return true + } + + return false +} + +// SetAuthUsername gets a reference to the given NullableString and assigns it to the AuthUsername field. +func (o *SkillsUpstreamRequestPatch) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetContents returns the Contents field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetContents() string { + if o == nil || IsNil(o.Contents) { + var ret string + return ret + } + return *o.Contents +} + +// GetContentsOk returns a tuple with the Contents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetContentsOk() (*string, bool) { + if o == nil || IsNil(o.Contents) { + return nil, false + } + return o.Contents, true +} + +// HasContents returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasContents() bool { + if o != nil && !IsNil(o.Contents) { + return true + } + + return false +} + +// SetContents gets a reference to the given string and assigns it to the Contents field. +func (o *SkillsUpstreamRequestPatch) SetContents(v string) { + o.Contents = &v +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraHeader1() string { + if o == nil || IsNil(o.ExtraHeader1.Get()) { + var ret string + return ret + } + return *o.ExtraHeader1.Get() +} + +// GetExtraHeader1Ok returns a tuple with the ExtraHeader1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequestPatch) GetExtraHeader1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader1.Get(), o.ExtraHeader1.IsSet() +} + +// HasExtraHeader1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraHeader1() bool { + if o != nil && o.ExtraHeader1.IsSet() { + return true + } + + return false +} + +// SetExtraHeader1 gets a reference to the given NullableString and assigns it to the ExtraHeader1 field. +func (o *SkillsUpstreamRequestPatch) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader1() { + o.ExtraHeader1.Unset() +} + +// GetExtraHeader2 returns the ExtraHeader2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraHeader2() string { + if o == nil || IsNil(o.ExtraHeader2.Get()) { + var ret string + return ret + } + return *o.ExtraHeader2.Get() +} + +// GetExtraHeader2Ok returns a tuple with the ExtraHeader2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequestPatch) GetExtraHeader2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraHeader2.Get(), o.ExtraHeader2.IsSet() +} + +// HasExtraHeader2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraHeader2() bool { + if o != nil && o.ExtraHeader2.IsSet() { + return true + } + + return false +} + +// SetExtraHeader2 gets a reference to the given NullableString and assigns it to the ExtraHeader2 field. +func (o *SkillsUpstreamRequestPatch) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraHeader2() { + o.ExtraHeader2.Unset() +} + +// GetExtraValue1 returns the ExtraValue1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraValue1() string { + if o == nil || IsNil(o.ExtraValue1.Get()) { + var ret string + return ret + } + return *o.ExtraValue1.Get() +} + +// GetExtraValue1Ok returns a tuple with the ExtraValue1 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequestPatch) GetExtraValue1Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue1.Get(), o.ExtraValue1.IsSet() +} + +// HasExtraValue1 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraValue1() bool { + if o != nil && o.ExtraValue1.IsSet() { + return true + } + + return false +} + +// SetExtraValue1 gets a reference to the given NullableString and assigns it to the ExtraValue1 field. +func (o *SkillsUpstreamRequestPatch) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraValue1() { + o.ExtraValue1.Unset() +} + +// GetExtraValue2 returns the ExtraValue2 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SkillsUpstreamRequestPatch) GetExtraValue2() string { + if o == nil || IsNil(o.ExtraValue2.Get()) { + var ret string + return ret + } + return *o.ExtraValue2.Get() +} + +// GetExtraValue2Ok returns a tuple with the ExtraValue2 field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SkillsUpstreamRequestPatch) GetExtraValue2Ok() (*string, bool) { + if o == nil { + return nil, false + } + return o.ExtraValue2.Get(), o.ExtraValue2.IsSet() +} + +// HasExtraValue2 returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasExtraValue2() bool { + if o != nil && o.ExtraValue2.IsSet() { + return true + } + + return false +} + +// SetExtraValue2 gets a reference to the given NullableString and assigns it to the ExtraValue2 field. +func (o *SkillsUpstreamRequestPatch) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *SkillsUpstreamRequestPatch) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *SkillsUpstreamRequestPatch) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetIsActive() bool { + if o == nil || IsNil(o.IsActive) { + var ret bool + return ret + } + return *o.IsActive +} + +// GetIsActiveOk returns a tuple with the IsActive field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetIsActiveOk() (*bool, bool) { + if o == nil || IsNil(o.IsActive) { + return nil, false + } + return o.IsActive, true +} + +// HasIsActive returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasIsActive() bool { + if o != nil && !IsNil(o.IsActive) { + return true + } + + return false +} + +// SetIsActive gets a reference to the given bool and assigns it to the IsActive field. +func (o *SkillsUpstreamRequestPatch) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetMode() string { + if o == nil || IsNil(o.Mode) { + var ret string + return ret + } + return *o.Mode +} + +// GetModeOk returns a tuple with the Mode field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetModeOk() (*string, bool) { + if o == nil || IsNil(o.Mode) { + return nil, false + } + return o.Mode, true +} + +// HasMode returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasMode() bool { + if o != nil && !IsNil(o.Mode) { + return true + } + + return false +} + +// SetMode gets a reference to the given string and assigns it to the Mode field. +func (o *SkillsUpstreamRequestPatch) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *SkillsUpstreamRequestPatch) SetName(v string) { + o.Name = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetPriority() int64 { + if o == nil || IsNil(o.Priority) { + var ret int64 + return ret + } + return *o.Priority +} + +// GetPriorityOk returns a tuple with the Priority field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetPriorityOk() (*int64, bool) { + if o == nil || IsNil(o.Priority) { + return nil, false + } + return o.Priority, true +} + +// HasPriority returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasPriority() bool { + if o != nil && !IsNil(o.Priority) { + return true + } + + return false +} + +// SetPriority gets a reference to the given int64 and assigns it to the Priority field. +func (o *SkillsUpstreamRequestPatch) SetPriority(v int64) { + o.Priority = &v +} + +// GetSelections returns the Selections field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetSelections() []SkillsUpstreamSelection { + if o == nil || IsNil(o.Selections) { + var ret []SkillsUpstreamSelection + return ret + } + return o.Selections +} + +// GetSelectionsOk returns a tuple with the Selections field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetSelectionsOk() ([]SkillsUpstreamSelection, bool) { + if o == nil || IsNil(o.Selections) { + return nil, false + } + return o.Selections, true +} + +// HasSelections returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasSelections() bool { + if o != nil && !IsNil(o.Selections) { + return true + } + + return false +} + +// SetSelections gets a reference to the given []SkillsUpstreamSelection and assigns it to the Selections field. +func (o *SkillsUpstreamRequestPatch) SetSelections(v []SkillsUpstreamSelection) { + o.Selections = v +} + +// GetUpstreamUrl returns the UpstreamUrl field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetUpstreamUrl() string { + if o == nil || IsNil(o.UpstreamUrl) { + var ret string + return ret + } + return *o.UpstreamUrl +} + +// GetUpstreamUrlOk returns a tuple with the UpstreamUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetUpstreamUrlOk() (*string, bool) { + if o == nil || IsNil(o.UpstreamUrl) { + return nil, false + } + return o.UpstreamUrl, true +} + +// HasUpstreamUrl returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasUpstreamUrl() bool { + if o != nil && !IsNil(o.UpstreamUrl) { + return true + } + + return false +} + +// SetUpstreamUrl gets a reference to the given string and assigns it to the UpstreamUrl field. +func (o *SkillsUpstreamRequestPatch) SetUpstreamUrl(v string) { + o.UpstreamUrl = &v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *SkillsUpstreamRequestPatch) GetVerifySsl() bool { + if o == nil || IsNil(o.VerifySsl) { + var ret bool + return ret + } + return *o.VerifySsl +} + +// GetVerifySslOk returns a tuple with the VerifySsl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamRequestPatch) GetVerifySslOk() (*bool, bool) { + if o == nil || IsNil(o.VerifySsl) { + return nil, false + } + return o.VerifySsl, true +} + +// HasVerifySsl returns a boolean if a field has been set. +func (o *SkillsUpstreamRequestPatch) HasVerifySsl() bool { + if o != nil && !IsNil(o.VerifySsl) { + return true + } + + return false +} + +// SetVerifySsl gets a reference to the given bool and assigns it to the VerifySsl field. +func (o *SkillsUpstreamRequestPatch) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o SkillsUpstreamRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstreamRequestPatch) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if !IsNil(o.Contents) { + toSerialize["contents"] = o.Contents + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.Selections) { + toSerialize["selections"] = o.Selections + } + if !IsNil(o.UpstreamUrl) { + toSerialize["upstream_url"] = o.UpstreamUrl + } + if !IsNil(o.VerifySsl) { + toSerialize["verify_ssl"] = o.VerifySsl + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstreamRequestPatch) UnmarshalJSON(data []byte) (err error) { + varSkillsUpstreamRequestPatch := _SkillsUpstreamRequestPatch{} + + err = json.Unmarshal(data, &varSkillsUpstreamRequestPatch) + + if err != nil { + return err + } + + *o = SkillsUpstreamRequestPatch(varSkillsUpstreamRequestPatch) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "contents") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "is_active") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "priority") + delete(additionalProperties, "selections") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstreamRequestPatch struct { + value *SkillsUpstreamRequestPatch + isSet bool +} + +func (v NullableSkillsUpstreamRequestPatch) Get() *SkillsUpstreamRequestPatch { + return v.value +} + +func (v *NullableSkillsUpstreamRequestPatch) Set(val *SkillsUpstreamRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstreamRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstreamRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstreamRequestPatch(val *SkillsUpstreamRequestPatch) *NullableSkillsUpstreamRequestPatch { + return &NullableSkillsUpstreamRequestPatch{value: val, isSet: true} +} + +func (v NullableSkillsUpstreamRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstreamRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_skills_upstream_selection.go b/model_skills_upstream_selection.go new file mode 100644 index 000000000..53a2ab834 --- /dev/null +++ b/model_skills_upstream_selection.go @@ -0,0 +1,228 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1509.1 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "fmt" +) + +// checks if the SkillsUpstreamSelection type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SkillsUpstreamSelection{} + +// SkillsUpstreamSelection struct for SkillsUpstreamSelection +type SkillsUpstreamSelection struct { + // The skill's ClawHub slug. + Name string `json:"name" validate:"regexp=^[a-z0-9]+(?:-[a-z0-9]+)*$"` + // The ClawHub owner handle that publishes the skill. + Publisher string `json:"publisher" validate:"regexp=^[a-z0-9]+(?:-[a-z0-9]+)*$"` + // The exact semantic version of the release. + Version string `json:"version"` + AdditionalProperties map[string]interface{} +} + +type _SkillsUpstreamSelection SkillsUpstreamSelection + +// NewSkillsUpstreamSelection instantiates a new SkillsUpstreamSelection object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewSkillsUpstreamSelection(name string, publisher string, version string) *SkillsUpstreamSelection { + this := SkillsUpstreamSelection{} + this.Name = name + this.Publisher = publisher + this.Version = version + return &this +} + +// NewSkillsUpstreamSelectionWithDefaults instantiates a new SkillsUpstreamSelection object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewSkillsUpstreamSelectionWithDefaults() *SkillsUpstreamSelection { + this := SkillsUpstreamSelection{} + return &this +} + +// GetName returns the Name field value +func (o *SkillsUpstreamSelection) GetName() string { + if o == nil { + var ret string + return ret + } + + return o.Name +} + +// GetNameOk returns a tuple with the Name field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamSelection) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *SkillsUpstreamSelection) SetName(v string) { + o.Name = v +} + +// GetPublisher returns the Publisher field value +func (o *SkillsUpstreamSelection) GetPublisher() string { + if o == nil { + var ret string + return ret + } + + return o.Publisher +} + +// GetPublisherOk returns a tuple with the Publisher field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamSelection) GetPublisherOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Publisher, true +} + +// SetPublisher sets field value +func (o *SkillsUpstreamSelection) SetPublisher(v string) { + o.Publisher = v +} + +// GetVersion returns the Version field value +func (o *SkillsUpstreamSelection) GetVersion() string { + if o == nil { + var ret string + return ret + } + + return o.Version +} + +// GetVersionOk returns a tuple with the Version field value +// and a boolean to check if the value has been set. +func (o *SkillsUpstreamSelection) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Version, true +} + +// SetVersion sets field value +func (o *SkillsUpstreamSelection) SetVersion(v string) { + o.Version = v +} + +func (o SkillsUpstreamSelection) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SkillsUpstreamSelection) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["name"] = o.Name + toSerialize["publisher"] = o.Publisher + toSerialize["version"] = o.Version + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SkillsUpstreamSelection) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "name", + "publisher", + "version", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varSkillsUpstreamSelection := _SkillsUpstreamSelection{} + + err = json.Unmarshal(data, &varSkillsUpstreamSelection) + + if err != nil { + return err + } + + *o = SkillsUpstreamSelection(varSkillsUpstreamSelection) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "publisher") + delete(additionalProperties, "version") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSkillsUpstreamSelection struct { + value *SkillsUpstreamSelection + isSet bool +} + +func (v NullableSkillsUpstreamSelection) Get() *SkillsUpstreamSelection { + return v.value +} + +func (v *NullableSkillsUpstreamSelection) Set(val *SkillsUpstreamSelection) { + v.value = val + v.isSet = true +} + +func (v NullableSkillsUpstreamSelection) IsSet() bool { + return v.isSet +} + +func (v *NullableSkillsUpstreamSelection) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSkillsUpstreamSelection(val *SkillsUpstreamSelection) *NullableSkillsUpstreamSelection { + return &NullableSkillsUpstreamSelection{value: val, isSet: true} +} + +func (v NullableSkillsUpstreamSelection) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSkillsUpstreamSelection) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_status_basic.go b/model_status_basic.go index 48bf93cd9..a67cef86e 100644 --- a/model_status_basic.go +++ b/model_status_basic.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit.go b/model_storage_allocated_limit.go index 9b759aab9..0b8953094 100644 --- a/model_storage_allocated_limit.go +++ b/model_storage_allocated_limit.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit_raw.go b/model_storage_allocated_limit_raw.go index eb54004f3..c9a826df3 100644 --- a/model_storage_allocated_limit_raw.go +++ b/model_storage_allocated_limit_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_region.go b/model_storage_region.go index 270ad51ac..6448b3fab 100644 --- a/model_storage_region.go +++ b/model_storage_region.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage.go b/model_storage_usage.go index 9b5588ce7..70bf59ad6 100644 --- a/model_storage_usage.go +++ b/model_storage_usage.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage_raw.go b/model_storage_usage_raw.go index a5f93f908..62c1baf51 100644 --- a/model_storage_usage_raw.go +++ b/model_storage_usage_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload.go b/model_swift_package_upload.go index deefd1d51..6c57d4464 100644 --- a/model_swift_package_upload.go +++ b/model_swift_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -56,23 +56,24 @@ type SwiftPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The license URL of this package. @@ -95,18 +96,21 @@ type SwiftPackageUpload struct { // The URL of the readme for the package. ReadmeUrl *string `json:"readme_url,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` - Repository *string `json:"repository,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` + Repository *string `json:"repository,omitempty"` // The URL of the SCM repository for the package. RepositoryUrl *string `json:"repository_url,omitempty"` // A scope provides a namespace for related packages within the package registry. Scope string `json:"scope"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -153,8 +157,9 @@ type SwiftPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version string `json:"version"` - VersionOrig *string `json:"version_orig,omitempty"` + Version string `json:"version"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -2075,6 +2080,49 @@ func (o *SwiftPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SwiftPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SwiftPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *SwiftPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *SwiftPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *SwiftPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *SwiftPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *SwiftPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3561,6 +3609,9 @@ func (o SwiftPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3772,6 +3823,7 @@ func (o *SwiftPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "raw_license") delete(additionalProperties, "readme_url") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "scope") diff --git a/model_swift_package_upload_request.go b/model_swift_package_upload_request.go index 7401a4e66..4b3775042 100644 --- a/model_swift_package_upload_request.go +++ b/model_swift_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -33,6 +33,8 @@ type SwiftPackageUploadRequest struct { PackageFile string `json:"package_file"` // The URL of the readme for the package. ReadmeUrl *string `json:"readme_url,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // The URL of the SCM repository for the package. RepositoryUrl *string `json:"repository_url,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. @@ -256,6 +258,49 @@ func (o *SwiftPackageUploadRequest) SetReadmeUrl(v string) { o.ReadmeUrl = &v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SwiftPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SwiftPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *SwiftPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *SwiftPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *SwiftPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *SwiftPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. func (o *SwiftPackageUploadRequest) GetRepositoryUrl() string { if o == nil || IsNil(o.RepositoryUrl) { @@ -435,6 +480,9 @@ func (o SwiftPackageUploadRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.ReadmeUrl) { toSerialize["readme_url"] = o.ReadmeUrl } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.RepositoryUrl) { toSerialize["repository_url"] = o.RepositoryUrl } @@ -498,6 +546,7 @@ func (o *SwiftPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "package_file") delete(additionalProperties, "readme_url") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository_url") delete(additionalProperties, "republish") delete(additionalProperties, "scope") diff --git a/model_swift_upstream.go b/model_swift_upstream.go index 9205e3753..d1367923e 100644 --- a/model_swift_upstream.go +++ b/model_swift_upstream.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request.go b/model_swift_upstream_request.go index 48c3f2cb1..4a03736c5 100644 --- a/model_swift_upstream_request.go +++ b/model_swift_upstream_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request_patch.go b/model_swift_upstream_request_patch.go index b3b8f5c35..2e72f1de3 100644 --- a/model_swift_upstream_request_patch.go +++ b/model_swift_upstream_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload.go b/model_terraform_package_upload.go index 3a3b92bde..e5b70aadd 100644 --- a/model_terraform_package_upload.go +++ b/model_terraform_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type TerraformPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type TerraformPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type TerraformPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *TerraformPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TerraformPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *TerraformPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *TerraformPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *TerraformPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *TerraformPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *TerraformPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o TerraformPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *TerraformPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go index deb0ea6de..655466638 100644 --- a/model_terraform_package_upload_request.go +++ b/model_terraform_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &TerraformPackageUploadRequest{} type TerraformPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *TerraformPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *TerraformPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *TerraformPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *TerraformPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *TerraformPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *TerraformPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *TerraformPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *TerraformPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o TerraformPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o TerraformPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *TerraformPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_usage.go b/model_usage.go index 650cfe626..5b6fda8b9 100644 --- a/model_usage.go +++ b/model_usage.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go index 5a595da62..b89c31191 100644 --- a/model_usage_fieldset.go +++ b/model_usage_fieldset.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits.go b/model_usage_limits.go index d32b0f503..a2e5023c5 100644 --- a/model_usage_limits.go +++ b/model_usage_limits.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits_raw.go b/model_usage_limits_raw.go index f851bb119..fc9e5f4a5 100644 --- a/model_usage_limits_raw.go +++ b/model_usage_limits_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_usage_raw.go b/model_usage_raw.go index 931c47015..a8745002d 100644 --- a/model_usage_raw.go +++ b/model_usage_raw.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token.go b/model_user_auth_token.go index 225048362..9b86c745a 100644 --- a/model_user_auth_token.go +++ b/model_user_auth_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token_request.go b/model_user_auth_token_request.go index 45d23f6c0..2d81255af 100644 --- a/model_user_auth_token_request.go +++ b/model_user_auth_token_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_user_authentication_token.go b/model_user_authentication_token.go index 02ebd7f89..44b60c16b 100644 --- a/model_user_authentication_token.go +++ b/model_user_authentication_token.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_user_brief.go b/model_user_brief.go index 46dc5b625..fb946753e 100644 --- a/model_user_brief.go +++ b/model_user_brief.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_user_profile.go b/model_user_profile.go index 6fb5413b8..1e55f7619 100644 --- a/model_user_profile.go +++ b/model_user_profile.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_user_tokens_list_200_response.go b/model_user_tokens_list_200_response.go index aa95912d3..d01b32f86 100644 --- a/model_user_tokens_list_200_response.go +++ b/model_user_tokens_list_200_response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload.go index 64ce77a11..4a966f88f 100644 --- a/model_vagrant_package_upload.go +++ b/model_vagrant_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -52,23 +52,24 @@ type VagrantPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -89,15 +90,18 @@ type VagrantPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -144,8 +148,9 @@ type VagrantPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version string `json:"version"` - VersionOrig *string `json:"version_orig,omitempty"` + Version string `json:"version"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1951,6 +1956,49 @@ func (o *VagrantPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *VagrantPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *VagrantPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *VagrantPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *VagrantPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *VagrantPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3402,6 +3450,9 @@ func (o VagrantPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3609,6 +3660,7 @@ func (o *VagrantPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "provider") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_vagrant_package_upload_request.go b/model_vagrant_package_upload_request.go index 867d34bd6..2fc4a28bb 100644 --- a/model_vagrant_package_upload_request.go +++ b/model_vagrant_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -27,6 +27,8 @@ type VagrantPackageUploadRequest struct { PackageFile string `json:"package_file"` // The virtual machine provider for the box. Provider string `json:"provider"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -131,6 +133,49 @@ func (o *VagrantPackageUploadRequest) SetProvider(v string) { o.Provider = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VagrantPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VagrantPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *VagrantPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *VagrantPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *VagrantPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *VagrantPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *VagrantPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -243,6 +288,9 @@ func (o VagrantPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize["name"] = o.Name toSerialize["package_file"] = o.PackageFile toSerialize["provider"] = o.Provider + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -299,6 +347,7 @@ func (o *VagrantPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "package_file") delete(additionalProperties, "provider") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") delete(additionalProperties, "version") diff --git a/model_vsx_package_upload.go b/model_vsx_package_upload.go index b7f0558a4..3c469409e 100644 --- a/model_vsx_package_upload.go +++ b/model_vsx_package_upload.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -51,23 +51,24 @@ type VsxPackageUpload struct { // Unique and permanent identifier for the package. IdentifierPerm *string `json:"identifier_perm,omitempty"` // Return a map of identifier field names and their values. - Identifiers *map[string]string `json:"identifiers,omitempty"` - Indexed *bool `json:"indexed,omitempty"` - IsCancellable *bool `json:"is_cancellable,omitempty"` - IsCopyable *bool `json:"is_copyable,omitempty"` - IsDeleteable *bool `json:"is_deleteable,omitempty"` - IsDownloadable *bool `json:"is_downloadable,omitempty"` - IsHidden *bool `json:"is_hidden,omitempty"` - IsMoveable *bool `json:"is_moveable,omitempty"` - IsQuarantinable *bool `json:"is_quarantinable,omitempty"` - IsQuarantined *bool `json:"is_quarantined,omitempty"` - IsResyncable *bool `json:"is_resyncable,omitempty"` - IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` - IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` - IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` - IsSyncFailed *bool `json:"is_sync_failed,omitempty"` - IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` - IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` + Identifiers *map[string]string `json:"identifiers,omitempty"` + Indexed *bool `json:"indexed,omitempty"` + IsCancellable *bool `json:"is_cancellable,omitempty"` + IsCopyable *bool `json:"is_copyable,omitempty"` + IsDeleteable *bool `json:"is_deleteable,omitempty"` + IsDownloadable *bool `json:"is_downloadable,omitempty"` + IsHidden *bool `json:"is_hidden,omitempty"` + IsMoveable *bool `json:"is_moveable,omitempty"` + IsQuarantinable *bool `json:"is_quarantinable,omitempty"` + IsQuarantined *bool `json:"is_quarantined,omitempty"` + IsResyncable *bool `json:"is_resyncable,omitempty"` + // Deprecated. Whether the package can be scanned for vulnerabilities. + IsSecurityScannable *bool `json:"is_security_scannable,omitempty"` + IsSyncAwaiting *bool `json:"is_sync_awaiting,omitempty"` + IsSyncCompleted *bool `json:"is_sync_completed,omitempty"` + IsSyncFailed *bool `json:"is_sync_failed,omitempty"` + IsSyncInFlight *bool `json:"is_sync_in_flight,omitempty"` + IsSyncInProgress *bool `json:"is_sync_in_progress,omitempty"` // The license of this package. License NullableString `json:"license,omitempty"` // The name of this package. @@ -86,15 +87,18 @@ type VsxPackageUpload struct { // The raw license string. RawLicense NullableString `json:"raw_license,omitempty"` // The release of the package version (if any). - Release NullableString `json:"release,omitempty"` + Release NullableString `json:"release,omitempty"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` Repository *string `json:"repository,omitempty"` RepositoryUrl *string `json:"repository_url,omitempty"` - // The datetime the security scanning was completed. + // Deprecated. The datetime the security scanning was completed. SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` - // The datetime the security scanning was started. - SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` - SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` - // The datetime the security scanning status was updated. + // Deprecated. The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + // Deprecated. The status of security scanning for the package. + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // Deprecated. The datetime the security scanning status was updated. SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` SelfHtmlUrl *string `json:"self_html_url,omitempty"` SelfUrl *string `json:"self_url,omitempty"` @@ -141,9 +145,10 @@ type VsxPackageUpload struct { Uploader *string `json:"uploader,omitempty"` UploaderUrl *string `json:"uploader_url,omitempty"` // The raw version for this package. - Version NullableString `json:"version,omitempty"` - VersionOrig *string `json:"version_orig,omitempty"` - VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` + Version NullableString `json:"version,omitempty"` + VersionOrig *string `json:"version_orig,omitempty"` + // Deprecated. The URL of the package's vulnerability scan results. + VulnerabilityScanResultsUrl *string `json:"vulnerability_scan_results_url,omitempty"` AdditionalProperties map[string]interface{} } @@ -1940,6 +1945,49 @@ func (o *VsxPackageUpload) UnsetRelease() { o.Release.Unset() } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VsxPackageUpload) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VsxPackageUpload) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *VsxPackageUpload) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *VsxPackageUpload) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *VsxPackageUpload) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *VsxPackageUpload) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepository returns the Repository field value if set, zero value otherwise. func (o *VsxPackageUpload) GetRepository() string { if o == nil || IsNil(o.Repository) { @@ -3411,6 +3459,9 @@ func (o VsxPackageUpload) ToMap() (map[string]interface{}, error) { if o.Release.IsSet() { toSerialize["release"] = o.Release.Get() } + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Repository) { toSerialize["repository"] = o.Repository } @@ -3596,6 +3647,7 @@ func (o *VsxPackageUpload) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "policy_violated") delete(additionalProperties, "raw_license") delete(additionalProperties, "release") + delete(additionalProperties, "release_notes") delete(additionalProperties, "repository") delete(additionalProperties, "repository_url") delete(additionalProperties, "security_scan_completed_at") diff --git a/model_vsx_package_upload_request.go b/model_vsx_package_upload_request.go index c041ca4c0..a2f3c57e3 100644 --- a/model_vsx_package_upload_request.go +++ b/model_vsx_package_upload_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &VsxPackageUploadRequest{} type VsxPackageUploadRequest struct { // The primary file for the package. PackageFile string `json:"package_file"` + // The release notes for this package (if any). + ReleaseNotes NullableString `json:"release_notes,omitempty"` // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. Republish *bool `json:"republish,omitempty"` // A comma-separated values list of tags to add to the package. @@ -74,6 +76,49 @@ func (o *VsxPackageUploadRequest) SetPackageFile(v string) { o.PackageFile = v } +// GetReleaseNotes returns the ReleaseNotes field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *VsxPackageUploadRequest) GetReleaseNotes() string { + if o == nil || IsNil(o.ReleaseNotes.Get()) { + var ret string + return ret + } + return *o.ReleaseNotes.Get() +} + +// GetReleaseNotesOk returns a tuple with the ReleaseNotes field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *VsxPackageUploadRequest) GetReleaseNotesOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ReleaseNotes.Get(), o.ReleaseNotes.IsSet() +} + +// HasReleaseNotes returns a boolean if a field has been set. +func (o *VsxPackageUploadRequest) HasReleaseNotes() bool { + if o != nil && o.ReleaseNotes.IsSet() { + return true + } + + return false +} + +// SetReleaseNotes gets a reference to the given NullableString and assigns it to the ReleaseNotes field. +func (o *VsxPackageUploadRequest) SetReleaseNotes(v string) { + o.ReleaseNotes.Set(&v) +} + +// SetReleaseNotesNil sets the value for ReleaseNotes to be an explicit nil +func (o *VsxPackageUploadRequest) SetReleaseNotesNil() { + o.ReleaseNotes.Set(nil) +} + +// UnsetReleaseNotes ensures that no value is present for ReleaseNotes, not even an explicit nil +func (o *VsxPackageUploadRequest) UnsetReleaseNotes() { + o.ReleaseNotes.Unset() +} + // GetRepublish returns the Republish field value if set, zero value otherwise. func (o *VsxPackageUploadRequest) GetRepublish() bool { if o == nil || IsNil(o.Republish) { @@ -160,6 +205,9 @@ func (o VsxPackageUploadRequest) MarshalJSON() ([]byte, error) { func (o VsxPackageUploadRequest) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["package_file"] = o.PackageFile + if o.ReleaseNotes.IsSet() { + toSerialize["release_notes"] = o.ReleaseNotes.Get() + } if !IsNil(o.Republish) { toSerialize["republish"] = o.Republish } @@ -210,6 +258,7 @@ func (o *VsxPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "package_file") + delete(additionalProperties, "release_notes") delete(additionalProperties, "republish") delete(additionalProperties, "tags") o.AdditionalProperties = additionalProperties diff --git a/model_vulnerability.go b/model_vulnerability.go index 3262005fc..a965ccd2f 100644 --- a/model_vulnerability.go +++ b/model_vulnerability.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go index 313be7f58..f5a4c8e22 100644 --- a/model_vulnerability_scan.go +++ b/model_vulnerability_scan.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go index 2ce88b6c7..9cfaab98b 100644 --- a/model_vulnerability_scan_results.go +++ b/model_vulnerability_scan_results.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go index ac5a168e2..e0e1ca803 100644 --- a/model_vulnerability_scan_results_list.go +++ b/model_vulnerability_scan_results_list.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go index ac1fcf7df..524c05977 100644 --- a/model_vulnerability_scan_version.go +++ b/model_vulnerability_scan_version.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ @@ -21,12 +21,12 @@ var _ MappedNullable = &VulnerabilityScanVersion{} // VulnerabilityScanVersion struct for VulnerabilityScanVersion type VulnerabilityScanVersion struct { - Major int64 `json:"major"` - Minor int64 `json:"minor"` - Operator *string `json:"operator,omitempty"` - Patch int64 `json:"patch"` - RawVersion *string `json:"raw_version,omitempty"` - Version *string `json:"version,omitempty"` + Major NullableInt64 `json:"major"` + Minor NullableInt64 `json:"minor"` + Operator *string `json:"operator,omitempty"` + Patch NullableInt64 `json:"patch"` + RawVersion *string `json:"raw_version,omitempty"` + Version *string `json:"version,omitempty"` AdditionalProperties map[string]interface{} } @@ -36,7 +36,7 @@ type _VulnerabilityScanVersion VulnerabilityScanVersion // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewVulnerabilityScanVersion(major int64, minor int64, patch int64) *VulnerabilityScanVersion { +func NewVulnerabilityScanVersion(major NullableInt64, minor NullableInt64, patch NullableInt64) *VulnerabilityScanVersion { this := VulnerabilityScanVersion{} this.Major = major this.Minor = minor @@ -65,51 +65,55 @@ func NewVulnerabilityScanVersionWithDefaults() *VulnerabilityScanVersion { } // GetMajor returns the Major field value +// If the value is explicit nil, the zero value for int64 will be returned func (o *VulnerabilityScanVersion) GetMajor() int64 { - if o == nil { + if o == nil || o.Major.Get() == nil { var ret int64 return ret } - return o.Major + return *o.Major.Get() } // GetMajorOk returns a tuple with the Major field value // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *VulnerabilityScanVersion) GetMajorOk() (*int64, bool) { if o == nil { return nil, false } - return &o.Major, true + return o.Major.Get(), o.Major.IsSet() } // SetMajor sets field value func (o *VulnerabilityScanVersion) SetMajor(v int64) { - o.Major = v + o.Major.Set(&v) } // GetMinor returns the Minor field value +// If the value is explicit nil, the zero value for int64 will be returned func (o *VulnerabilityScanVersion) GetMinor() int64 { - if o == nil { + if o == nil || o.Minor.Get() == nil { var ret int64 return ret } - return o.Minor + return *o.Minor.Get() } // GetMinorOk returns a tuple with the Minor field value // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *VulnerabilityScanVersion) GetMinorOk() (*int64, bool) { if o == nil { return nil, false } - return &o.Minor, true + return o.Minor.Get(), o.Minor.IsSet() } // SetMinor sets field value func (o *VulnerabilityScanVersion) SetMinor(v int64) { - o.Minor = v + o.Minor.Set(&v) } // GetOperator returns the Operator field value if set, zero value otherwise. @@ -145,27 +149,29 @@ func (o *VulnerabilityScanVersion) SetOperator(v string) { } // GetPatch returns the Patch field value +// If the value is explicit nil, the zero value for int64 will be returned func (o *VulnerabilityScanVersion) GetPatch() int64 { - if o == nil { + if o == nil || o.Patch.Get() == nil { var ret int64 return ret } - return o.Patch + return *o.Patch.Get() } // GetPatchOk returns a tuple with the Patch field value // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *VulnerabilityScanVersion) GetPatchOk() (*int64, bool) { if o == nil { return nil, false } - return &o.Patch, true + return o.Patch.Get(), o.Patch.IsSet() } // SetPatch sets field value func (o *VulnerabilityScanVersion) SetPatch(v int64) { - o.Patch = v + o.Patch.Set(&v) } // GetRawVersion returns the RawVersion field value if set, zero value otherwise. @@ -242,12 +248,12 @@ func (o VulnerabilityScanVersion) MarshalJSON() ([]byte, error) { func (o VulnerabilityScanVersion) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - toSerialize["major"] = o.Major - toSerialize["minor"] = o.Minor + toSerialize["major"] = o.Major.Get() + toSerialize["minor"] = o.Minor.Get() if !IsNil(o.Operator) { toSerialize["operator"] = o.Operator } - toSerialize["patch"] = o.Patch + toSerialize["patch"] = o.Patch.Get() if !IsNil(o.RawVersion) { toSerialize["raw_version"] = o.RawVersion } diff --git a/model_web_osv_severity_counts.go b/model_web_osv_severity_counts.go index 1edd9b080..5b29d3867 100644 --- a/model_web_osv_severity_counts.go +++ b/model_web_osv_severity_counts.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/model_webhook_template.go b/model_webhook_template.go index 93f1b261e..6a5401f6d 100644 --- a/model_webhook_template.go +++ b/model_webhook_template.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/response.go b/response.go index d5eb0cb38..1d9638845 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index 1e11682be..2f9ad570d 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1388.0 +API version: 1.1509.1 Contact: support@cloudsmith.io */