diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 4c513a14..29f5704d 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -12,6 +12,7 @@ api_files.go api_formats.go api_metrics.go api_namespaces.go +api_openid.go api_orgs.go api_packages.go api_quota.go @@ -147,6 +148,11 @@ docs/NamespacesApi.md docs/NestedLicensePolicy.md docs/NestedVulnerabilityPolicy.md docs/NestedVulnerabilityScanResults.md +docs/NixPackageUpload.md +docs/NixPackageUploadRequest.md +docs/NixUpstream.md +docs/NixUpstreamRequest.md +docs/NixUpstreamRequestPatch.md docs/NpmPackageUpload.md docs/NpmPackageUploadRequest.md docs/NpmUpstream.md @@ -157,6 +163,9 @@ docs/NugetPackageUploadRequest.md docs/NugetUpstream.md docs/NugetUpstreamRequest.md docs/NugetUpstreamRequestPatch.md +docs/Oidc1.md +docs/OidcRequest.md +docs/OpenidApi.md docs/Organization.md docs/OrganizationCustomDomainNestedRepo.md docs/OrganizationCustomDomains.md @@ -466,6 +475,11 @@ model_namespace_audit_log.go model_nested_license_policy.go model_nested_vulnerability_policy.go model_nested_vulnerability_scan_results.go +model_nix_package_upload.go +model_nix_package_upload_request.go +model_nix_upstream.go +model_nix_upstream_request.go +model_nix_upstream_request_patch.go model_npm_package_upload.go model_npm_package_upload_request.go model_npm_upstream.go @@ -476,6 +490,8 @@ model_nuget_package_upload_request.go model_nuget_upstream.go model_nuget_upstream_request.go model_nuget_upstream_request_patch.go +model_oidc_1.go +model_oidc_request.go model_organization.go model_organization_custom_domain_nested_repo.go model_organization_custom_domains.go @@ -670,6 +686,7 @@ test/api_files_test.go test/api_formats_test.go test/api_metrics_test.go test/api_namespaces_test.go +test/api_openid_test.go test/api_orgs_test.go test/api_packages_test.go test/api_quota_test.go diff --git a/README.md b/README.md index aa74c078..f4f503b2 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.1350.0 -- Package version: 0.0.61 +- API version: 1.1351.3 +- Package version: 0.0.62 - 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) @@ -109,6 +109,7 @@ Class | Method | HTTP request | Description *MetricsApi* | [**MetricsPackagesList**](docs/MetricsApi.md#metricspackageslist) | **Get** /metrics/packages/{owner}/{repo}/ | View for listing package usage metrics, for a repository. *NamespacesApi* | [**NamespacesList**](docs/NamespacesApi.md#namespaceslist) | **Get** /namespaces/ | Get a list of all namespaces the user belongs to. *NamespacesApi* | [**NamespacesRead**](docs/NamespacesApi.md#namespacesread) | **Get** /namespaces/{slug}/ | Get a specific namespace that the user belongs to. +*OpenidApi* | [**OpenidCreate**](docs/OpenidApi.md#openidcreate) | **Post** /openid/{owner}/ | Get a JWT token for a configured service account belonging to the requesting org. *OrgsApi* | [**OrgsCustomDomainsList**](docs/OrgsApi.md#orgscustomdomainslist) | **Get** /orgs/{org}/custom-domains/ | Get the details for all custom domains. *OrgsApi* | [**OrgsDelete**](docs/OrgsApi.md#orgsdelete) | **Delete** /orgs/{org}/ | Delete the specified organization. *OrgsApi* | [**OrgsDenyPolicyCreate**](docs/OrgsApi.md#orgsdenypolicycreate) | **Post** /orgs/{org}/deny-policy/ | Create a package deny policy. @@ -216,6 +217,7 @@ Class | Method | HTTP request | Description *PackagesApi* | [**PackagesUploadLuarocks**](docs/PackagesApi.md#packagesuploadluarocks) | **Post** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package *PackagesApi* | [**PackagesUploadMaven**](docs/PackagesApi.md#packagesuploadmaven) | **Post** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package *PackagesApi* | [**PackagesUploadMcp**](docs/PackagesApi.md#packagesuploadmcp) | **Post** /packages/{owner}/{repo}/upload/mcp/ | Create a new MCP package +*PackagesApi* | [**PackagesUploadNix**](docs/PackagesApi.md#packagesuploadnix) | **Post** /packages/{owner}/{repo}/upload/nix/ | Create a new Nix package *PackagesApi* | [**PackagesUploadNpm**](docs/PackagesApi.md#packagesuploadnpm) | **Post** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package *PackagesApi* | [**PackagesUploadNuget**](docs/PackagesApi.md#packagesuploadnuget) | **Post** /packages/{owner}/{repo}/upload/nuget/ | Create a new NuGet package *PackagesApi* | [**PackagesUploadP2**](docs/PackagesApi.md#packagesuploadp2) | **Post** /packages/{owner}/{repo}/upload/p2/ | Create a new P2 package @@ -245,6 +247,7 @@ Class | Method | HTTP request | Description *PackagesApi* | [**PackagesValidateUploadLuarocks**](docs/PackagesApi.md#packagesvalidateuploadluarocks) | **Post** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package *PackagesApi* | [**PackagesValidateUploadMaven**](docs/PackagesApi.md#packagesvalidateuploadmaven) | **Post** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package *PackagesApi* | [**PackagesValidateUploadMcp**](docs/PackagesApi.md#packagesvalidateuploadmcp) | **Post** /packages/{owner}/{repo}/validate-upload/mcp/ | Validate parameters for create MCP package +*PackagesApi* | [**PackagesValidateUploadNix**](docs/PackagesApi.md#packagesvalidateuploadnix) | **Post** /packages/{owner}/{repo}/validate-upload/nix/ | Validate parameters for create Nix package *PackagesApi* | [**PackagesValidateUploadNpm**](docs/PackagesApi.md#packagesvalidateuploadnpm) | **Post** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package *PackagesApi* | [**PackagesValidateUploadNuget**](docs/PackagesApi.md#packagesvalidateuploadnuget) | **Post** /packages/{owner}/{repo}/validate-upload/nuget/ | Validate parameters for create NuGet package *PackagesApi* | [**PackagesValidateUploadP2**](docs/PackagesApi.md#packagesvalidateuploadp2) | **Post** /packages/{owner}/{repo}/validate-upload/p2/ | Validate parameters for create P2 package @@ -383,6 +386,12 @@ Class | Method | HTTP request | Description *ReposApi* | [**ReposUpstreamMavenPartialUpdate**](docs/ReposApi.md#reposupstreammavenpartialupdate) | **Patch** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Partially update a Maven upstream config for this repository. *ReposApi* | [**ReposUpstreamMavenRead**](docs/ReposApi.md#reposupstreammavenread) | **Get** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Retrieve a Maven upstream config for this repository. *ReposApi* | [**ReposUpstreamMavenUpdate**](docs/ReposApi.md#reposupstreammavenupdate) | **Put** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Update a Maven upstream config for this repository. +*ReposApi* | [**ReposUpstreamNixCreate**](docs/ReposApi.md#reposupstreamnixcreate) | **Post** /repos/{owner}/{identifier}/upstream/nix/ | Create a Nix upstream config for this repository. +*ReposApi* | [**ReposUpstreamNixDelete**](docs/ReposApi.md#reposupstreamnixdelete) | **Delete** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Delete a Nix upstream config for this repository. +*ReposApi* | [**ReposUpstreamNixList**](docs/ReposApi.md#reposupstreamnixlist) | **Get** /repos/{owner}/{identifier}/upstream/nix/ | List Nix upstream configs for this repository. +*ReposApi* | [**ReposUpstreamNixPartialUpdate**](docs/ReposApi.md#reposupstreamnixpartialupdate) | **Patch** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Partially update a Nix upstream config for this repository. +*ReposApi* | [**ReposUpstreamNixRead**](docs/ReposApi.md#reposupstreamnixread) | **Get** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Retrieve a Nix upstream config for this repository. +*ReposApi* | [**ReposUpstreamNixUpdate**](docs/ReposApi.md#reposupstreamnixupdate) | **Put** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Update a Nix upstream config for this repository. *ReposApi* | [**ReposUpstreamNpmCreate**](docs/ReposApi.md#reposupstreamnpmcreate) | **Post** /repos/{owner}/{identifier}/upstream/npm/ | Create a npm upstream config for this repository. *ReposApi* | [**ReposUpstreamNpmDelete**](docs/ReposApi.md#reposupstreamnpmdelete) | **Delete** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Delete a npm upstream config for this repository. *ReposApi* | [**ReposUpstreamNpmList**](docs/ReposApi.md#reposupstreamnpmlist) | **Get** /repos/{owner}/{identifier}/upstream/npm/ | List npm upstream configs for this repository. @@ -555,6 +564,11 @@ Class | Method | HTTP request | Description - [NestedLicensePolicy](docs/NestedLicensePolicy.md) - [NestedVulnerabilityPolicy](docs/NestedVulnerabilityPolicy.md) - [NestedVulnerabilityScanResults](docs/NestedVulnerabilityScanResults.md) + - [NixPackageUpload](docs/NixPackageUpload.md) + - [NixPackageUploadRequest](docs/NixPackageUploadRequest.md) + - [NixUpstream](docs/NixUpstream.md) + - [NixUpstreamRequest](docs/NixUpstreamRequest.md) + - [NixUpstreamRequestPatch](docs/NixUpstreamRequestPatch.md) - [NpmPackageUpload](docs/NpmPackageUpload.md) - [NpmPackageUploadRequest](docs/NpmPackageUploadRequest.md) - [NpmUpstream](docs/NpmUpstream.md) @@ -565,6 +579,8 @@ Class | Method | HTTP request | Description - [NugetUpstream](docs/NugetUpstream.md) - [NugetUpstreamRequest](docs/NugetUpstreamRequest.md) - [NugetUpstreamRequestPatch](docs/NugetUpstreamRequestPatch.md) + - [Oidc1](docs/Oidc1.md) + - [OidcRequest](docs/OidcRequest.md) - [Organization](docs/Organization.md) - [OrganizationCustomDomainNestedRepo](docs/OrganizationCustomDomainNestedRepo.md) - [OrganizationCustomDomains](docs/OrganizationCustomDomains.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index 8dd4df84..b9fc9d56 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.1350.0 + version: 1.1351.3 servers: - url: https://api.cloudsmith.io/ security: @@ -1580,6 +1580,55 @@ paths: summary: Get a specific namespace that the user belongs to. tags: - namespaces + /openid/{owner}/: + post: + description: |- + Get a JWT token for a configured service + account belonging to the requesting org. + operationId: openid_create + parameters: + - in: path + name: owner + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/OidcRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/Oidc_1' + description: Created + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: The JWT cannot be created. + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: OIDC token cannot be authenticated. + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: |- + Get a JWT token for a configured service + account belonging to the requesting org. + tags: + - openid + x-codegen-request-body-name: data /orgs/: get: description: Get a list of all the organizations you are associated with. @@ -5908,6 +5957,56 @@ paths: tags: - packages x-codegen-request-body-name: data + /packages/{owner}/{repo}/upload/nix/: + post: + description: Create a new Nix package + operationId: packages_upload_nix + 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/NixPackageUploadRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/NixPackageUpload' + description: Upload acknowledged and queued for synchronization. + "404": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Namespace (owner) or repository not found + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Request could not be processed (see detail). + "422": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorDetail' + description: Missing or invalid parameters (see detail). + summary: Create a new Nix package + tags: + - packages + x-codegen-request-body-name: data /packages/{owner}/{repo}/upload/npm/: post: description: Create a new npm package @@ -7304,6 +7403,53 @@ paths: tags: - packages x-codegen-request-body-name: data + /packages/{owner}/{repo}/validate-upload/nix/: + post: + description: Validate parameters for create Nix package + operationId: packages_validate-upload_nix + 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/NixPackageUploadRequest' + 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 Nix package + tags: + - packages + x-codegen-request-body-name: data /packages/{owner}/{repo}/validate-upload/npm/: post: description: Validate parameters for create npm package @@ -13986,10 +14132,10 @@ paths: tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/npm/: + /repos/{owner}/{identifier}/upstream/nix/: get: - description: List npm upstream configs for this repository. - operationId: repos_upstream_npm_list + description: List Nix upstream configs for this repository. + operationId: repos_upstream_nix_list parameters: - in: path name: owner @@ -14017,7 +14163,7 @@ paths: application/json: schema: items: - $ref: '#/components/schemas/NpmUpstream' + $ref: '#/components/schemas/NixUpstream' type: array description: OK "400": @@ -14032,13 +14178,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: List npm upstream configs for this repository. + summary: List Nix 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 npm upstream config for this repository. - operationId: repos_upstream_npm_create + description: Create a Nix upstream config for this repository. + operationId: repos_upstream_nix_create parameters: - in: path name: owner @@ -14054,14 +14200,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NpmUpstreamRequest' + $ref: '#/components/schemas/NixUpstreamRequest' required: false responses: "201": content: application/json: schema: - $ref: '#/components/schemas/NpmUpstream' + $ref: '#/components/schemas/NixUpstream' description: Created "400": content: @@ -14075,14 +14221,14 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Create a npm upstream config for this repository. + summary: Create a Nix upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/: + /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/: delete: - description: Delete a npm upstream config for this repository. - operationId: repos_upstream_npm_delete + description: Delete a Nix upstream config for this repository. + operationId: repos_upstream_nix_delete parameters: - in: path name: owner @@ -14115,12 +14261,12 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Delete a npm upstream config for this repository. + summary: Delete a Nix upstream config for this repository. tags: - repos get: - description: Retrieve a npm upstream config for this repository. - operationId: repos_upstream_npm_read + description: Retrieve a Nix upstream config for this repository. + operationId: repos_upstream_nix_read parameters: - in: path name: owner @@ -14142,7 +14288,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NpmUpstream' + $ref: '#/components/schemas/NixUpstream' description: OK "400": content: @@ -14156,13 +14302,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Retrieve a npm upstream config for this repository. + summary: Retrieve a Nix 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 a npm upstream config for this repository. - operationId: repos_upstream_npm_partial_update + description: Partially update a Nix upstream config for this repository. + operationId: repos_upstream_nix_partial_update parameters: - in: path name: owner @@ -14183,14 +14329,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NpmUpstreamRequestPatch' + $ref: '#/components/schemas/NixUpstreamRequestPatch' required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NpmUpstream' + $ref: '#/components/schemas/NixUpstream' description: OK "400": content: @@ -14204,13 +14350,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Partially update a npm upstream config for this repository. + summary: Partially update a Nix upstream config for this repository. tags: - repos x-codegen-request-body-name: data put: - description: Update a npm upstream config for this repository. - operationId: repos_upstream_npm_update + description: Update a Nix upstream config for this repository. + operationId: repos_upstream_nix_update parameters: - in: path name: owner @@ -14231,14 +14377,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NpmUpstreamRequest' + $ref: '#/components/schemas/NixUpstreamRequest' required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NpmUpstream' + $ref: '#/components/schemas/NixUpstream' description: OK "400": content: @@ -14252,14 +14398,14 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Update a npm upstream config for this repository. + summary: Update a Nix upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/nuget/: + /repos/{owner}/{identifier}/upstream/npm/: get: - description: List NuGet upstream configs for this repository. - operationId: repos_upstream_nuget_list + description: List npm upstream configs for this repository. + operationId: repos_upstream_npm_list parameters: - in: path name: owner @@ -14287,7 +14433,7 @@ paths: application/json: schema: items: - $ref: '#/components/schemas/NugetUpstream' + $ref: '#/components/schemas/NpmUpstream' type: array description: OK "400": @@ -14302,13 +14448,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: List NuGet upstream configs for this repository. + summary: List npm 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 NuGet upstream config for this repository. - operationId: repos_upstream_nuget_create + description: Create a npm upstream config for this repository. + operationId: repos_upstream_npm_create parameters: - in: path name: owner @@ -14324,14 +14470,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NugetUpstreamRequest' + $ref: '#/components/schemas/NpmUpstreamRequest' required: false responses: "201": content: application/json: schema: - $ref: '#/components/schemas/NugetUpstream' + $ref: '#/components/schemas/NpmUpstream' description: Created "400": content: @@ -14345,14 +14491,14 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Create a NuGet upstream config for this repository. + summary: Create a npm upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/: + /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/: delete: - description: Delete a NuGet upstream config for this repository. - operationId: repos_upstream_nuget_delete + description: Delete a npm upstream config for this repository. + operationId: repos_upstream_npm_delete parameters: - in: path name: owner @@ -14385,12 +14531,12 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Delete a NuGet upstream config for this repository. + summary: Delete a npm upstream config for this repository. tags: - repos get: - description: Retrieve a NuGet upstream config for this repository. - operationId: repos_upstream_nuget_read + description: Retrieve a npm upstream config for this repository. + operationId: repos_upstream_npm_read parameters: - in: path name: owner @@ -14412,7 +14558,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NugetUpstream' + $ref: '#/components/schemas/NpmUpstream' description: OK "400": content: @@ -14426,13 +14572,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Retrieve a NuGet upstream config for this repository. + summary: Retrieve a npm 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 a NuGet upstream config for this repository. - operationId: repos_upstream_nuget_partial_update + description: Partially update a npm upstream config for this repository. + operationId: repos_upstream_npm_partial_update parameters: - in: path name: owner @@ -14453,14 +14599,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NugetUpstreamRequestPatch' + $ref: '#/components/schemas/NpmUpstreamRequestPatch' required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NugetUpstream' + $ref: '#/components/schemas/NpmUpstream' description: OK "400": content: @@ -14474,13 +14620,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Partially update a NuGet upstream config for this repository. + summary: Partially update a npm upstream config for this repository. tags: - repos x-codegen-request-body-name: data put: - description: Update a NuGet upstream config for this repository. - operationId: repos_upstream_nuget_update + description: Update a npm upstream config for this repository. + operationId: repos_upstream_npm_update parameters: - in: path name: owner @@ -14501,14 +14647,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/NugetUpstreamRequest' + $ref: '#/components/schemas/NpmUpstreamRequest' required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/NugetUpstream' + $ref: '#/components/schemas/NpmUpstream' description: OK "400": content: @@ -14522,14 +14668,14 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Update a NuGet upstream config for this repository. + summary: Update a npm upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/python/: + /repos/{owner}/{identifier}/upstream/nuget/: get: - description: List Python upstream configs for this repository. - operationId: repos_upstream_python_list + description: List NuGet upstream configs for this repository. + operationId: repos_upstream_nuget_list parameters: - in: path name: owner @@ -14557,7 +14703,7 @@ paths: application/json: schema: items: - $ref: '#/components/schemas/PythonUpstream' + $ref: '#/components/schemas/NugetUpstream' type: array description: OK "400": @@ -14572,13 +14718,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: List Python upstream configs for this repository. + summary: List NuGet 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 Python upstream config for this repository. - operationId: repos_upstream_python_create + description: Create a NuGet upstream config for this repository. + operationId: repos_upstream_nuget_create parameters: - in: path name: owner @@ -14594,14 +14740,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PythonUpstreamRequest' + $ref: '#/components/schemas/NugetUpstreamRequest' required: false responses: "201": content: application/json: schema: - $ref: '#/components/schemas/PythonUpstream' + $ref: '#/components/schemas/NugetUpstream' description: Created "400": content: @@ -14615,14 +14761,14 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Create a Python upstream config for this repository. + summary: Create a NuGet upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/python/{slug_perm}/: + /repos/{owner}/{identifier}/upstream/nuget/{slug_perm}/: delete: - description: Delete a Python upstream config for this repository. - operationId: repos_upstream_python_delete + description: Delete a NuGet upstream config for this repository. + operationId: repos_upstream_nuget_delete parameters: - in: path name: owner @@ -14655,12 +14801,12 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Delete a Python upstream config for this repository. + summary: Delete a NuGet upstream config for this repository. tags: - repos get: - description: Retrieve a Python upstream config for this repository. - operationId: repos_upstream_python_read + description: Retrieve a NuGet upstream config for this repository. + operationId: repos_upstream_nuget_read parameters: - in: path name: owner @@ -14682,7 +14828,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PythonUpstream' + $ref: '#/components/schemas/NugetUpstream' description: OK "400": content: @@ -14696,13 +14842,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Retrieve a Python upstream config for this repository. + summary: Retrieve a NuGet 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 a Python upstream config for this repository. - operationId: repos_upstream_python_partial_update + description: Partially update a NuGet upstream config for this repository. + operationId: repos_upstream_nuget_partial_update parameters: - in: path name: owner @@ -14723,14 +14869,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PythonUpstreamRequestPatch' + $ref: '#/components/schemas/NugetUpstreamRequestPatch' required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/PythonUpstream' + $ref: '#/components/schemas/NugetUpstream' description: OK "400": content: @@ -14744,13 +14890,13 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Partially update a Python upstream config for this repository. + summary: Partially update a NuGet upstream config for this repository. tags: - repos x-codegen-request-body-name: data put: - description: Update a Python upstream config for this repository. - operationId: repos_upstream_python_update + description: Update a NuGet upstream config for this repository. + operationId: repos_upstream_nuget_update parameters: - in: path name: owner @@ -14771,14 +14917,14 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PythonUpstreamRequest' + $ref: '#/components/schemas/NugetUpstreamRequest' required: false responses: "200": content: application/json: schema: - $ref: '#/components/schemas/PythonUpstream' + $ref: '#/components/schemas/NugetUpstream' description: OK "400": content: @@ -14792,14 +14938,284 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Update a Python upstream config for this repository. + summary: Update a NuGet upstream config for this repository. tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/upstream/rpm/: + /repos/{owner}/{identifier}/upstream/python/: get: - description: List RedHat upstream configs for this repository. - operationId: repos_upstream_rpm_list + description: List Python upstream configs for this repository. + operationId: repos_upstream_python_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/PythonUpstream' + 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 Python 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 Python upstream config for this repository. + operationId: repos_upstream_python_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/PythonUpstreamRequest' + required: false + responses: + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/PythonUpstream' + 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 Python upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/upstream/python/{slug_perm}/: + delete: + description: Delete a Python upstream config for this repository. + operationId: repos_upstream_python_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 Python upstream config for this repository. + tags: + - repos + get: + description: Retrieve a Python upstream config for this repository. + operationId: repos_upstream_python_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/PythonUpstream' + 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 a Python 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 a Python upstream config for this repository. + operationId: repos_upstream_python_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/PythonUpstreamRequestPatch' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/PythonUpstream' + 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 a Python upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + put: + description: Update a Python upstream config for this repository. + operationId: repos_upstream_python_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/PythonUpstreamRequest' + required: false + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/PythonUpstream' + 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 a Python upstream config for this repository. + tags: + - repos + x-codegen-request-body-name: data + /repos/{owner}/{identifier}/upstream/rpm/: + get: + description: List RedHat upstream configs for this repository. + operationId: repos_upstream_rpm_list parameters: - in: path name: owner @@ -18814,6 +19230,27 @@ components: title: Type name type: string type: object + OidcRequest: + example: + service_slug: service_slug + oidc_token: oidc_token + properties: + oidc_token: + description: Serialized OIDC token. + minLength: 1 + title: Oidc token + type: string + service_slug: + description: Slug for the service account. + minLength: 1 + title: Service slug + type: string + required: + - oidc_token + - service_slug + type: object + Oidc: + type: object Organization: example: country: country @@ -34308,9 +34745,10 @@ components: title: Vulnerability scan results url type: string type: object - NpmPackageUploadRequest: + NixPackageUploadRequest: example: republish: true + narinfo: narinfo vulnerability_counts: high: 6 total: 2 @@ -34319,9 +34757,9 @@ components: low: 1 medium: 5 unknown: 7 - npm_dist_tag: latest is_malware_detected: true package_file: package_file + version: version tags: tags properties: is_malware_detected: @@ -34330,13 +34768,13 @@ components: readOnly: true title: Is malware detected type: boolean - npm_dist_tag: - default: latest - description: The default npm dist-tag for this package/version - This will - replace any other package/version if they are using the same tag. - maxLength: 255 + narinfo: + description: The narinfo sidecar metadata file (.narinfo). Optional + — the package can be completed later by publishing the matching narinfo + via the native HTTP PUT path. + minLength: 1 nullable: true - title: Npm dist tag + title: Narinfo type: string package_file: description: The primary file for the package. @@ -34356,12 +34794,18 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + nullable: true + title: Version + type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: - package_file type: object - NpmPackageUpload: + NixPackageUpload: example: architectures: - name: name @@ -34956,8 +35400,8 @@ components: type: string version: description: The raw version for this package. + maxLength: 255 nullable: true - readOnly: true title: Version type: string version_orig: @@ -34972,10 +35416,9 @@ components: title: Vulnerability scan results url type: string type: object - NugetPackageUploadRequest: + NpmPackageUploadRequest: example: republish: true - symbols_file: symbols_file vulnerability_counts: high: 6 total: 2 @@ -34984,6 +35427,7 @@ components: low: 1 medium: 5 unknown: 7 + npm_dist_tag: latest is_malware_detected: true package_file: package_file tags: tags @@ -34994,6 +35438,14 @@ components: readOnly: true title: Is malware detected type: boolean + npm_dist_tag: + default: latest + description: The default npm dist-tag for this package/version - This will + replace any other package/version if they are using the same tag. + maxLength: 255 + nullable: true + title: Npm dist tag + type: string package_file: description: The primary file for the package. minLength: 1 @@ -35005,12 +35457,6 @@ components: \ as a duplicate." title: Republish type: boolean - symbols_file: - description: Uploads a symbols file as a separate package - minLength: 1 - nullable: true - title: Symbols file - type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -35023,7 +35469,7 @@ components: required: - package_file type: object - NugetPackageUpload: + NpmPackageUpload: example: architectures: - name: name @@ -35634,9 +36080,10 @@ components: title: Vulnerability scan results url type: string type: object - P2PackageUploadRequest: + NugetPackageUploadRequest: example: republish: true + symbols_file: symbols_file vulnerability_counts: high: 6 total: 2 @@ -35666,6 +36113,12 @@ components: \ as a duplicate." title: Republish type: boolean + symbols_file: + description: Uploads a symbols file as a separate package + minLength: 1 + nullable: true + title: Symbols file + type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -35678,7 +36131,7 @@ components: required: - package_file type: object - P2PackageUpload: + NugetPackageUpload: example: architectures: - name: name @@ -36289,7 +36742,7 @@ components: title: Vulnerability scan results url type: string type: object - PythonPackageUploadRequest: + P2PackageUploadRequest: example: republish: true vulnerability_counts: @@ -36333,7 +36786,7 @@ components: required: - package_file type: object - PythonPackageUpload: + P2PackageUpload: example: architectures: - name: name @@ -36944,13 +37397,9 @@ components: title: Vulnerability scan results url type: string type: object - RawPackageUploadRequest: + PythonPackageUploadRequest: example: - summary: summary - content_type: content_type republish: true - name: name - description: description vulnerability_counts: high: 6 total: 2 @@ -36961,36 +37410,14 @@ components: unknown: 7 is_malware_detected: true package_file: package_file - version: version tags: tags properties: - content_type: - description: "A custom content/media (also known as MIME) type to be sent\ - \ when downloading this file. By default Cloudsmith will attempt to detect\ - \ the type, but if you need to override it, you can specify it here." - maxLength: 64 - minLength: 1 - nullable: true - title: Content/Media Type - type: string - description: - description: A textual description of this package. - maxLength: 12288 - nullable: true - title: Description - type: string is_malware_detected: description: Whether the package has been detected as containing malware. Requires Ultra plan. readOnly: true title: Is malware detected type: boolean - name: - description: The name of this package. - maxLength: 200 - nullable: true - title: Name - type: string package_file: description: The primary file for the package. minLength: 1 @@ -37002,12 +37429,6 @@ components: \ as a duplicate." title: Republish type: boolean - summary: - description: A one-liner synopsis of this package. - maxLength: 255 - nullable: true - title: Summary - type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -37015,18 +37436,12 @@ components: nullable: true title: Tags type: string - version: - description: The raw version for this package. - maxLength: 255 - nullable: true - title: Version - type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: - package_file type: object - RawPackageUpload: + PythonPackageUpload: example: architectures: - name: name @@ -37207,8 +37622,8 @@ components: type: string description: description: A textual description of this package. - maxLength: 12288 nullable: true + readOnly: true title: Description type: string display_name: @@ -37356,8 +37771,8 @@ components: type: string name: description: The name of this package. - maxLength: 200 nullable: true + readOnly: true title: Name type: string namespace: @@ -37561,8 +37976,8 @@ components: type: string summary: description: A one-liner synopsis of this package. - maxLength: 255 nullable: true + readOnly: true title: Summary type: string sync_finished_at: @@ -37621,8 +38036,8 @@ components: type: string version: description: The raw version for this package. - maxLength: 255 nullable: true + readOnly: true title: Version type: string version_orig: @@ -37637,9 +38052,13 @@ components: title: Vulnerability scan results url type: string type: object - RpmPackageUploadRequest: + RawPackageUploadRequest: example: + summary: summary + content_type: content_type republish: true + name: name + description: description vulnerability_counts: high: 6 total: 2 @@ -37648,15 +38067,25 @@ components: low: 1 medium: 5 unknown: 7 - distribution: distribution is_malware_detected: true package_file: package_file + version: version tags: tags properties: - distribution: - description: The distribution to store the package for. + content_type: + description: "A custom content/media (also known as MIME) type to be sent\ + \ when downloading this file. By default Cloudsmith will attempt to detect\ + \ the type, but if you need to override it, you can specify it here." + maxLength: 64 minLength: 1 - title: Distribution + nullable: true + title: Content/Media Type + type: string + description: + description: A textual description of this package. + maxLength: 12288 + nullable: true + title: Description type: string is_malware_detected: description: Whether the package has been detected as containing malware. @@ -37664,6 +38093,12 @@ components: readOnly: true title: Is malware detected type: boolean + name: + description: The name of this package. + maxLength: 200 + nullable: true + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 @@ -37675,6 +38110,12 @@ components: \ as a duplicate." title: Republish type: boolean + summary: + description: A one-liner synopsis of this package. + maxLength: 255 + nullable: true + title: Summary + type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -37682,13 +38123,18 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + nullable: true + title: Version + type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: - - distribution - package_file type: object - RpmPackageUpload: + RawPackageUpload: example: architectures: - name: name @@ -37869,8 +38315,8 @@ components: type: string description: description: A textual description of this package. + maxLength: 12288 nullable: true - readOnly: true title: Description type: string display_name: @@ -38018,8 +38464,8 @@ components: type: string name: description: The name of this package. + maxLength: 200 nullable: true - readOnly: true title: Name type: string namespace: @@ -38223,8 +38669,8 @@ components: type: string summary: description: A one-liner synopsis of this package. + maxLength: 255 nullable: true - readOnly: true title: Summary type: string sync_finished_at: @@ -38283,8 +38729,8 @@ components: type: string version: description: The raw version for this package. + maxLength: 255 nullable: true - readOnly: true title: Version type: string version_orig: @@ -38299,7 +38745,7 @@ components: title: Vulnerability scan results url type: string type: object - RubyPackageUploadRequest: + RpmPackageUploadRequest: example: republish: true vulnerability_counts: @@ -38310,10 +38756,16 @@ components: low: 1 medium: 5 unknown: 7 + distribution: distribution is_malware_detected: true package_file: package_file tags: tags properties: + distribution: + description: The distribution to store the package for. + minLength: 1 + title: Distribution + type: string is_malware_detected: description: Whether the package has been detected as containing malware. Requires Ultra plan. @@ -38341,9 +38793,10 @@ components: vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: + - distribution - package_file type: object - RubyPackageUpload: + RpmPackageUpload: example: architectures: - name: name @@ -38954,9 +39407,9 @@ components: title: Vulnerability scan results url type: string type: object - SwiftPackageUploadRequest: + RubyPackageUploadRequest: example: - author_name: author_name + republish: true vulnerability_counts: high: 6 total: 2 @@ -38967,74 +39420,25 @@ components: unknown: 7 is_malware_detected: true package_file: package_file - version: version - readme_url: https://openapi-generator.tech tags: tags - republish: true - scope: scope - author_org: author_org - name: name - repository_url: https://openapi-generator.tech - license_url: https://openapi-generator.tech 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 is_malware_detected: description: Whether the package has been detected as containing malware. Requires Ultra plan. readOnly: true title: Is malware detected type: boolean - license_url: - description: The license URL of this package. - format: uri - maxLength: 200 - nullable: true - title: License url - type: string - name: - description: The name of this package. - maxLength: 200 - title: Name - type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string - readme_url: - description: The URL of the readme for the package. - format: uri - minLength: 1 - title: Readme url - type: string - repository_url: - description: The URL of the SCM repository for the package. - format: uri - minLength: 1 - title: Repository url - type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ \ as a duplicate." title: Republish type: boolean - scope: - description: A scope provides a namespace for related packages within the - package registry. - maxLength: 39 - minLength: 1 - title: Scope - type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -39042,20 +39446,12 @@ components: nullable: true title: Tags type: string - version: - description: The raw version for this package. - maxLength: 255 - title: Version - type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: - - name - package_file - - scope - - version type: object - SwiftPackageUpload: + RubyPackageUpload: example: architectures: - name: name @@ -39101,7 +39497,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: @@ -39134,9 +39529,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 @@ -39161,7 +39554,6 @@ components: downloads: 0 subtype: subtype uploader: uploader - scope: scope self_webapp_url: self_webapp_url signature_url: signature_url tags_automatic: "{}" @@ -39190,7 +39582,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 @@ -39207,16 +39598,6 @@ components: $ref: '#/components/schemas/Architecture' readOnly: true type: array - author_name: - description: The name of the author of the package. - minLength: 1 - title: Author name - type: string - author_org: - description: The organization of the author. - minLength: 1 - title: Author org - type: string cdn_url: nullable: true readOnly: true @@ -39398,16 +39779,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 + nullable: true + readOnly: true title: Name type: string namespace: @@ -39456,12 +39831,6 @@ components: readOnly: true title: Raw license type: string - readme_url: - description: The URL of the readme for the package. - format: uri - minLength: 1 - title: Readme url - type: string release: description: The release of the package version (if any). nullable: true @@ -39474,18 +39843,10 @@ components: title: Repository type: string repository_url: - description: The URL of the SCM repository for the package. format: uri - minLength: 1 + readOnly: true title: Repository url type: string - scope: - description: A scope provides a namespace for related packages within the - package registry. - maxLength: 39 - minLength: 1 - title: Scope - type: string security_scan_completed_at: description: The datetime the security scanning was completed. format: date-time @@ -39685,7 +40046,8 @@ components: type: string version: description: The raw version for this package. - maxLength: 255 + nullable: true + readOnly: true title: Version type: string version_orig: @@ -39699,14 +40061,10 @@ components: readOnly: true title: Vulnerability scan results url type: string - required: - - name - - scope - - version type: object - TerraformPackageUploadRequest: + SwiftPackageUploadRequest: example: - republish: true + author_name: author_name vulnerability_counts: high: 6 total: 2 @@ -39717,25 +40075,74 @@ components: unknown: 7 is_malware_detected: true package_file: package_file + version: version + readme_url: https://openapi-generator.tech tags: tags + republish: true + scope: scope + author_org: author_org + name: name + repository_url: https://openapi-generator.tech + license_url: https://openapi-generator.tech 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 is_malware_detected: description: Whether the package has been detected as containing malware. Requires Ultra plan. readOnly: true title: Is malware detected type: boolean + license_url: + description: The license URL of this package. + format: uri + maxLength: 200 + nullable: true + title: License url + type: string + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string + readme_url: + description: The URL of the readme for the package. + format: uri + minLength: 1 + title: Readme url + type: string + repository_url: + description: The URL of the SCM repository for the package. + format: uri + minLength: 1 + title: Repository url + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ \ as a duplicate." title: Republish type: boolean + scope: + description: A scope provides a namespace for related packages within the + package registry. + maxLength: 39 + minLength: 1 + title: Scope + type: string tags: description: A comma-separated values list of tags to add to the package. maxLength: 1024 @@ -39743,12 +40150,20 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: + - name - package_file + - scope + - version type: object - TerraformPackageUpload: + SwiftPackageUpload: example: architectures: - name: name @@ -39794,6 +40209,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: @@ -39826,7 +40242,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 @@ -39851,6 +40269,7 @@ components: downloads: 0 subtype: subtype uploader: uploader + scope: scope self_webapp_url: self_webapp_url signature_url: signature_url tags_automatic: "{}" @@ -39879,6 +40298,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 @@ -39895,6 +40315,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 @@ -40076,10 +40506,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: @@ -40128,6 +40564,12 @@ components: readOnly: true title: Raw license type: string + readme_url: + description: The URL of the readme for the package. + format: uri + minLength: 1 + title: Readme url + type: string release: description: The release of the package version (if any). nullable: true @@ -40140,10 +40582,18 @@ components: title: Repository type: string repository_url: + description: The URL of the SCM repository for the package. format: uri - readOnly: true + minLength: 1 title: Repository url type: string + scope: + description: A scope provides a namespace for related packages within the + package registry. + maxLength: 39 + minLength: 1 + title: Scope + type: string security_scan_completed_at: description: The datetime the security scanning was completed. format: date-time @@ -40343,8 +40793,7 @@ components: type: string version: description: The raw version for this package. - nullable: true - readOnly: true + maxLength: 255 title: Version type: string version_orig: @@ -40358,12 +40807,14 @@ components: readOnly: true title: Vulnerability scan results url type: string + required: + - name + - scope + - version type: object - VagrantPackageUploadRequest: + TerraformPackageUploadRequest: example: republish: true - provider: provider - name: name vulnerability_counts: high: 6 total: 2 @@ -40374,7 +40825,6 @@ components: unknown: 7 is_malware_detected: true package_file: package_file - version: version tags: tags properties: is_malware_detected: @@ -40383,21 +40833,11 @@ components: readOnly: true title: Is malware detected type: boolean - name: - description: The name of this package. - maxLength: 200 - title: Name - type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string - provider: - description: The virtual machine provider for the box. - minLength: 1 - title: Provider - type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -40411,20 +40851,12 @@ components: nullable: true title: Tags type: string - version: - description: The raw version for this package. - maxLength: 255 - title: Version - type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: - - name - package_file - - provider - - version type: object - VagrantPackageUpload: + TerraformPackageUpload: example: architectures: - name: name @@ -40525,7 +40957,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 @@ -40755,7 +41186,8 @@ components: type: string name: description: The name of this package. - maxLength: 200 + nullable: true + readOnly: true title: Name type: string namespace: @@ -40797,11 +41229,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 @@ -41024,7 +41451,8 @@ components: type: string version: description: The raw version for this package. - maxLength: 255 + nullable: true + readOnly: true title: Version type: string version_orig: @@ -41038,14 +41466,12 @@ components: readOnly: true title: Vulnerability scan results url type: string - required: - - name - - provider - - version type: object - VsxPackageUploadRequest: + VagrantPackageUploadRequest: example: republish: true + provider: provider + name: name vulnerability_counts: high: 6 total: 2 @@ -41056,6 +41482,7 @@ components: unknown: 7 is_malware_detected: true package_file: package_file + version: version tags: tags properties: is_malware_detected: @@ -41064,11 +41491,21 @@ components: readOnly: true title: Is malware detected type: boolean + name: + description: The name of this package. + maxLength: 200 + title: Name + type: string package_file: description: The primary file for the package. minLength: 1 title: Package file type: string + provider: + description: The virtual machine provider for the box. + minLength: 1 + title: Provider + type: string republish: description: "If true, the uploaded package will overwrite any others with\ \ the same attributes (e.g. same version); otherwise, it will be flagged\ @@ -41082,12 +41519,20 @@ components: nullable: true title: Tags type: string + version: + description: The raw version for this package. + maxLength: 255 + title: Version + type: string vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: + - name - package_file + - provider + - version type: object - VsxPackageUpload: + VagrantPackageUpload: example: architectures: - name: name @@ -41188,6 +41633,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 @@ -41417,8 +41863,7 @@ components: type: string name: description: The name of this package. - nullable: true - readOnly: true + maxLength: 200 title: Name type: string namespace: @@ -41460,6 +41905,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 @@ -41682,8 +42132,7 @@ components: type: string version: description: The raw version for this package. - nullable: true - readOnly: true + maxLength: 255 title: Version type: string version_orig: @@ -41697,8 +42146,56 @@ components: readOnly: true title: Vulnerability scan results url type: string + required: + - name + - provider + - version type: object - PackageDetail: + VsxPackageUploadRequest: + example: + republish: true + vulnerability_counts: + high: 6 + total: 2 + malware: 5 + critical: 0 + low: 1 + medium: 5 + unknown: 7 + is_malware_detected: true + package_file: package_file + tags: tags + properties: + is_malware_detected: + description: Whether the package has been detected as containing malware. + Requires Ultra plan. + readOnly: true + title: Is malware detected + type: boolean + package_file: + description: The primary file for the package. + minLength: 1 + title: Package file + type: string + republish: + description: "If true, the uploaded package will overwrite any others with\ + \ the same attributes (e.g. same version); otherwise, it will be flagged\ + \ as a duplicate." + title: Republish + type: boolean + tags: + description: A comma-separated values list of tags to add to the package. + maxLength: 1024 + minLength: 1 + nullable: true + title: Tags + type: string + vulnerability_counts: + $ref: '#/components/schemas/WebOSVSeverityCounts' + required: + - package_file + type: object + VsxPackageUpload: example: architectures: - name: name @@ -41706,7 +42203,6 @@ 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 @@ -41715,7 +42211,6 @@ components: 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 @@ -41733,7 +42228,6 @@ components: slug_perm: slug_perm spdx_license: spdx_license version: version - tags: "{}" is_resyncable: true license: license store_path: store_path @@ -41913,13 +42407,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' @@ -41946,12 +42433,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 @@ -42265,11 +42746,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\ @@ -42330,42 +42806,7 @@ components: title: Vulnerability scan results url type: string type: object - PackageCopyRequest: - example: - republish: true - destination: destination - vulnerability_counts: - high: 6 - total: 2 - malware: 5 - critical: 0 - low: 1 - medium: 5 - unknown: 7 - is_malware_detected: true - properties: - destination: - description: The name of the destination repository without the namespace. - minLength: 1 - title: Destination - type: string - is_malware_detected: - description: Whether the package has been detected as containing malware. - Requires Ultra plan. - readOnly: true - title: Is malware detected - type: boolean - 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 - vulnerability_counts: - $ref: '#/components/schemas/WebOSVSeverityCounts' - required: - - destination - type: object - PackageCopy: + PackageDetail: example: architectures: - name: name @@ -42373,6 +42814,7 @@ 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 @@ -42612,6 +43054,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 @@ -42761,7 +43209,6 @@ components: title: Release type: string repository: - description: The repository the package will be copied to. minLength: 1 readOnly: true title: Repository @@ -42991,98 +43438,9 @@ components: 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: + republish: true destination: destination vulnerability_counts: high: 6 @@ -43105,12 +43463,17 @@ components: readOnly: true title: Is malware detected type: boolean + 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 vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' required: - destination type: object - PackageMove: + PackageCopy: example: architectures: - name: name @@ -43506,7 +43869,7 @@ components: title: Release 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 @@ -43736,10 +44099,99 @@ components: 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: + 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: + example: + destination: destination vulnerability_counts: high: 6 total: 2 @@ -43750,25 +44202,23 @@ components: unknown: 7 is_malware_detected: true properties: + destination: + description: The name of the destination repository without the namespace. + minLength: 1 + title: Destination + type: string is_malware_detected: description: Whether the package has been detected as containing malware. Requires Ultra plan. readOnly: true title: Is malware detected type: boolean - 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 vulnerability_counts: $ref: '#/components/schemas/WebOSVSeverityCounts' + required: + - destination type: object - PackageQuarantine: + PackageMove: example: architectures: - name: name @@ -43777,6 +44227,7 @@ components: description: description security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 + release: release is_malware_detected: true package_type: 5 repository: repository @@ -44156,7 +44607,14 @@ 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 repository: + description: The repository the package will be moved to. minLength: 1 readOnly: true title: Repository @@ -44386,7 +44844,39 @@ components: title: Vulnerability scan results url type: string type: object - PackageResync: + PackageQuarantineRequest: + example: + restore: true + release: true + vulnerability_counts: + high: 6 + total: 2 + malware: 5 + critical: 0 + low: 1 + medium: 5 + unknown: 7 + is_malware_detected: true + properties: + is_malware_detected: + description: Whether the package has been detected as containing malware. + Requires Ultra plan. + readOnly: true + title: Is malware detected + type: boolean + 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 + vulnerability_counts: + $ref: '#/components/schemas/WebOSVSeverityCounts' + type: object + PackageQuarantine: example: architectures: - name: name @@ -44395,7 +44885,6 @@ components: description: description security_scan_status_updated_at: 2000-01-23T04:56:07.000+00:00 checksum_sha256: checksum_sha256 - release: release is_malware_detected: true package_type: 5 repository: repository @@ -44775,12 +45264,6 @@ 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 repository: minLength: 1 readOnly: true @@ -45011,33 +45494,658 @@ components: 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 + 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 + freeable_storage: 1 + is_security_scannable: true + security_scan_started_at: 2000-01-23T04:56:07.000+00:00 + security_scan_status: Awaiting Security Scan + indexed: true + is_deleteable: true + format: format + status_str: status_str + version_orig: version_orig + namespace_url: https://openapi-generator.tech + display_name: display_name + 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 + vulnerability_counts: + high: 6 + total: 2 + malware: 5 + critical: 0 + low: 1 + medium: 5 + unknown: 7 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 + 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 + 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_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 + type: boolean + is_quarantinable: + readOnly: true + title: Is quarantinable + type: boolean + is_quarantined: + readOnly: true + title: Is quarantined + type: boolean + is_resyncable: + readOnly: true + title: Is resyncable + type: boolean + is_security_scannable: + readOnly: true + title: Is security scannable + type: boolean + is_sync_awaiting: + readOnly: true + title: Is sync awaiting + type: boolean + is_sync_completed: + readOnly: true + title: Is sync completed + type: boolean + is_sync_failed: + readOnly: true + title: Is sync failed + type: boolean + is_sync_in_flight: + readOnly: true + title: Is sync in flight + type: boolean + is_sync_in_progress: + readOnly: true + title: Is sync in progress + type: boolean + license: + description: The license of this package. + nullable: true + readOnly: true + title: License + type: string + name: + description: The name of this package. + 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 + repository: + minLength: 1 + readOnly: true + title: Repository + type: string + repository_url: + format: uri + readOnly: true + title: Repository url + type: string + security_scan_completed_at: + description: The datetime the security scanning was completed. + format: date-time + nullable: true + readOnly: true + title: Security scan completed at + type: string + security_scan_started_at: + description: The datetime the security scanning was started. + format: date-time + nullable: true + readOnly: true + title: Security scan started at + type: string + security_scan_status: + default: Awaiting Security Scan + enum: + - Awaiting Security Scan + - Security Scanning in Progress + - Scan Detected Vulnerabilities + - Scan Detected No Vulnerabilities + - Security Scanning Disabled + - Security Scanning Failed + - Security Scanning Skipped + - Security Scanning Not Supported + nullable: true + readOnly: true + title: Security scan status + type: string + security_scan_status_updated_at: + description: The datetime the security scanning status was updated. + format: date-time + nullable: true + readOnly: true + title: Security scan status updated at + type: string + self_html_url: + minLength: 1 + readOnly: true + title: Self html url + type: string + self_url: + format: uri + readOnly: true + title: Self url + type: string + self_webapp_url: + minLength: 1 + readOnly: true + title: Self webapp url + type: string + signature_url: + nullable: true + readOnly: true + title: Signature url + type: string + size: + description: The calculated size of the package. + readOnly: true + title: Size + type: integer + slug: + description: The public unique identifier for the package. + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug + type: string + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm + type: string + spdx_license: + description: The SPDX license identifier for this package. + minLength: 1 + nullable: true + readOnly: true + title: Spdx license + type: string + stage: + description: The synchronisation (in progress) stage of the package. + readOnly: true + title: Stage + type: integer + stage_str: + readOnly: true + title: Stage str + type: string + stage_updated_at: + description: The datetime the package stage was updated at. + format: date-time + readOnly: true + title: Stage updated at + type: string + status: + description: The synchronisation status of the package. + readOnly: true + title: Status + type: integer + status_reason: + description: A textual description for the synchronous status reason (if + any + nullable: true + readOnly: true + title: Status reason + type: string + status_str: + readOnly: true + title: Status str + type: string + status_updated_at: + description: The datetime the package status was updated at. + format: date-time + readOnly: true + title: Status updated at + type: string + status_url: + format: uri + readOnly: true + title: Status url + type: string + store_path: + description: "Absolute store path for the package, including store hash\ + \ and name." + minLength: 1 + nullable: true + readOnly: true + title: Store path + type: string + subtype: + readOnly: true + title: Subtype + type: string + summary: + description: A one-liner synopsis of this package. + nullable: true + readOnly: true + title: Summary + type: string + sync_finished_at: + description: The datetime the package sync was finished at. + format: date-time + nullable: true + readOnly: true + title: Sync finished at + type: string + sync_progress: + description: Synchronisation progress (from 0-100) + readOnly: true + title: Sync progress + type: integer + tags: + 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_counts: + $ref: '#/components/schemas/WebOSVSeverityCounts' + vulnerability_scan_results_url: + 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 @@ -49777,23 +50885,355 @@ components: minimum: 1 title: Priority type: integer - rsa_key_url: - description: "When provided, Cloudsmith will fetch and validate the RSA\ - \ public key at this URL and use it to verify package signatures from\ - \ this upstream." - format: uri - maxLength: 254 - nullable: true - title: RSA Key URL + rsa_key_url: + description: "When provided, Cloudsmith will fetch and validate the RSA\ + \ public key at this URL and use it to verify package signatures from\ + \ this upstream." + format: uri + maxLength: 254 + nullable: true + title: RSA Key URL + type: string + rsa_verification: + default: Allow All + description: The RSA signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Rsa verification + 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 + AlpineUpstreamRequestPatch: + example: + is_active: true + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + extra_value_2: extra_value_2 + rsa_key_url: https://openapi-generator.tech + extra_header_2: extra_header_2 + rsa_verification: Allow All + extra_header_1: extra_header_1 + mode: Proxy Only + verify_ssl: true + auth_username: auth_username + name: name + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + mode: + default: Proxy Only + description: "The mode that this upstream should operate in. Upstream sources\ + \ can be used to proxy resolved packages, as well as operate in a proxy/cache\ + \ or cache only mode." + enum: + - Proxy Only + - Cache and Proxy + 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 + rsa_key_url: + description: "When provided, Cloudsmith will fetch and validate the RSA\ + \ public key at this URL and use it to verify package signatures from\ + \ this upstream." + format: uri + maxLength: 254 + nullable: true + title: RSA Key URL + type: string + rsa_verification: + default: Allow All + description: The RSA signature verification mode for this upstream. + enum: + - Allow All + - Warn on Invalid + - Reject Invalid + title: Rsa verification + 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 + CargoUpstream: + example: + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + can_reindex: true + available: true + created_at: 2000-01-23T04:56:07.000+00:00 + auth_mode: None + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + updated_at: 2000-01-23T04:56:07.000+00:00 + auth_username: auth_username + has_failed_signature_verification: true + pending_validation: true + index_status: index_status + is_active: true + disable_reason: N/A + extra_value_1: extra_value_1 + priority: 19750 + slug_perm: slug_perm + extra_value_2: extra_value_2 + index_package_count: 0 + disable_reason_text: disable_reason_text + verify_ssl: true + last_indexed: last_indexed + name: name + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 + nullable: true + title: Secret + type: string + auth_username: + description: Username to provide with requests to upstream. + maxLength: 64 + nullable: true + title: Username + type: string + available: + description: Whether the upstream is available for use. + readOnly: true + title: Available + type: boolean + can_reindex: + description: Whether the upstream can be reindexed. + readOnly: true + title: Can reindex + type: boolean + created_at: + description: The datetime the upstream source was created. + format: date-time + readOnly: true + title: Created at + type: string + disable_reason: + default: N/A + enum: + - N/A + - Upstream points to its own repository + - Missing upstream source + - RSA key did not verify the upstream's APKINDEX signature + - Upstream was disabled by request of user + readOnly: true + title: Disable reason + type: string + disable_reason_text: + description: Human-readable explanation of why this upstream is disabled + readOnly: true + title: Disable reason text + type: string + extra_header_1: + description: "The key for extra header #1 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #1" + type: string + extra_header_2: + description: "The key for extra header #2 to send to upstream." + maxLength: 64 + nullable: true + pattern: "^[-\\w]+$" + title: "Header #2" + type: string + extra_value_1: + description: "The value for extra header #1 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #1" + type: string + extra_value_2: + description: "The value for extra header #2 to send to upstream. This is\ + \ stored as plaintext, and is NOT encrypted." + maxLength: 128 + nullable: true + pattern: "^[^\\n\\r]+$" + title: "Value #2" + type: string + has_failed_signature_verification: + description: Whether the upstream has failed signature verification. + readOnly: true + title: Has failed signature verification + type: boolean + index_package_count: + description: The number of packages available in this upstream source + nullable: true + readOnly: true + title: Index package count + type: integer + index_status: + description: The current indexing status of this upstream source + nullable: true + readOnly: true + title: Index status + type: string + is_active: + description: Whether or not this upstream is active and ready for requests. + title: Is active + type: boolean + last_indexed: + description: The last time this upstream source was indexed + nullable: true + readOnly: true + title: Last indexed + type: string + mode: + default: Proxy Only + description: "The mode that this upstream should operate in. Upstream sources\ + \ can be used to proxy resolved packages, as well as operate in a proxy/cache\ + \ or cache only mode." + enum: + - Proxy Only + - Cache and Proxy + - Cache Only + title: Mode + type: string + name: + description: A descriptive name for this upstream source. A shortened version + of this name will be used for tagging cached packages retrieved from this + upstream. + maxLength: 64 + minLength: 1 + pattern: "^\\w[\\w \\-'\\.\\/()]+$" + title: Name + type: string + pending_validation: + description: "When true, this upstream source is pending validation." + readOnly: true + title: Pending validation + type: boolean + priority: + description: "Upstream sources are selected for resolving requests by sequential\ + \ order (1..n), followed by creation date." + maximum: 32767 + minimum: 1 + title: Priority + type: integer + slug_perm: + format: slug + minLength: 1 + pattern: "^[-a-zA-Z0-9_]+$" + readOnly: true + title: Slug perm type: string - rsa_verification: - default: Allow All - description: The RSA signature verification mode for this upstream. - enum: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Rsa verification + 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 @@ -49814,7 +51254,7 @@ components: - name - upstream_url type: object - AlpineUpstreamRequestPatch: + CargoUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -49823,9 +51263,7 @@ components: extra_value_1: extra_value_1 priority: 2624 extra_value_2: extra_value_2 - rsa_key_url: https://openapi-generator.tech extra_header_2: extra_header_2 - rsa_verification: Allow All extra_header_1: extra_header_1 mode: Proxy Only verify_ssl: true @@ -49894,6 +51332,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -49912,24 +51351,122 @@ components: minimum: 1 title: Priority type: integer - rsa_key_url: - description: "When provided, Cloudsmith will fetch and validate the RSA\ - \ public key at this URL and use it to verify package signatures from\ - \ this upstream." + upstream_url: + description: 'The URL for this upstream source. This must be a fully qualified + URL including any path elements required to reach the root of the repository. ' format: uri - maxLength: 254 + 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 + CargoUpstreamRequestPatch: + example: + is_active: true + upstream_url: https://openapi-generator.tech + auth_secret: auth_secret + auth_mode: None + extra_value_1: extra_value_1 + priority: 2624 + extra_value_2: extra_value_2 + extra_header_2: extra_header_2 + extra_header_1: extra_header_1 + mode: Proxy Only + verify_ssl: true + auth_username: auth_username + name: name + properties: + auth_mode: + default: None + description: 'The authentication mode to use when accessing this upstream. ' + enum: + - None + - Username and Password + title: Auth mode + type: string + auth_secret: + description: Secret to provide with requests to upstream. + maxLength: 4096 nullable: true - title: RSA Key URL + title: Secret type: string - rsa_verification: - default: Allow All - description: The RSA signature verification mode for this upstream. + 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: - - Allow All - - Warn on Invalid - - Reject Invalid - title: Rsa verification + - 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. ' @@ -49946,7 +51483,7 @@ components: title: Verify SSL Certificates type: boolean type: object - CargoUpstream: + ComposerUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -50146,7 +51683,7 @@ components: - name - upstream_url type: object - CargoUpstreamRequest: + ComposerUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -50262,7 +51799,7 @@ components: - name - upstream_url type: object - CargoUpstreamRequestPatch: + ComposerUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -50375,7 +51912,7 @@ components: title: Verify SSL Certificates type: boolean type: object - ComposerUpstream: + CondaUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -50575,7 +52112,7 @@ components: - name - upstream_url type: object - ComposerUpstreamRequest: + CondaUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -50691,7 +52228,7 @@ components: - name - upstream_url type: object - ComposerUpstreamRequestPatch: + CondaUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -50804,7 +52341,7 @@ components: title: Verify SSL Certificates type: boolean type: object - CondaUpstream: + CranUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -51004,7 +52541,7 @@ components: - name - upstream_url type: object - CondaUpstreamRequest: + CranUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -51120,7 +52657,7 @@ components: - name - upstream_url type: object - CondaUpstreamRequestPatch: + CranUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -51233,7 +52770,7 @@ components: title: Verify SSL Certificates type: boolean type: object - CranUpstream: + DartUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -51433,7 +52970,7 @@ components: - name - upstream_url type: object - CranUpstreamRequest: + DartUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -51549,7 +53086,7 @@ components: - name - upstream_url type: object - CranUpstreamRequestPatch: + DartUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -51662,21 +53199,27 @@ components: title: Verify SSL Certificates type: boolean type: object - DartUpstream: + DebUpstream: 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 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 @@ -51684,11 +53227,16 @@ components: priority: 19750 slug_perm: slug_perm extra_value_2: extra_value_2 + upstream_distribution: upstream_distribution index_package_count: 0 + component: component disable_reason_text: disable_reason_text verify_ssl: true last_indexed: last_indexed name: name + distro_versions: + - distro_versions + - distro_versions properties: auth_mode: default: None @@ -51720,6 +53268,12 @@ components: readOnly: true title: Can reindex type: boolean + component: + description: The component to fetch from the upstream + maxLength: 64 + minLength: 1 + title: Component + type: string created_at: description: The datetime the upstream source was created. format: date-time @@ -51742,6 +53296,15 @@ components: readOnly: true title: Disable reason text type: string + distro_versions: + description: The distribution version that packages found on this upstream + could be associated with. + items: + description: The distribution version that packages found on this upstream + could be associated with. + type: string + type: array + uniqueItems: true extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -51772,11 +53335,46 @@ 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 true, 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 @@ -51843,6 +53441,13 @@ components: readOnly: true title: Updated at 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. ' @@ -51851,6 +53456,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\ @@ -51859,24 +53475,34 @@ components: title: Verify SSL Certificates type: boolean required: + - distro_versions - name - upstream_url type: object - DartUpstreamRequest: + DebUpstreamRequest: 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 + upstream_distribution: upstream_distribution extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only + component: component verify_ssl: true auth_username: auth_username name: name + distro_versions: + - distro_versions + - distro_versions + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -51898,6 +53524,21 @@ components: nullable: true title: Username type: string + component: + description: The component to fetch from the upstream + maxLength: 64 + minLength: 1 + title: Component + type: string + distro_versions: + description: The distribution version that packages found on this upstream + could be associated with. + items: + description: The distribution version that packages found on this upstream + could be associated with. + type: string + type: array + uniqueItems: true extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -51928,6 +53569,37 @@ 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 true, 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 @@ -51959,6 +53631,13 @@ 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_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. ' @@ -51975,24 +53654,34 @@ components: title: Verify SSL Certificates type: boolean required: + - distro_versions - name - upstream_url type: object - DartUpstreamRequestPatch: + DebUpstreamRequestPatch: 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 + upstream_distribution: upstream_distribution extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only + component: component verify_ssl: true auth_username: auth_username name: name + distro_versions: + - distro_versions + - distro_versions + gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -52014,6 +53703,21 @@ components: nullable: true title: Username type: string + component: + description: The component to fetch from the upstream + maxLength: 64 + minLength: 1 + title: Component + type: string + distro_versions: + description: The distribution version that packages found on this upstream + could be associated with. + items: + description: The distribution version that packages found on this upstream + could be associated with. + type: string + type: array + uniqueItems: true extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -52044,6 +53748,37 @@ 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 true, 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 @@ -52075,6 +53810,13 @@ 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_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. ' @@ -52091,44 +53833,29 @@ components: title: Verify SSL Certificates type: boolean type: object - DebUpstream: + DockerUpstream: example: - gpg_key_url: https://openapi-generator.tech + 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 - include_sources: true - gpg_verification: Allow All - verification_status: Unknown + 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 - 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 - extra_value_1: extra_value_1 - priority: 19750 - slug_perm: slug_perm - extra_value_2: extra_value_2 - upstream_distribution: upstream_distribution - index_package_count: 0 - component: component - disable_reason_text: disable_reason_text - verify_ssl: true - last_indexed: last_indexed - name: name - distro_versions: - - distro_versions - - distro_versions properties: auth_mode: default: None @@ -52136,6 +53863,7 @@ components: enum: - None - Username and Password + - Certificate and Key title: Auth mode type: string auth_secret: @@ -52155,17 +53883,6 @@ components: readOnly: true title: Available type: boolean - can_reindex: - description: Whether the upstream can be reindexed. - readOnly: true - title: Can reindex - type: boolean - component: - description: The component to fetch from the upstream - maxLength: 64 - minLength: 1 - title: Component - type: string created_at: description: The datetime the upstream source was created. format: date-time @@ -52188,15 +53905,6 @@ components: readOnly: true title: Disable reason text type: string - distro_versions: - description: The distribution version that packages found on this upstream - could be associated with. - items: - description: The distribution version that packages found on this upstream - could be associated with. - type: string - type: array - uniqueItems: true extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -52227,68 +53935,15 @@ 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 true, 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 - 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\ @@ -52297,7 +53952,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -52333,13 +53987,6 @@ components: readOnly: true title: Updated at 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. ' @@ -52348,17 +53995,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\ @@ -52367,41 +54003,46 @@ components: title: Verify SSL Certificates type: boolean required: - - distro_versions - name - upstream_url type: object - DebUpstreamRequest: + DockerUpstreamRequest: example: + auth_certificate_key: auth_certificate_key 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 - upstream_distribution: upstream_distribution extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only - component: component + auth_certificate: auth_certificate verify_ssl: true auth_username: auth_username name: name - distro_versions: - - distro_versions - - distro_versions - gpg_key_inline: gpg_key_inline 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: @@ -52416,21 +54057,6 @@ components: nullable: true title: Username type: string - component: - description: The component to fetch from the upstream - maxLength: 64 - minLength: 1 - title: Component - type: string - distro_versions: - description: The distribution version that packages found on this upstream - could be associated with. - items: - description: The distribution version that packages found on this upstream - could be associated with. - type: string - type: array - uniqueItems: true extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -52461,37 +54087,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 true, 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 @@ -52504,7 +54099,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -52523,13 +54117,6 @@ 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_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. ' @@ -52546,41 +54133,46 @@ components: title: Verify SSL Certificates type: boolean required: - - distro_versions - name - upstream_url type: object - DebUpstreamRequestPatch: + DockerUpstreamRequestPatch: example: + auth_certificate_key: auth_certificate_key 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 - upstream_distribution: upstream_distribution extra_header_2: extra_header_2 extra_header_1: extra_header_1 mode: Proxy Only - component: component + auth_certificate: auth_certificate verify_ssl: true auth_username: auth_username name: name - distro_versions: - - distro_versions - - distro_versions - gpg_key_inline: gpg_key_inline 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: @@ -52595,21 +54187,6 @@ components: nullable: true title: Username type: string - component: - description: The component to fetch from the upstream - maxLength: 64 - minLength: 1 - title: Component - type: string - distro_versions: - description: The distribution version that packages found on this upstream - could be associated with. - items: - description: The distribution version that packages found on this upstream - could be associated with. - type: string - type: array - uniqueItems: true extra_header_1: description: "The key for extra header #1 to send to upstream." maxLength: 64 @@ -52640,37 +54217,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 true, 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 @@ -52683,7 +54229,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -52702,13 +54247,6 @@ 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_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. ' @@ -52725,29 +54263,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 @@ -52755,7 +54298,7 @@ components: enum: - None - Username and Password - - Certificate and Key + - Token title: Auth mode type: string auth_secret: @@ -52775,6 +54318,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 @@ -52832,10 +54380,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\ @@ -52844,6 +54410,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -52879,6 +54446,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. ' @@ -52898,9 +54475,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 @@ -52911,30 +54487,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: @@ -52991,6 +54555,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53009,6 +54574,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. ' @@ -53028,9 +54603,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 @@ -53041,30 +54615,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: @@ -53121,6 +54683,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53139,6 +54702,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. ' @@ -53155,7 +54728,7 @@ components: title: Verify SSL Certificates type: boolean type: object - GenericUpstream: + GoUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -53182,7 +54755,6 @@ components: verify_ssl: true last_indexed: last_indexed name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -53190,7 +54762,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -53302,7 +54873,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -53338,16 +54908,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. ' @@ -53367,7 +54927,7 @@ components: - name - upstream_url type: object - GenericUpstreamRequest: + GoUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -53382,7 +54942,6 @@ components: verify_ssl: true auth_username: auth_username name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -53390,7 +54949,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -53447,7 +55005,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -53466,16 +55023,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. ' @@ -53495,7 +55042,7 @@ components: - name - upstream_url type: object - GenericUpstreamRequestPatch: + GoUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -53510,7 +55057,6 @@ components: verify_ssl: true auth_username: auth_username name: name - upstream_prefix: upstream_prefix properties: auth_mode: default: None @@ -53518,7 +55064,6 @@ components: enum: - None - Username and Password - - Token title: Auth mode type: string auth_secret: @@ -53575,7 +55120,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -53594,16 +55138,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. ' @@ -53620,7 +55154,7 @@ components: title: Verify SSL Certificates type: boolean type: object - GoUpstream: + HelmUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -53765,6 +55299,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53819,7 +55354,7 @@ components: - name - upstream_url type: object - GoUpstreamRequest: + HelmUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -53897,6 +55432,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -53934,7 +55470,7 @@ components: - name - upstream_url type: object - GoUpstreamRequestPatch: + HelmUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54012,6 +55548,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -54046,7 +55583,7 @@ components: title: Verify SSL Certificates type: boolean type: object - HelmUpstream: + HexUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -54246,7 +55783,7 @@ components: - name - upstream_url type: object - HelmUpstreamRequest: + HexUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54362,7 +55899,7 @@ components: - name - upstream_url type: object - HelmUpstreamRequestPatch: + HexUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54475,7 +56012,7 @@ components: title: Verify SSL Certificates type: boolean type: object - HexUpstream: + HuggingfaceUpstream: example: upstream_url: https://openapi-generator.tech auth_secret: auth_secret @@ -54508,7 +56045,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: @@ -54620,7 +56157,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -54675,7 +56211,7 @@ components: - name - upstream_url type: object - HexUpstreamRequest: + HuggingfaceUpstreamRequest: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54696,7 +56232,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: @@ -54753,7 +56289,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -54791,7 +56326,7 @@ components: - name - upstream_url type: object - HexUpstreamRequestPatch: + HuggingfaceUpstreamRequestPatch: example: is_active: true upstream_url: https://openapi-generator.tech @@ -54812,7 +56347,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: @@ -54869,7 +56404,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -54904,21 +56438,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 @@ -54937,7 +56477,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: @@ -55014,6 +56554,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 @@ -55049,6 +56620,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55079,6 +56651,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 @@ -55092,6 +56675,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\ @@ -55103,13 +56697,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 @@ -55118,13 +56715,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: @@ -55169,6 +56767,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 @@ -55181,6 +56806,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55199,6 +56825,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. ' @@ -55218,13 +56855,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 @@ -55233,13 +56873,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: @@ -55284,6 +56925,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 @@ -55296,6 +56964,7 @@ components: enum: - Proxy Only - Cache and Proxy + - Cache Only title: Mode type: string name: @@ -55314,6 +56983,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. ' @@ -55330,27 +57010,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 @@ -55446,37 +57120,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 @@ -55512,7 +57155,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -55543,17 +57185,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 @@ -55567,17 +57198,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\ @@ -55589,16 +57209,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 @@ -55607,7 +57224,6 @@ components: verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -55659,33 +57275,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 @@ -55698,7 +57287,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -55717,17 +57305,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. ' @@ -55747,16 +57324,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 @@ -55765,7 +57339,6 @@ components: verify_ssl: true auth_username: auth_username name: name - gpg_key_inline: gpg_key_inline properties: auth_mode: default: None @@ -55817,33 +57390,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 @@ -55856,7 +57402,6 @@ components: enum: - Proxy Only - Cache and Proxy - - Cache Only title: Mode type: string name: @@ -55875,17 +57420,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. ' @@ -60122,6 +61656,16 @@ components: title: Verify SSL Certificates type: boolean type: object + Oidc_1: + example: + token: token + properties: + token: + description: Serialized JWT to be used for authentication. + title: Serialized JWT + type: string + title: Oidc + type: object PackageLicensePolicyViolationLogCursorPage: example: next: https://openapi-generator.tech diff --git a/api_audit_log.go b/api_audit_log.go index b1802119..42db54e2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_badges.go b/api_badges.go index c5b066b6..fe1cf64f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_broadcasts.go b/api_broadcasts.go index addb77a7..bc9e977f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_bulk_action.go b/api_bulk_action.go index 93aeca6e..9e2b138a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_distros.go b/api_distros.go index d34d6910..a46d1856 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_entitlements.go b/api_entitlements.go index 529306b8..40dcbb46 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_files.go b/api_files.go index bbaed70a..8906265f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_formats.go b/api_formats.go index 2ffffba0..bb36446c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_metrics.go b/api_metrics.go index d31fa74c..744a917f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_namespaces.go b/api_namespaces.go index d4eb2d32..30f2b284 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_openid.go b/api_openid.go new file mode 100644 index 00000000..41b4f965 --- /dev/null +++ b/api_openid.go @@ -0,0 +1,182 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + +// OpenidApiService OpenidApi service +type OpenidApiService service + +type ApiOpenidCreateRequest struct { + ctx context.Context + ApiService *OpenidApiService + owner string + data *OidcRequest +} + +func (r ApiOpenidCreateRequest) Data(data OidcRequest) ApiOpenidCreateRequest { + r.data = &data + return r +} + +func (r ApiOpenidCreateRequest) Execute() (*Oidc1, *http.Response, error) { + return r.ApiService.OpenidCreateExecute(r) +} + +/* +OpenidCreate Get a JWT token for a configured service account belonging to the requesting org. + +Get a JWT token for a configured service +account belonging to the requesting org. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @return ApiOpenidCreateRequest +*/ +func (a *OpenidApiService) OpenidCreate(ctx context.Context, owner string) ApiOpenidCreateRequest { + return ApiOpenidCreateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + } +} + +// Execute executes the request +// @return Oidc1 +func (a *OpenidApiService) OpenidCreateExecute(r ApiOpenidCreateRequest) (*Oidc1, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *Oidc1 + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenidApiService.OpenidCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/openid/{owner}/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -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 == 401 { + 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 +} diff --git a/api_orgs.go b/api_orgs.go index 9a5dbc31..1a5ea8a5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_packages.go b/api_packages.go index 2b4f7d1c..bc3a5055 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ @@ -5028,6 +5028,167 @@ func (a *PackagesApiService) PackagesUploadMcpExecute(r ApiPackagesUploadMcpRequ return localVarReturnValue, localVarHTTPResponse, nil } +type ApiPackagesUploadNixRequest struct { + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + data *NixPackageUploadRequest +} + +func (r ApiPackagesUploadNixRequest) Data(data NixPackageUploadRequest) ApiPackagesUploadNixRequest { + r.data = &data + return r +} + +func (r ApiPackagesUploadNixRequest) Execute() (*NixPackageUpload, *http.Response, error) { + return r.ApiService.PackagesUploadNixExecute(r) +} + +/* +PackagesUploadNix Create a new Nix package + +Create a new Nix package + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param repo + @return ApiPackagesUploadNixRequest +*/ +func (a *PackagesApiService) PackagesUploadNix(ctx context.Context, owner string, repo string) ApiPackagesUploadNixRequest { + return ApiPackagesUploadNixRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + repo: repo, + } +} + +// Execute executes the request +// @return NixPackageUpload +func (a *PackagesApiService) PackagesUploadNixExecute(r ApiPackagesUploadNixRequest) (*NixPackageUpload, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NixPackageUpload + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesUploadNix") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/packages/{owner}/{repo}/upload/nix/" + localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"repo"+"}", url.PathEscape(parameterValueToString(r.repo, "repo")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.data + if r.ctx != nil { + // API Key Authentication + if auth, ok := r.ctx.Value(ContextAPIKeys).(map[string]APIKey); ok { + if apiKey, ok := auth["apikey"]; ok { + var key string + if apiKey.Prefix != "" { + key = apiKey.Prefix + " " + apiKey.Key + } else { + key = apiKey.Key + } + localVarHeaderParams["X-Api-Key"] = key + } + } + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 404 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 422 { + var v ErrorDetail + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiPackagesUploadNpmRequest struct { ctx context.Context ApiService *PackagesApiService @@ -9499,6 +9660,156 @@ func (a *PackagesApiService) PackagesValidateUploadMcpExecute(r ApiPackagesValid return localVarHTTPResponse, nil } +type ApiPackagesValidateUploadNixRequest struct { + ctx context.Context + ApiService *PackagesApiService + owner string + repo string + data *NixPackageUploadRequest +} + +func (r ApiPackagesValidateUploadNixRequest) Data(data NixPackageUploadRequest) ApiPackagesValidateUploadNixRequest { + r.data = &data + return r +} + +func (r ApiPackagesValidateUploadNixRequest) Execute() (*http.Response, error) { + return r.ApiService.PackagesValidateUploadNixExecute(r) +} + +/* +PackagesValidateUploadNix Validate parameters for create Nix package + +Validate parameters for create Nix package + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param repo + @return ApiPackagesValidateUploadNixRequest +*/ +func (a *PackagesApiService) PackagesValidateUploadNix(ctx context.Context, owner string, repo string) ApiPackagesValidateUploadNixRequest { + return ApiPackagesValidateUploadNixRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + repo: repo, + } +} + +// Execute executes the request +func (a *PackagesApiService) PackagesValidateUploadNixExecute(r ApiPackagesValidateUploadNixRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PackagesApiService.PackagesValidateUploadNix") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/packages/{owner}/{repo}/validate-upload/nix/" + 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 ApiPackagesValidateUploadNpmRequest struct { ctx context.Context ApiService *PackagesApiService diff --git a/api_quota.go b/api_quota.go index 6e3f6437..d421698d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_rates.go b/api_rates.go index c4f6c1e8..63583c98 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_recycle_bin.go b/api_recycle_bin.go index 527cb6f9..465fc933 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_repos.go b/api_repos.go index ef65fd9c..9657ccdb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ @@ -18283,6 +18283,907 @@ func (a *ReposApiService) ReposUpstreamMavenUpdateExecute(r ApiReposUpstreamMave return localVarReturnValue, localVarHTTPResponse, nil } +type ApiReposUpstreamNixCreateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + data *NixUpstreamRequest +} + +func (r ApiReposUpstreamNixCreateRequest) Data(data NixUpstreamRequest) ApiReposUpstreamNixCreateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamNixCreateRequest) Execute() (*NixUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamNixCreateExecute(r) +} + +/* +ReposUpstreamNixCreate Create a Nix upstream config for this repository. + +Create a Nix 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 ApiReposUpstreamNixCreateRequest +*/ +func (a *ReposApiService) ReposUpstreamNixCreate(ctx context.Context, owner string, identifier string) ApiReposUpstreamNixCreateRequest { + return ApiReposUpstreamNixCreateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return NixUpstream +func (a *ReposApiService) ReposUpstreamNixCreateExecute(r ApiReposUpstreamNixCreateRequest) (*NixUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NixUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamNixCreate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/nix/" + 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 ApiReposUpstreamNixDeleteRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string +} + +func (r ApiReposUpstreamNixDeleteRequest) Execute() (*http.Response, error) { + return r.ApiService.ReposUpstreamNixDeleteExecute(r) +} + +/* +ReposUpstreamNixDelete Delete a Nix upstream config for this repository. + +Delete a Nix 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 ApiReposUpstreamNixDeleteRequest +*/ +func (a *ReposApiService) ReposUpstreamNixDelete(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamNixDeleteRequest { + return ApiReposUpstreamNixDeleteRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +func (a *ReposApiService) ReposUpstreamNixDeleteExecute(r ApiReposUpstreamNixDeleteRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamNixDelete") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/nix/{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 ApiReposUpstreamNixListRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + page *int64 + pageSize *int64 +} + +// A page number within the paginated result set. +func (r ApiReposUpstreamNixListRequest) Page(page int64) ApiReposUpstreamNixListRequest { + r.page = &page + return r +} + +// Number of results to return per page. +func (r ApiReposUpstreamNixListRequest) PageSize(pageSize int64) ApiReposUpstreamNixListRequest { + r.pageSize = &pageSize + return r +} + +func (r ApiReposUpstreamNixListRequest) Execute() ([]NixUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamNixListExecute(r) +} + +/* +ReposUpstreamNixList List Nix upstream configs for this repository. + +List Nix 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 ApiReposUpstreamNixListRequest +*/ +func (a *ReposApiService) ReposUpstreamNixList(ctx context.Context, owner string, identifier string) ApiReposUpstreamNixListRequest { + return ApiReposUpstreamNixListRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return []NixUpstream +func (a *ReposApiService) ReposUpstreamNixListExecute(r ApiReposUpstreamNixListRequest) ([]NixUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []NixUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamNixList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/nix/" + 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 ApiReposUpstreamNixPartialUpdateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string + data *NixUpstreamRequestPatch +} + +func (r ApiReposUpstreamNixPartialUpdateRequest) Data(data NixUpstreamRequestPatch) ApiReposUpstreamNixPartialUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamNixPartialUpdateRequest) Execute() (*NixUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamNixPartialUpdateExecute(r) +} + +/* +ReposUpstreamNixPartialUpdate Partially update a Nix upstream config for this repository. + +Partially update a Nix 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 ApiReposUpstreamNixPartialUpdateRequest +*/ +func (a *ReposApiService) ReposUpstreamNixPartialUpdate(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamNixPartialUpdateRequest { + return ApiReposUpstreamNixPartialUpdateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return NixUpstream +func (a *ReposApiService) ReposUpstreamNixPartialUpdateExecute(r ApiReposUpstreamNixPartialUpdateRequest) (*NixUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPatch + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NixUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamNixPartialUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/nix/{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 ApiReposUpstreamNixReadRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string +} + +func (r ApiReposUpstreamNixReadRequest) Execute() (*NixUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamNixReadExecute(r) +} + +/* +ReposUpstreamNixRead Retrieve a Nix upstream config for this repository. + +Retrieve a Nix 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 ApiReposUpstreamNixReadRequest +*/ +func (a *ReposApiService) ReposUpstreamNixRead(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamNixReadRequest { + return ApiReposUpstreamNixReadRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return NixUpstream +func (a *ReposApiService) ReposUpstreamNixReadExecute(r ApiReposUpstreamNixReadRequest) (*NixUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NixUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamNixRead") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/nix/{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 ApiReposUpstreamNixUpdateRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string + slugPerm string + data *NixUpstreamRequest +} + +func (r ApiReposUpstreamNixUpdateRequest) Data(data NixUpstreamRequest) ApiReposUpstreamNixUpdateRequest { + r.data = &data + return r +} + +func (r ApiReposUpstreamNixUpdateRequest) Execute() (*NixUpstream, *http.Response, error) { + return r.ApiService.ReposUpstreamNixUpdateExecute(r) +} + +/* +ReposUpstreamNixUpdate Update a Nix upstream config for this repository. + +Update a Nix 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 ApiReposUpstreamNixUpdateRequest +*/ +func (a *ReposApiService) ReposUpstreamNixUpdate(ctx context.Context, owner string, identifier string, slugPerm string) ApiReposUpstreamNixUpdateRequest { + return ApiReposUpstreamNixUpdateRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + slugPerm: slugPerm, + } +} + +// Execute executes the request +// @return NixUpstream +func (a *ReposApiService) ReposUpstreamNixUpdateExecute(r ApiReposUpstreamNixUpdateRequest) (*NixUpstream, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *NixUpstream + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposUpstreamNixUpdate") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/upstream/nix/{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 ApiReposUpstreamNpmCreateRequest struct { ctx context.Context ApiService *ReposApiService diff --git a/api_status.go b/api_status.go index 6b74576e..4cfe7442 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_storage_regions.go b/api_storage_regions.go index b6554755..9bc4f8e5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_user.go b/api_user.go index 9637373d..b31aa6e7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_users.go b/api_users.go index 407dfeef..7e8f5edd 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 72d73963..54b6f6cf 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/api_webhooks.go b/api_webhooks.go index 3eee58a0..d165e155 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/bin/generate b/bin/generate index bcf50592..e852f981 100755 --- a/bin/generate +++ b/bin/generate @@ -2,7 +2,7 @@ set -eou pipefail -PKG_VERSION=${1:-"0.0.61"} +PKG_VERSION=${1:-"0.0.62"} 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 4377fad7..14221adf 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Cloudsmith API (v1) API v1.1350.0 +// APIClient manages communication with the Cloudsmith API (v1) API v1.1351.3 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -69,6 +69,8 @@ type APIClient struct { NamespacesApi *NamespacesApiService + OpenidApi *OpenidApiService + OrgsApi *OrgsApiService PackagesApi *PackagesApiService @@ -120,6 +122,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.FormatsApi = (*FormatsApiService)(&c.common) c.MetricsApi = (*MetricsApiService)(&c.common) c.NamespacesApi = (*NamespacesApiService)(&c.common) + c.OpenidApi = (*OpenidApiService)(&c.common) c.OrgsApi = (*OrgsApiService)(&c.common) c.PackagesApi = (*PackagesApiService)(&c.common) c.QuotaApi = (*QuotaApiService)(&c.common) diff --git a/configuration.go b/configuration.go index 3940b782..48eed2dd 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1350.0 +API version: 1.1351.3 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.61/go", + UserAgent: "OpenAPI-Generator/0.0.62/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/NixPackageUpload.md b/docs/NixPackageUpload.md new file mode 100644 index 00000000..15629ec5 --- /dev/null +++ b/docs/NixPackageUpload.md @@ -0,0 +1,2590 @@ +# NixPackageUpload + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Architectures** | Pointer to [**[]Architecture**](Architecture.md) | | [optional] [readonly] +**CdnUrl** | Pointer to **NullableString** | | [optional] [readonly] +**ChecksumMd5** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha1** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha256** | Pointer to **string** | | [optional] [readonly] +**ChecksumSha512** | Pointer to **string** | | [optional] [readonly] +**DependenciesChecksumMd5** | Pointer to **NullableString** | A checksum of all of the package's dependencies. | [optional] [readonly] +**DependenciesUrl** | Pointer to **string** | | [optional] [readonly] +**Description** | Pointer to **NullableString** | A textual description of this package. | [optional] [readonly] +**DisplayName** | Pointer to **string** | | [optional] [readonly] +**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] +**IsMalwareDetected** | Pointer to **bool** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional] [readonly] +**IsMoveable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantinable** | Pointer to **bool** | | [optional] [readonly] +**IsQuarantined** | Pointer to **bool** | | [optional] [readonly] +**IsResyncable** | Pointer to **bool** | | [optional] [readonly] +**IsSecurityScannable** | Pointer to **bool** | | [optional] [readonly] +**IsSyncAwaiting** | Pointer to **bool** | | [optional] [readonly] +**IsSyncCompleted** | Pointer to **bool** | | [optional] [readonly] +**IsSyncFailed** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInFlight** | Pointer to **bool** | | [optional] [readonly] +**IsSyncInProgress** | Pointer to **bool** | | [optional] [readonly] +**License** | Pointer to **NullableString** | The license of this package. | [optional] [readonly] +**Name** | Pointer to **NullableString** | The name of this package. | [optional] [readonly] +**Namespace** | Pointer to **string** | | [optional] [readonly] +**NamespaceUrl** | Pointer to **string** | | [optional] [readonly] +**NumFiles** | Pointer to **int64** | | [optional] [readonly] +**OriginRepository** | Pointer to **string** | | [optional] [readonly] +**OriginRepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**OsiApproved** | Pointer to **bool** | Whether the package's SPDX license is OSI-approved. | [optional] [readonly] +**PackageType** | Pointer to **int64** | The type of package contents. | [optional] [readonly] +**PolicyViolated** | Pointer to **bool** | Whether or not the package has violated any policy. | [optional] [readonly] +**RawLicense** | Pointer to **NullableString** | The raw license string. | [optional] [readonly] +**Release** | Pointer to **NullableString** | The release of the package version (if any). | [optional] [readonly] +**Repository** | Pointer to **string** | | [optional] [readonly] +**RepositoryUrl** | Pointer to **string** | | [optional] [readonly] +**SecurityScanCompletedAt** | Pointer to **NullableTime** | The datetime the security scanning was completed. | [optional] [readonly] +**SecurityScanStartedAt** | Pointer to **NullableTime** | The datetime the security scanning was started. | [optional] [readonly] +**SecurityScanStatus** | Pointer to **NullableString** | | [optional] [readonly] [default to "Awaiting Security Scan"] +**SecurityScanStatusUpdatedAt** | Pointer to **NullableTime** | The datetime the security scanning status was updated. | [optional] [readonly] +**SelfHtmlUrl** | Pointer to **string** | | [optional] [readonly] +**SelfUrl** | Pointer to **string** | | [optional] [readonly] +**SelfWebappUrl** | Pointer to **string** | | [optional] [readonly] +**SignatureUrl** | Pointer to **NullableString** | | [optional] [readonly] +**Size** | Pointer to **int64** | The calculated size of the package. | [optional] [readonly] +**Slug** | Pointer to **string** | The public unique identifier for the package. | [optional] [readonly] +**SlugPerm** | Pointer to **string** | | [optional] [readonly] +**SpdxLicense** | Pointer to **NullableString** | The SPDX license identifier for this package. | [optional] [readonly] +**Stage** | Pointer to **int64** | The synchronisation (in progress) stage of the package. | [optional] [readonly] +**StageStr** | Pointer to **string** | | [optional] [readonly] +**StageUpdatedAt** | Pointer to **time.Time** | The datetime the package stage was updated at. | [optional] [readonly] +**Status** | Pointer to **int64** | The synchronisation status of the package. | [optional] [readonly] +**StatusReason** | Pointer to **NullableString** | A textual description for the synchronous status reason (if any | [optional] [readonly] +**StatusStr** | Pointer to **string** | | [optional] [readonly] +**StatusUpdatedAt** | Pointer to **time.Time** | The datetime the package status was updated at. | [optional] [readonly] +**StatusUrl** | Pointer to **string** | | [optional] [readonly] +**StorePath** | Pointer to **NullableString** | Absolute store path for the package, including store hash and name. | [optional] [readonly] +**Subtype** | Pointer to **string** | | [optional] [readonly] +**Summary** | Pointer to **NullableString** | A one-liner synopsis of this package. | [optional] [readonly] +**SyncFinishedAt** | Pointer to **NullableTime** | The datetime the package sync was finished at. | [optional] [readonly] +**SyncProgress** | Pointer to **int64** | Synchronisation progress (from 0-100) | [optional] [readonly] +**TagsAutomatic** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsImmutable** | Pointer to **map[string]interface{}** | All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. | [optional] +**TagsStatic** | Pointer to **map[string][]string** | All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. | [optional] [readonly] +**TypeDisplay** | Pointer to **string** | | [optional] [readonly] +**UploadedAt** | Pointer to **time.Time** | The date this package was uploaded. | [optional] [readonly] +**Uploader** | Pointer to **string** | | [optional] [readonly] +**UploaderUrl** | Pointer to **string** | | [optional] [readonly] +**Version** | Pointer to **NullableString** | The raw version for this package. | [optional] +**VersionOrig** | Pointer to **string** | | [optional] [readonly] +**VulnerabilityCounts** | Pointer to [**NullableWebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional] +**VulnerabilityScanResultsUrl** | Pointer to **string** | | [optional] [readonly] + +## Methods + +### NewNixPackageUpload + +`func NewNixPackageUpload() *NixPackageUpload` + +NewNixPackageUpload instantiates a new NixPackageUpload 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 + +### NewNixPackageUploadWithDefaults + +`func NewNixPackageUploadWithDefaults() *NixPackageUpload` + +NewNixPackageUploadWithDefaults instantiates a new NixPackageUpload 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 *NixPackageUpload) GetArchitectures() []Architecture` + +GetArchitectures returns the Architectures field if non-nil, zero value otherwise. + +### GetArchitecturesOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetArchitectures(v []Architecture)` + +SetArchitectures sets Architectures field to given value. + +### HasArchitectures + +`func (o *NixPackageUpload) HasArchitectures() bool` + +HasArchitectures returns a boolean if a field has been set. + +### GetCdnUrl + +`func (o *NixPackageUpload) GetCdnUrl() string` + +GetCdnUrl returns the CdnUrl field if non-nil, zero value otherwise. + +### GetCdnUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetCdnUrl(v string)` + +SetCdnUrl sets CdnUrl field to given value. + +### HasCdnUrl + +`func (o *NixPackageUpload) HasCdnUrl() bool` + +HasCdnUrl returns a boolean if a field has been set. + +### SetCdnUrlNil + +`func (o *NixPackageUpload) SetCdnUrlNil(b bool)` + + SetCdnUrlNil sets the value for CdnUrl to be an explicit nil + +### UnsetCdnUrl +`func (o *NixPackageUpload) UnsetCdnUrl()` + +UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +### GetChecksumMd5 + +`func (o *NixPackageUpload) GetChecksumMd5() string` + +GetChecksumMd5 returns the ChecksumMd5 field if non-nil, zero value otherwise. + +### GetChecksumMd5Ok + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetChecksumMd5(v string)` + +SetChecksumMd5 sets ChecksumMd5 field to given value. + +### HasChecksumMd5 + +`func (o *NixPackageUpload) HasChecksumMd5() bool` + +HasChecksumMd5 returns a boolean if a field has been set. + +### GetChecksumSha1 + +`func (o *NixPackageUpload) GetChecksumSha1() string` + +GetChecksumSha1 returns the ChecksumSha1 field if non-nil, zero value otherwise. + +### GetChecksumSha1Ok + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetChecksumSha1(v string)` + +SetChecksumSha1 sets ChecksumSha1 field to given value. + +### HasChecksumSha1 + +`func (o *NixPackageUpload) HasChecksumSha1() bool` + +HasChecksumSha1 returns a boolean if a field has been set. + +### GetChecksumSha256 + +`func (o *NixPackageUpload) GetChecksumSha256() string` + +GetChecksumSha256 returns the ChecksumSha256 field if non-nil, zero value otherwise. + +### GetChecksumSha256Ok + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetChecksumSha256(v string)` + +SetChecksumSha256 sets ChecksumSha256 field to given value. + +### HasChecksumSha256 + +`func (o *NixPackageUpload) HasChecksumSha256() bool` + +HasChecksumSha256 returns a boolean if a field has been set. + +### GetChecksumSha512 + +`func (o *NixPackageUpload) GetChecksumSha512() string` + +GetChecksumSha512 returns the ChecksumSha512 field if non-nil, zero value otherwise. + +### GetChecksumSha512Ok + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetChecksumSha512(v string)` + +SetChecksumSha512 sets ChecksumSha512 field to given value. + +### HasChecksumSha512 + +`func (o *NixPackageUpload) HasChecksumSha512() bool` + +HasChecksumSha512 returns a boolean if a field has been set. + +### GetDependenciesChecksumMd5 + +`func (o *NixPackageUpload) GetDependenciesChecksumMd5() string` + +GetDependenciesChecksumMd5 returns the DependenciesChecksumMd5 field if non-nil, zero value otherwise. + +### GetDependenciesChecksumMd5Ok + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDependenciesChecksumMd5(v string)` + +SetDependenciesChecksumMd5 sets DependenciesChecksumMd5 field to given value. + +### HasDependenciesChecksumMd5 + +`func (o *NixPackageUpload) HasDependenciesChecksumMd5() bool` + +HasDependenciesChecksumMd5 returns a boolean if a field has been set. + +### SetDependenciesChecksumMd5Nil + +`func (o *NixPackageUpload) SetDependenciesChecksumMd5Nil(b bool)` + + SetDependenciesChecksumMd5Nil sets the value for DependenciesChecksumMd5 to be an explicit nil + +### UnsetDependenciesChecksumMd5 +`func (o *NixPackageUpload) UnsetDependenciesChecksumMd5()` + +UnsetDependenciesChecksumMd5 ensures that no value is present for DependenciesChecksumMd5, not even an explicit nil +### GetDependenciesUrl + +`func (o *NixPackageUpload) GetDependenciesUrl() string` + +GetDependenciesUrl returns the DependenciesUrl field if non-nil, zero value otherwise. + +### GetDependenciesUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDependenciesUrl(v string)` + +SetDependenciesUrl sets DependenciesUrl field to given value. + +### HasDependenciesUrl + +`func (o *NixPackageUpload) HasDependenciesUrl() bool` + +HasDependenciesUrl returns a boolean if a field has been set. + +### GetDescription + +`func (o *NixPackageUpload) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *NixPackageUpload) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *NixPackageUpload) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *NixPackageUpload) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetDisplayName + +`func (o *NixPackageUpload) GetDisplayName() string` + +GetDisplayName returns the DisplayName field if non-nil, zero value otherwise. + +### GetDisplayNameOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDisplayName(v string)` + +SetDisplayName sets DisplayName field to given value. + +### HasDisplayName + +`func (o *NixPackageUpload) HasDisplayName() bool` + +HasDisplayName returns a boolean if a field has been set. + +### GetDistro + +`func (o *NixPackageUpload) GetDistro() Distribution` + +GetDistro returns the Distro field if non-nil, zero value otherwise. + +### GetDistroOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDistro(v Distribution)` + +SetDistro sets Distro field to given value. + +### HasDistro + +`func (o *NixPackageUpload) HasDistro() bool` + +HasDistro returns a boolean if a field has been set. + +### SetDistroNil + +`func (o *NixPackageUpload) SetDistroNil(b bool)` + + SetDistroNil sets the value for Distro to be an explicit nil + +### UnsetDistro +`func (o *NixPackageUpload) UnsetDistro()` + +UnsetDistro ensures that no value is present for Distro, not even an explicit nil +### GetDistroVersion + +`func (o *NixPackageUpload) GetDistroVersion() DistributionVersion` + +GetDistroVersion returns the DistroVersion field if non-nil, zero value otherwise. + +### GetDistroVersionOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDistroVersion(v DistributionVersion)` + +SetDistroVersion sets DistroVersion field to given value. + +### HasDistroVersion + +`func (o *NixPackageUpload) HasDistroVersion() bool` + +HasDistroVersion returns a boolean if a field has been set. + +### GetDownloads + +`func (o *NixPackageUpload) GetDownloads() int64` + +GetDownloads returns the Downloads field if non-nil, zero value otherwise. + +### GetDownloadsOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetDownloads(v int64)` + +SetDownloads sets Downloads field to given value. + +### HasDownloads + +`func (o *NixPackageUpload) HasDownloads() bool` + +HasDownloads returns a boolean if a field has been set. + +### GetEpoch + +`func (o *NixPackageUpload) GetEpoch() int64` + +GetEpoch returns the Epoch field if non-nil, zero value otherwise. + +### GetEpochOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetEpoch(v int64)` + +SetEpoch sets Epoch field to given value. + +### HasEpoch + +`func (o *NixPackageUpload) HasEpoch() bool` + +HasEpoch returns a boolean if a field has been set. + +### SetEpochNil + +`func (o *NixPackageUpload) SetEpochNil(b bool)` + + SetEpochNil sets the value for Epoch to be an explicit nil + +### UnsetEpoch +`func (o *NixPackageUpload) UnsetEpoch()` + +UnsetEpoch ensures that no value is present for Epoch, not even an explicit nil +### GetExtension + +`func (o *NixPackageUpload) GetExtension() string` + +GetExtension returns the Extension field if non-nil, zero value otherwise. + +### GetExtensionOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetExtension(v string)` + +SetExtension sets Extension field to given value. + +### HasExtension + +`func (o *NixPackageUpload) HasExtension() bool` + +HasExtension returns a boolean if a field has been set. + +### GetFilename + +`func (o *NixPackageUpload) GetFilename() string` + +GetFilename returns the Filename field if non-nil, zero value otherwise. + +### GetFilenameOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetFilename(v string)` + +SetFilename sets Filename field to given value. + +### HasFilename + +`func (o *NixPackageUpload) HasFilename() bool` + +HasFilename returns a boolean if a field has been set. + +### GetFiles + +`func (o *NixPackageUpload) GetFiles() []PackageFile` + +GetFiles returns the Files field if non-nil, zero value otherwise. + +### GetFilesOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetFiles(v []PackageFile)` + +SetFiles sets Files field to given value. + +### HasFiles + +`func (o *NixPackageUpload) HasFiles() bool` + +HasFiles returns a boolean if a field has been set. + +### GetFormat + +`func (o *NixPackageUpload) GetFormat() string` + +GetFormat returns the Format field if non-nil, zero value otherwise. + +### GetFormatOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetFormat(v string)` + +SetFormat sets Format field to given value. + +### HasFormat + +`func (o *NixPackageUpload) HasFormat() bool` + +HasFormat returns a boolean if a field has been set. + +### GetFormatUrl + +`func (o *NixPackageUpload) GetFormatUrl() string` + +GetFormatUrl returns the FormatUrl field if non-nil, zero value otherwise. + +### GetFormatUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetFormatUrl(v string)` + +SetFormatUrl sets FormatUrl field to given value. + +### HasFormatUrl + +`func (o *NixPackageUpload) HasFormatUrl() bool` + +HasFormatUrl returns a boolean if a field has been set. + +### GetFreeableStorage + +`func (o *NixPackageUpload) GetFreeableStorage() int64` + +GetFreeableStorage returns the FreeableStorage field if non-nil, zero value otherwise. + +### GetFreeableStorageOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetFreeableStorage(v int64)` + +SetFreeableStorage sets FreeableStorage field to given value. + +### HasFreeableStorage + +`func (o *NixPackageUpload) HasFreeableStorage() bool` + +HasFreeableStorage returns a boolean if a field has been set. + +### GetFullyQualifiedName + +`func (o *NixPackageUpload) GetFullyQualifiedName() string` + +GetFullyQualifiedName returns the FullyQualifiedName field if non-nil, zero value otherwise. + +### GetFullyQualifiedNameOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetFullyQualifiedName(v string)` + +SetFullyQualifiedName sets FullyQualifiedName field to given value. + +### HasFullyQualifiedName + +`func (o *NixPackageUpload) HasFullyQualifiedName() bool` + +HasFullyQualifiedName returns a boolean if a field has been set. + +### SetFullyQualifiedNameNil + +`func (o *NixPackageUpload) SetFullyQualifiedNameNil(b bool)` + + SetFullyQualifiedNameNil sets the value for FullyQualifiedName to be an explicit nil + +### UnsetFullyQualifiedName +`func (o *NixPackageUpload) UnsetFullyQualifiedName()` + +UnsetFullyQualifiedName ensures that no value is present for FullyQualifiedName, not even an explicit nil +### GetIdentifierPerm + +`func (o *NixPackageUpload) GetIdentifierPerm() string` + +GetIdentifierPerm returns the IdentifierPerm field if non-nil, zero value otherwise. + +### GetIdentifierPermOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIdentifierPerm(v string)` + +SetIdentifierPerm sets IdentifierPerm field to given value. + +### HasIdentifierPerm + +`func (o *NixPackageUpload) HasIdentifierPerm() bool` + +HasIdentifierPerm returns a boolean if a field has been set. + +### GetIdentifiers + +`func (o *NixPackageUpload) GetIdentifiers() map[string]string` + +GetIdentifiers returns the Identifiers field if non-nil, zero value otherwise. + +### GetIdentifiersOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIdentifiers(v map[string]string)` + +SetIdentifiers sets Identifiers field to given value. + +### HasIdentifiers + +`func (o *NixPackageUpload) HasIdentifiers() bool` + +HasIdentifiers returns a boolean if a field has been set. + +### GetIndexed + +`func (o *NixPackageUpload) GetIndexed() bool` + +GetIndexed returns the Indexed field if non-nil, zero value otherwise. + +### GetIndexedOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIndexed(v bool)` + +SetIndexed sets Indexed field to given value. + +### HasIndexed + +`func (o *NixPackageUpload) HasIndexed() bool` + +HasIndexed returns a boolean if a field has been set. + +### GetIsCancellable + +`func (o *NixPackageUpload) GetIsCancellable() bool` + +GetIsCancellable returns the IsCancellable field if non-nil, zero value otherwise. + +### GetIsCancellableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsCancellable(v bool)` + +SetIsCancellable sets IsCancellable field to given value. + +### HasIsCancellable + +`func (o *NixPackageUpload) HasIsCancellable() bool` + +HasIsCancellable returns a boolean if a field has been set. + +### GetIsCopyable + +`func (o *NixPackageUpload) GetIsCopyable() bool` + +GetIsCopyable returns the IsCopyable field if non-nil, zero value otherwise. + +### GetIsCopyableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsCopyable(v bool)` + +SetIsCopyable sets IsCopyable field to given value. + +### HasIsCopyable + +`func (o *NixPackageUpload) HasIsCopyable() bool` + +HasIsCopyable returns a boolean if a field has been set. + +### GetIsDeleteable + +`func (o *NixPackageUpload) GetIsDeleteable() bool` + +GetIsDeleteable returns the IsDeleteable field if non-nil, zero value otherwise. + +### GetIsDeleteableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsDeleteable(v bool)` + +SetIsDeleteable sets IsDeleteable field to given value. + +### HasIsDeleteable + +`func (o *NixPackageUpload) HasIsDeleteable() bool` + +HasIsDeleteable returns a boolean if a field has been set. + +### GetIsDownloadable + +`func (o *NixPackageUpload) GetIsDownloadable() bool` + +GetIsDownloadable returns the IsDownloadable field if non-nil, zero value otherwise. + +### GetIsDownloadableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsDownloadable(v bool)` + +SetIsDownloadable sets IsDownloadable field to given value. + +### HasIsDownloadable + +`func (o *NixPackageUpload) HasIsDownloadable() bool` + +HasIsDownloadable returns a boolean if a field has been set. + +### GetIsHidden + +`func (o *NixPackageUpload) GetIsHidden() bool` + +GetIsHidden returns the IsHidden field if non-nil, zero value otherwise. + +### GetIsHiddenOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsHidden(v bool)` + +SetIsHidden sets IsHidden field to given value. + +### HasIsHidden + +`func (o *NixPackageUpload) HasIsHidden() bool` + +HasIsHidden returns a boolean if a field has been set. + +### GetIsMalwareDetected + +`func (o *NixPackageUpload) GetIsMalwareDetected() bool` + +GetIsMalwareDetected returns the IsMalwareDetected field if non-nil, zero value otherwise. + +### GetIsMalwareDetectedOk + +`func (o *NixPackageUpload) GetIsMalwareDetectedOk() (*bool, bool)` + +GetIsMalwareDetectedOk returns a tuple with the IsMalwareDetected field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsMalwareDetected + +`func (o *NixPackageUpload) SetIsMalwareDetected(v bool)` + +SetIsMalwareDetected sets IsMalwareDetected field to given value. + +### HasIsMalwareDetected + +`func (o *NixPackageUpload) HasIsMalwareDetected() bool` + +HasIsMalwareDetected returns a boolean if a field has been set. + +### GetIsMoveable + +`func (o *NixPackageUpload) GetIsMoveable() bool` + +GetIsMoveable returns the IsMoveable field if non-nil, zero value otherwise. + +### GetIsMoveableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsMoveable(v bool)` + +SetIsMoveable sets IsMoveable field to given value. + +### HasIsMoveable + +`func (o *NixPackageUpload) HasIsMoveable() bool` + +HasIsMoveable returns a boolean if a field has been set. + +### GetIsQuarantinable + +`func (o *NixPackageUpload) GetIsQuarantinable() bool` + +GetIsQuarantinable returns the IsQuarantinable field if non-nil, zero value otherwise. + +### GetIsQuarantinableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsQuarantinable(v bool)` + +SetIsQuarantinable sets IsQuarantinable field to given value. + +### HasIsQuarantinable + +`func (o *NixPackageUpload) HasIsQuarantinable() bool` + +HasIsQuarantinable returns a boolean if a field has been set. + +### GetIsQuarantined + +`func (o *NixPackageUpload) GetIsQuarantined() bool` + +GetIsQuarantined returns the IsQuarantined field if non-nil, zero value otherwise. + +### GetIsQuarantinedOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsQuarantined(v bool)` + +SetIsQuarantined sets IsQuarantined field to given value. + +### HasIsQuarantined + +`func (o *NixPackageUpload) HasIsQuarantined() bool` + +HasIsQuarantined returns a boolean if a field has been set. + +### GetIsResyncable + +`func (o *NixPackageUpload) GetIsResyncable() bool` + +GetIsResyncable returns the IsResyncable field if non-nil, zero value otherwise. + +### GetIsResyncableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsResyncable(v bool)` + +SetIsResyncable sets IsResyncable field to given value. + +### HasIsResyncable + +`func (o *NixPackageUpload) HasIsResyncable() bool` + +HasIsResyncable returns a boolean if a field has been set. + +### GetIsSecurityScannable + +`func (o *NixPackageUpload) GetIsSecurityScannable() bool` + +GetIsSecurityScannable returns the IsSecurityScannable field if non-nil, zero value otherwise. + +### GetIsSecurityScannableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsSecurityScannable(v bool)` + +SetIsSecurityScannable sets IsSecurityScannable field to given value. + +### HasIsSecurityScannable + +`func (o *NixPackageUpload) HasIsSecurityScannable() bool` + +HasIsSecurityScannable returns a boolean if a field has been set. + +### GetIsSyncAwaiting + +`func (o *NixPackageUpload) GetIsSyncAwaiting() bool` + +GetIsSyncAwaiting returns the IsSyncAwaiting field if non-nil, zero value otherwise. + +### GetIsSyncAwaitingOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncAwaiting(v bool)` + +SetIsSyncAwaiting sets IsSyncAwaiting field to given value. + +### HasIsSyncAwaiting + +`func (o *NixPackageUpload) HasIsSyncAwaiting() bool` + +HasIsSyncAwaiting returns a boolean if a field has been set. + +### GetIsSyncCompleted + +`func (o *NixPackageUpload) GetIsSyncCompleted() bool` + +GetIsSyncCompleted returns the IsSyncCompleted field if non-nil, zero value otherwise. + +### GetIsSyncCompletedOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncCompleted(v bool)` + +SetIsSyncCompleted sets IsSyncCompleted field to given value. + +### HasIsSyncCompleted + +`func (o *NixPackageUpload) HasIsSyncCompleted() bool` + +HasIsSyncCompleted returns a boolean if a field has been set. + +### GetIsSyncFailed + +`func (o *NixPackageUpload) GetIsSyncFailed() bool` + +GetIsSyncFailed returns the IsSyncFailed field if non-nil, zero value otherwise. + +### GetIsSyncFailedOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncFailed(v bool)` + +SetIsSyncFailed sets IsSyncFailed field to given value. + +### HasIsSyncFailed + +`func (o *NixPackageUpload) HasIsSyncFailed() bool` + +HasIsSyncFailed returns a boolean if a field has been set. + +### GetIsSyncInFlight + +`func (o *NixPackageUpload) GetIsSyncInFlight() bool` + +GetIsSyncInFlight returns the IsSyncInFlight field if non-nil, zero value otherwise. + +### GetIsSyncInFlightOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncInFlight(v bool)` + +SetIsSyncInFlight sets IsSyncInFlight field to given value. + +### HasIsSyncInFlight + +`func (o *NixPackageUpload) HasIsSyncInFlight() bool` + +HasIsSyncInFlight returns a boolean if a field has been set. + +### GetIsSyncInProgress + +`func (o *NixPackageUpload) GetIsSyncInProgress() bool` + +GetIsSyncInProgress returns the IsSyncInProgress field if non-nil, zero value otherwise. + +### GetIsSyncInProgressOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncInProgress(v bool)` + +SetIsSyncInProgress sets IsSyncInProgress field to given value. + +### HasIsSyncInProgress + +`func (o *NixPackageUpload) HasIsSyncInProgress() bool` + +HasIsSyncInProgress returns a boolean if a field has been set. + +### GetLicense + +`func (o *NixPackageUpload) GetLicense() string` + +GetLicense returns the License field if non-nil, zero value otherwise. + +### GetLicenseOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetLicense(v string)` + +SetLicense sets License field to given value. + +### HasLicense + +`func (o *NixPackageUpload) HasLicense() bool` + +HasLicense returns a boolean if a field has been set. + +### SetLicenseNil + +`func (o *NixPackageUpload) SetLicenseNil(b bool)` + + SetLicenseNil sets the value for License to be an explicit nil + +### UnsetLicense +`func (o *NixPackageUpload) UnsetLicense()` + +UnsetLicense ensures that no value is present for License, not even an explicit nil +### GetName + +`func (o *NixPackageUpload) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *NixPackageUpload) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *NixPackageUpload) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *NixPackageUpload) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetNamespace + +`func (o *NixPackageUpload) GetNamespace() string` + +GetNamespace returns the Namespace field if non-nil, zero value otherwise. + +### GetNamespaceOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetNamespace(v string)` + +SetNamespace sets Namespace field to given value. + +### HasNamespace + +`func (o *NixPackageUpload) HasNamespace() bool` + +HasNamespace returns a boolean if a field has been set. + +### GetNamespaceUrl + +`func (o *NixPackageUpload) GetNamespaceUrl() string` + +GetNamespaceUrl returns the NamespaceUrl field if non-nil, zero value otherwise. + +### GetNamespaceUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetNamespaceUrl(v string)` + +SetNamespaceUrl sets NamespaceUrl field to given value. + +### HasNamespaceUrl + +`func (o *NixPackageUpload) HasNamespaceUrl() bool` + +HasNamespaceUrl returns a boolean if a field has been set. + +### GetNumFiles + +`func (o *NixPackageUpload) GetNumFiles() int64` + +GetNumFiles returns the NumFiles field if non-nil, zero value otherwise. + +### GetNumFilesOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetNumFiles(v int64)` + +SetNumFiles sets NumFiles field to given value. + +### HasNumFiles + +`func (o *NixPackageUpload) HasNumFiles() bool` + +HasNumFiles returns a boolean if a field has been set. + +### GetOriginRepository + +`func (o *NixPackageUpload) GetOriginRepository() string` + +GetOriginRepository returns the OriginRepository field if non-nil, zero value otherwise. + +### GetOriginRepositoryOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetOriginRepository(v string)` + +SetOriginRepository sets OriginRepository field to given value. + +### HasOriginRepository + +`func (o *NixPackageUpload) HasOriginRepository() bool` + +HasOriginRepository returns a boolean if a field has been set. + +### GetOriginRepositoryUrl + +`func (o *NixPackageUpload) GetOriginRepositoryUrl() string` + +GetOriginRepositoryUrl returns the OriginRepositoryUrl field if non-nil, zero value otherwise. + +### GetOriginRepositoryUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetOriginRepositoryUrl(v string)` + +SetOriginRepositoryUrl sets OriginRepositoryUrl field to given value. + +### HasOriginRepositoryUrl + +`func (o *NixPackageUpload) HasOriginRepositoryUrl() bool` + +HasOriginRepositoryUrl returns a boolean if a field has been set. + +### GetOsiApproved + +`func (o *NixPackageUpload) GetOsiApproved() bool` + +GetOsiApproved returns the OsiApproved field if non-nil, zero value otherwise. + +### GetOsiApprovedOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetOsiApproved(v bool)` + +SetOsiApproved sets OsiApproved field to given value. + +### HasOsiApproved + +`func (o *NixPackageUpload) HasOsiApproved() bool` + +HasOsiApproved returns a boolean if a field has been set. + +### GetPackageType + +`func (o *NixPackageUpload) GetPackageType() int64` + +GetPackageType returns the PackageType field if non-nil, zero value otherwise. + +### GetPackageTypeOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetPackageType(v int64)` + +SetPackageType sets PackageType field to given value. + +### HasPackageType + +`func (o *NixPackageUpload) HasPackageType() bool` + +HasPackageType returns a boolean if a field has been set. + +### GetPolicyViolated + +`func (o *NixPackageUpload) GetPolicyViolated() bool` + +GetPolicyViolated returns the PolicyViolated field if non-nil, zero value otherwise. + +### GetPolicyViolatedOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetPolicyViolated(v bool)` + +SetPolicyViolated sets PolicyViolated field to given value. + +### HasPolicyViolated + +`func (o *NixPackageUpload) HasPolicyViolated() bool` + +HasPolicyViolated returns a boolean if a field has been set. + +### GetRawLicense + +`func (o *NixPackageUpload) GetRawLicense() string` + +GetRawLicense returns the RawLicense field if non-nil, zero value otherwise. + +### GetRawLicenseOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetRawLicense(v string)` + +SetRawLicense sets RawLicense field to given value. + +### HasRawLicense + +`func (o *NixPackageUpload) HasRawLicense() bool` + +HasRawLicense returns a boolean if a field has been set. + +### SetRawLicenseNil + +`func (o *NixPackageUpload) SetRawLicenseNil(b bool)` + + SetRawLicenseNil sets the value for RawLicense to be an explicit nil + +### UnsetRawLicense +`func (o *NixPackageUpload) UnsetRawLicense()` + +UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +### GetRelease + +`func (o *NixPackageUpload) GetRelease() string` + +GetRelease returns the Release field if non-nil, zero value otherwise. + +### GetReleaseOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetRelease(v string)` + +SetRelease sets Release field to given value. + +### HasRelease + +`func (o *NixPackageUpload) HasRelease() bool` + +HasRelease returns a boolean if a field has been set. + +### SetReleaseNil + +`func (o *NixPackageUpload) SetReleaseNil(b bool)` + + SetReleaseNil sets the value for Release to be an explicit nil + +### UnsetRelease +`func (o *NixPackageUpload) UnsetRelease()` + +UnsetRelease ensures that no value is present for Release, not even an explicit nil +### GetRepository + +`func (o *NixPackageUpload) GetRepository() string` + +GetRepository returns the Repository field if non-nil, zero value otherwise. + +### GetRepositoryOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetRepository(v string)` + +SetRepository sets Repository field to given value. + +### HasRepository + +`func (o *NixPackageUpload) HasRepository() bool` + +HasRepository returns a boolean if a field has been set. + +### GetRepositoryUrl + +`func (o *NixPackageUpload) GetRepositoryUrl() string` + +GetRepositoryUrl returns the RepositoryUrl field if non-nil, zero value otherwise. + +### GetRepositoryUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetRepositoryUrl(v string)` + +SetRepositoryUrl sets RepositoryUrl field to given value. + +### HasRepositoryUrl + +`func (o *NixPackageUpload) HasRepositoryUrl() bool` + +HasRepositoryUrl returns a boolean if a field has been set. + +### GetSecurityScanCompletedAt + +`func (o *NixPackageUpload) GetSecurityScanCompletedAt() time.Time` + +GetSecurityScanCompletedAt returns the SecurityScanCompletedAt field if non-nil, zero value otherwise. + +### GetSecurityScanCompletedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanCompletedAt(v time.Time)` + +SetSecurityScanCompletedAt sets SecurityScanCompletedAt field to given value. + +### HasSecurityScanCompletedAt + +`func (o *NixPackageUpload) HasSecurityScanCompletedAt() bool` + +HasSecurityScanCompletedAt returns a boolean if a field has been set. + +### SetSecurityScanCompletedAtNil + +`func (o *NixPackageUpload) SetSecurityScanCompletedAtNil(b bool)` + + SetSecurityScanCompletedAtNil sets the value for SecurityScanCompletedAt to be an explicit nil + +### UnsetSecurityScanCompletedAt +`func (o *NixPackageUpload) UnsetSecurityScanCompletedAt()` + +UnsetSecurityScanCompletedAt ensures that no value is present for SecurityScanCompletedAt, not even an explicit nil +### GetSecurityScanStartedAt + +`func (o *NixPackageUpload) GetSecurityScanStartedAt() time.Time` + +GetSecurityScanStartedAt returns the SecurityScanStartedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStartedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanStartedAt(v time.Time)` + +SetSecurityScanStartedAt sets SecurityScanStartedAt field to given value. + +### HasSecurityScanStartedAt + +`func (o *NixPackageUpload) HasSecurityScanStartedAt() bool` + +HasSecurityScanStartedAt returns a boolean if a field has been set. + +### SetSecurityScanStartedAtNil + +`func (o *NixPackageUpload) SetSecurityScanStartedAtNil(b bool)` + + SetSecurityScanStartedAtNil sets the value for SecurityScanStartedAt to be an explicit nil + +### UnsetSecurityScanStartedAt +`func (o *NixPackageUpload) UnsetSecurityScanStartedAt()` + +UnsetSecurityScanStartedAt ensures that no value is present for SecurityScanStartedAt, not even an explicit nil +### GetSecurityScanStatus + +`func (o *NixPackageUpload) GetSecurityScanStatus() string` + +GetSecurityScanStatus returns the SecurityScanStatus field if non-nil, zero value otherwise. + +### GetSecurityScanStatusOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanStatus(v string)` + +SetSecurityScanStatus sets SecurityScanStatus field to given value. + +### HasSecurityScanStatus + +`func (o *NixPackageUpload) HasSecurityScanStatus() bool` + +HasSecurityScanStatus returns a boolean if a field has been set. + +### SetSecurityScanStatusNil + +`func (o *NixPackageUpload) SetSecurityScanStatusNil(b bool)` + + SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil + +### UnsetSecurityScanStatus +`func (o *NixPackageUpload) UnsetSecurityScanStatus()` + +UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +### GetSecurityScanStatusUpdatedAt + +`func (o *NixPackageUpload) GetSecurityScanStatusUpdatedAt() time.Time` + +GetSecurityScanStatusUpdatedAt returns the SecurityScanStatusUpdatedAt field if non-nil, zero value otherwise. + +### GetSecurityScanStatusUpdatedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanStatusUpdatedAt(v time.Time)` + +SetSecurityScanStatusUpdatedAt sets SecurityScanStatusUpdatedAt field to given value. + +### HasSecurityScanStatusUpdatedAt + +`func (o *NixPackageUpload) HasSecurityScanStatusUpdatedAt() bool` + +HasSecurityScanStatusUpdatedAt returns a boolean if a field has been set. + +### SetSecurityScanStatusUpdatedAtNil + +`func (o *NixPackageUpload) SetSecurityScanStatusUpdatedAtNil(b bool)` + + SetSecurityScanStatusUpdatedAtNil sets the value for SecurityScanStatusUpdatedAt to be an explicit nil + +### UnsetSecurityScanStatusUpdatedAt +`func (o *NixPackageUpload) UnsetSecurityScanStatusUpdatedAt()` + +UnsetSecurityScanStatusUpdatedAt ensures that no value is present for SecurityScanStatusUpdatedAt, not even an explicit nil +### GetSelfHtmlUrl + +`func (o *NixPackageUpload) GetSelfHtmlUrl() string` + +GetSelfHtmlUrl returns the SelfHtmlUrl field if non-nil, zero value otherwise. + +### GetSelfHtmlUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSelfHtmlUrl(v string)` + +SetSelfHtmlUrl sets SelfHtmlUrl field to given value. + +### HasSelfHtmlUrl + +`func (o *NixPackageUpload) HasSelfHtmlUrl() bool` + +HasSelfHtmlUrl returns a boolean if a field has been set. + +### GetSelfUrl + +`func (o *NixPackageUpload) GetSelfUrl() string` + +GetSelfUrl returns the SelfUrl field if non-nil, zero value otherwise. + +### GetSelfUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSelfUrl(v string)` + +SetSelfUrl sets SelfUrl field to given value. + +### HasSelfUrl + +`func (o *NixPackageUpload) HasSelfUrl() bool` + +HasSelfUrl returns a boolean if a field has been set. + +### GetSelfWebappUrl + +`func (o *NixPackageUpload) GetSelfWebappUrl() string` + +GetSelfWebappUrl returns the SelfWebappUrl field if non-nil, zero value otherwise. + +### GetSelfWebappUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSelfWebappUrl(v string)` + +SetSelfWebappUrl sets SelfWebappUrl field to given value. + +### HasSelfWebappUrl + +`func (o *NixPackageUpload) HasSelfWebappUrl() bool` + +HasSelfWebappUrl returns a boolean if a field has been set. + +### GetSignatureUrl + +`func (o *NixPackageUpload) GetSignatureUrl() string` + +GetSignatureUrl returns the SignatureUrl field if non-nil, zero value otherwise. + +### GetSignatureUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSignatureUrl(v string)` + +SetSignatureUrl sets SignatureUrl field to given value. + +### HasSignatureUrl + +`func (o *NixPackageUpload) HasSignatureUrl() bool` + +HasSignatureUrl returns a boolean if a field has been set. + +### SetSignatureUrlNil + +`func (o *NixPackageUpload) SetSignatureUrlNil(b bool)` + + SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil + +### UnsetSignatureUrl +`func (o *NixPackageUpload) UnsetSignatureUrl()` + +UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +### GetSize + +`func (o *NixPackageUpload) GetSize() int64` + +GetSize returns the Size field if non-nil, zero value otherwise. + +### GetSizeOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSize(v int64)` + +SetSize sets Size field to given value. + +### HasSize + +`func (o *NixPackageUpload) HasSize() bool` + +HasSize returns a boolean if a field has been set. + +### GetSlug + +`func (o *NixPackageUpload) GetSlug() string` + +GetSlug returns the Slug field if non-nil, zero value otherwise. + +### GetSlugOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSlug(v string)` + +SetSlug sets Slug field to given value. + +### HasSlug + +`func (o *NixPackageUpload) HasSlug() bool` + +HasSlug returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *NixPackageUpload) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *NixPackageUpload) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetSpdxLicense + +`func (o *NixPackageUpload) GetSpdxLicense() string` + +GetSpdxLicense returns the SpdxLicense field if non-nil, zero value otherwise. + +### GetSpdxLicenseOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSpdxLicense(v string)` + +SetSpdxLicense sets SpdxLicense field to given value. + +### HasSpdxLicense + +`func (o *NixPackageUpload) HasSpdxLicense() bool` + +HasSpdxLicense returns a boolean if a field has been set. + +### SetSpdxLicenseNil + +`func (o *NixPackageUpload) SetSpdxLicenseNil(b bool)` + + SetSpdxLicenseNil sets the value for SpdxLicense to be an explicit nil + +### UnsetSpdxLicense +`func (o *NixPackageUpload) UnsetSpdxLicense()` + +UnsetSpdxLicense ensures that no value is present for SpdxLicense, not even an explicit nil +### GetStage + +`func (o *NixPackageUpload) GetStage() int64` + +GetStage returns the Stage field if non-nil, zero value otherwise. + +### GetStageOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStage(v int64)` + +SetStage sets Stage field to given value. + +### HasStage + +`func (o *NixPackageUpload) HasStage() bool` + +HasStage returns a boolean if a field has been set. + +### GetStageStr + +`func (o *NixPackageUpload) GetStageStr() string` + +GetStageStr returns the StageStr field if non-nil, zero value otherwise. + +### GetStageStrOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStageStr(v string)` + +SetStageStr sets StageStr field to given value. + +### HasStageStr + +`func (o *NixPackageUpload) HasStageStr() bool` + +HasStageStr returns a boolean if a field has been set. + +### GetStageUpdatedAt + +`func (o *NixPackageUpload) GetStageUpdatedAt() time.Time` + +GetStageUpdatedAt returns the StageUpdatedAt field if non-nil, zero value otherwise. + +### GetStageUpdatedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStageUpdatedAt(v time.Time)` + +SetStageUpdatedAt sets StageUpdatedAt field to given value. + +### HasStageUpdatedAt + +`func (o *NixPackageUpload) HasStageUpdatedAt() bool` + +HasStageUpdatedAt returns a boolean if a field has been set. + +### GetStatus + +`func (o *NixPackageUpload) GetStatus() int64` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStatus(v int64)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *NixPackageUpload) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetStatusReason + +`func (o *NixPackageUpload) GetStatusReason() string` + +GetStatusReason returns the StatusReason field if non-nil, zero value otherwise. + +### GetStatusReasonOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStatusReason(v string)` + +SetStatusReason sets StatusReason field to given value. + +### HasStatusReason + +`func (o *NixPackageUpload) HasStatusReason() bool` + +HasStatusReason returns a boolean if a field has been set. + +### SetStatusReasonNil + +`func (o *NixPackageUpload) SetStatusReasonNil(b bool)` + + SetStatusReasonNil sets the value for StatusReason to be an explicit nil + +### UnsetStatusReason +`func (o *NixPackageUpload) UnsetStatusReason()` + +UnsetStatusReason ensures that no value is present for StatusReason, not even an explicit nil +### GetStatusStr + +`func (o *NixPackageUpload) GetStatusStr() string` + +GetStatusStr returns the StatusStr field if non-nil, zero value otherwise. + +### GetStatusStrOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStatusStr(v string)` + +SetStatusStr sets StatusStr field to given value. + +### HasStatusStr + +`func (o *NixPackageUpload) HasStatusStr() bool` + +HasStatusStr returns a boolean if a field has been set. + +### GetStatusUpdatedAt + +`func (o *NixPackageUpload) GetStatusUpdatedAt() time.Time` + +GetStatusUpdatedAt returns the StatusUpdatedAt field if non-nil, zero value otherwise. + +### GetStatusUpdatedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStatusUpdatedAt(v time.Time)` + +SetStatusUpdatedAt sets StatusUpdatedAt field to given value. + +### HasStatusUpdatedAt + +`func (o *NixPackageUpload) HasStatusUpdatedAt() bool` + +HasStatusUpdatedAt returns a boolean if a field has been set. + +### GetStatusUrl + +`func (o *NixPackageUpload) GetStatusUrl() string` + +GetStatusUrl returns the StatusUrl field if non-nil, zero value otherwise. + +### GetStatusUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStatusUrl(v string)` + +SetStatusUrl sets StatusUrl field to given value. + +### HasStatusUrl + +`func (o *NixPackageUpload) HasStatusUrl() bool` + +HasStatusUrl returns a boolean if a field has been set. + +### GetStorePath + +`func (o *NixPackageUpload) GetStorePath() string` + +GetStorePath returns the StorePath field if non-nil, zero value otherwise. + +### GetStorePathOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetStorePath(v string)` + +SetStorePath sets StorePath field to given value. + +### HasStorePath + +`func (o *NixPackageUpload) HasStorePath() bool` + +HasStorePath returns a boolean if a field has been set. + +### SetStorePathNil + +`func (o *NixPackageUpload) SetStorePathNil(b bool)` + + SetStorePathNil sets the value for StorePath to be an explicit nil + +### UnsetStorePath +`func (o *NixPackageUpload) UnsetStorePath()` + +UnsetStorePath ensures that no value is present for StorePath, not even an explicit nil +### GetSubtype + +`func (o *NixPackageUpload) GetSubtype() string` + +GetSubtype returns the Subtype field if non-nil, zero value otherwise. + +### GetSubtypeOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSubtype(v string)` + +SetSubtype sets Subtype field to given value. + +### HasSubtype + +`func (o *NixPackageUpload) HasSubtype() bool` + +HasSubtype returns a boolean if a field has been set. + +### GetSummary + +`func (o *NixPackageUpload) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *NixPackageUpload) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### SetSummaryNil + +`func (o *NixPackageUpload) SetSummaryNil(b bool)` + + SetSummaryNil sets the value for Summary to be an explicit nil + +### UnsetSummary +`func (o *NixPackageUpload) UnsetSummary()` + +UnsetSummary ensures that no value is present for Summary, not even an explicit nil +### GetSyncFinishedAt + +`func (o *NixPackageUpload) GetSyncFinishedAt() time.Time` + +GetSyncFinishedAt returns the SyncFinishedAt field if non-nil, zero value otherwise. + +### GetSyncFinishedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSyncFinishedAt(v time.Time)` + +SetSyncFinishedAt sets SyncFinishedAt field to given value. + +### HasSyncFinishedAt + +`func (o *NixPackageUpload) HasSyncFinishedAt() bool` + +HasSyncFinishedAt returns a boolean if a field has been set. + +### SetSyncFinishedAtNil + +`func (o *NixPackageUpload) SetSyncFinishedAtNil(b bool)` + + SetSyncFinishedAtNil sets the value for SyncFinishedAt to be an explicit nil + +### UnsetSyncFinishedAt +`func (o *NixPackageUpload) UnsetSyncFinishedAt()` + +UnsetSyncFinishedAt ensures that no value is present for SyncFinishedAt, not even an explicit nil +### GetSyncProgress + +`func (o *NixPackageUpload) GetSyncProgress() int64` + +GetSyncProgress returns the SyncProgress field if non-nil, zero value otherwise. + +### GetSyncProgressOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetSyncProgress(v int64)` + +SetSyncProgress sets SyncProgress field to given value. + +### HasSyncProgress + +`func (o *NixPackageUpload) HasSyncProgress() bool` + +HasSyncProgress returns a boolean if a field has been set. + +### GetTagsAutomatic + +`func (o *NixPackageUpload) GetTagsAutomatic() map[string]interface{}` + +GetTagsAutomatic returns the TagsAutomatic field if non-nil, zero value otherwise. + +### GetTagsAutomaticOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetTagsAutomatic(v map[string]interface{})` + +SetTagsAutomatic sets TagsAutomatic field to given value. + +### HasTagsAutomatic + +`func (o *NixPackageUpload) HasTagsAutomatic() bool` + +HasTagsAutomatic returns a boolean if a field has been set. + +### GetTagsImmutable + +`func (o *NixPackageUpload) GetTagsImmutable() map[string]interface{}` + +GetTagsImmutable returns the TagsImmutable field if non-nil, zero value otherwise. + +### GetTagsImmutableOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetTagsImmutable(v map[string]interface{})` + +SetTagsImmutable sets TagsImmutable field to given value. + +### HasTagsImmutable + +`func (o *NixPackageUpload) HasTagsImmutable() bool` + +HasTagsImmutable returns a boolean if a field has been set. + +### GetTagsStatic + +`func (o *NixPackageUpload) GetTagsStatic() map[string][]string` + +GetTagsStatic returns the TagsStatic field if non-nil, zero value otherwise. + +### GetTagsStaticOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetTagsStatic(v map[string][]string)` + +SetTagsStatic sets TagsStatic field to given value. + +### HasTagsStatic + +`func (o *NixPackageUpload) HasTagsStatic() bool` + +HasTagsStatic returns a boolean if a field has been set. + +### GetTypeDisplay + +`func (o *NixPackageUpload) GetTypeDisplay() string` + +GetTypeDisplay returns the TypeDisplay field if non-nil, zero value otherwise. + +### GetTypeDisplayOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetTypeDisplay(v string)` + +SetTypeDisplay sets TypeDisplay field to given value. + +### HasTypeDisplay + +`func (o *NixPackageUpload) HasTypeDisplay() bool` + +HasTypeDisplay returns a boolean if a field has been set. + +### GetUploadedAt + +`func (o *NixPackageUpload) GetUploadedAt() time.Time` + +GetUploadedAt returns the UploadedAt field if non-nil, zero value otherwise. + +### GetUploadedAtOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetUploadedAt(v time.Time)` + +SetUploadedAt sets UploadedAt field to given value. + +### HasUploadedAt + +`func (o *NixPackageUpload) HasUploadedAt() bool` + +HasUploadedAt returns a boolean if a field has been set. + +### GetUploader + +`func (o *NixPackageUpload) GetUploader() string` + +GetUploader returns the Uploader field if non-nil, zero value otherwise. + +### GetUploaderOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetUploader(v string)` + +SetUploader sets Uploader field to given value. + +### HasUploader + +`func (o *NixPackageUpload) HasUploader() bool` + +HasUploader returns a boolean if a field has been set. + +### GetUploaderUrl + +`func (o *NixPackageUpload) GetUploaderUrl() string` + +GetUploaderUrl returns the UploaderUrl field if non-nil, zero value otherwise. + +### GetUploaderUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetUploaderUrl(v string)` + +SetUploaderUrl sets UploaderUrl field to given value. + +### HasUploaderUrl + +`func (o *NixPackageUpload) HasUploaderUrl() bool` + +HasUploaderUrl returns a boolean if a field has been set. + +### GetVersion + +`func (o *NixPackageUpload) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *NixPackageUpload) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *NixPackageUpload) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *NixPackageUpload) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, not even an explicit nil +### GetVersionOrig + +`func (o *NixPackageUpload) GetVersionOrig() string` + +GetVersionOrig returns the VersionOrig field if non-nil, zero value otherwise. + +### GetVersionOrigOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetVersionOrig(v string)` + +SetVersionOrig sets VersionOrig field to given value. + +### HasVersionOrig + +`func (o *NixPackageUpload) HasVersionOrig() bool` + +HasVersionOrig returns a boolean if a field has been set. + +### GetVulnerabilityCounts + +`func (o *NixPackageUpload) GetVulnerabilityCounts() WebOSVSeverityCounts` + +GetVulnerabilityCounts returns the VulnerabilityCounts field if non-nil, zero value otherwise. + +### GetVulnerabilityCountsOk + +`func (o *NixPackageUpload) GetVulnerabilityCountsOk() (*WebOSVSeverityCounts, bool)` + +GetVulnerabilityCountsOk returns a tuple with the VulnerabilityCounts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityCounts + +`func (o *NixPackageUpload) SetVulnerabilityCounts(v WebOSVSeverityCounts)` + +SetVulnerabilityCounts sets VulnerabilityCounts field to given value. + +### HasVulnerabilityCounts + +`func (o *NixPackageUpload) HasVulnerabilityCounts() bool` + +HasVulnerabilityCounts returns a boolean if a field has been set. + +### SetVulnerabilityCountsNil + +`func (o *NixPackageUpload) SetVulnerabilityCountsNil(b bool)` + + SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil + +### UnsetVulnerabilityCounts +`func (o *NixPackageUpload) UnsetVulnerabilityCounts()` + +UnsetVulnerabilityCounts ensures that no value is present for VulnerabilityCounts, not even an explicit nil +### GetVulnerabilityScanResultsUrl + +`func (o *NixPackageUpload) GetVulnerabilityScanResultsUrl() string` + +GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field if non-nil, zero value otherwise. + +### GetVulnerabilityScanResultsUrlOk + +`func (o *NixPackageUpload) 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 *NixPackageUpload) SetVulnerabilityScanResultsUrl(v string)` + +SetVulnerabilityScanResultsUrl sets VulnerabilityScanResultsUrl field to given value. + +### HasVulnerabilityScanResultsUrl + +`func (o *NixPackageUpload) 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/NixPackageUploadRequest.md b/docs/NixPackageUploadRequest.md new file mode 100644 index 00000000..846dac5b --- /dev/null +++ b/docs/NixPackageUploadRequest.md @@ -0,0 +1,247 @@ +# NixPackageUploadRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**IsMalwareDetected** | Pointer to **bool** | Whether the package has been detected as containing malware. Requires Ultra plan. | [optional] [readonly] +**Narinfo** | 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. | +**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] +**VulnerabilityCounts** | Pointer to [**NullableWebOSVSeverityCounts**](WebOSVSeverityCounts.md) | | [optional] + +## Methods + +### NewNixPackageUploadRequest + +`func NewNixPackageUploadRequest(packageFile string, ) *NixPackageUploadRequest` + +NewNixPackageUploadRequest instantiates a new NixPackageUploadRequest 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 + +### NewNixPackageUploadRequestWithDefaults + +`func NewNixPackageUploadRequestWithDefaults() *NixPackageUploadRequest` + +NewNixPackageUploadRequestWithDefaults instantiates a new NixPackageUploadRequest 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 + +### GetIsMalwareDetected + +`func (o *NixPackageUploadRequest) GetIsMalwareDetected() bool` + +GetIsMalwareDetected returns the IsMalwareDetected field if non-nil, zero value otherwise. + +### GetIsMalwareDetectedOk + +`func (o *NixPackageUploadRequest) GetIsMalwareDetectedOk() (*bool, bool)` + +GetIsMalwareDetectedOk returns a tuple with the IsMalwareDetected field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIsMalwareDetected + +`func (o *NixPackageUploadRequest) SetIsMalwareDetected(v bool)` + +SetIsMalwareDetected sets IsMalwareDetected field to given value. + +### HasIsMalwareDetected + +`func (o *NixPackageUploadRequest) HasIsMalwareDetected() bool` + +HasIsMalwareDetected returns a boolean if a field has been set. + +### GetNarinfo + +`func (o *NixPackageUploadRequest) GetNarinfo() string` + +GetNarinfo returns the Narinfo field if non-nil, zero value otherwise. + +### GetNarinfoOk + +`func (o *NixPackageUploadRequest) GetNarinfoOk() (*string, bool)` + +GetNarinfoOk returns a tuple with the Narinfo field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNarinfo + +`func (o *NixPackageUploadRequest) SetNarinfo(v string)` + +SetNarinfo sets Narinfo field to given value. + +### HasNarinfo + +`func (o *NixPackageUploadRequest) HasNarinfo() bool` + +HasNarinfo returns a boolean if a field has been set. + +### SetNarinfoNil + +`func (o *NixPackageUploadRequest) SetNarinfoNil(b bool)` + + SetNarinfoNil sets the value for Narinfo to be an explicit nil + +### UnsetNarinfo +`func (o *NixPackageUploadRequest) UnsetNarinfo()` + +UnsetNarinfo ensures that no value is present for Narinfo, not even an explicit nil +### GetPackageFile + +`func (o *NixPackageUploadRequest) GetPackageFile() string` + +GetPackageFile returns the PackageFile field if non-nil, zero value otherwise. + +### GetPackageFileOk + +`func (o *NixPackageUploadRequest) 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 *NixPackageUploadRequest) SetPackageFile(v string)` + +SetPackageFile sets PackageFile field to given value. + + +### GetRepublish + +`func (o *NixPackageUploadRequest) GetRepublish() bool` + +GetRepublish returns the Republish field if non-nil, zero value otherwise. + +### GetRepublishOk + +`func (o *NixPackageUploadRequest) 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 *NixPackageUploadRequest) SetRepublish(v bool)` + +SetRepublish sets Republish field to given value. + +### HasRepublish + +`func (o *NixPackageUploadRequest) HasRepublish() bool` + +HasRepublish returns a boolean if a field has been set. + +### GetTags + +`func (o *NixPackageUploadRequest) GetTags() string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *NixPackageUploadRequest) 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 *NixPackageUploadRequest) SetTags(v string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *NixPackageUploadRequest) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### SetTagsNil + +`func (o *NixPackageUploadRequest) SetTagsNil(b bool)` + + SetTagsNil sets the value for Tags to be an explicit nil + +### UnsetTags +`func (o *NixPackageUploadRequest) UnsetTags()` + +UnsetTags ensures that no value is present for Tags, not even an explicit nil +### GetVersion + +`func (o *NixPackageUploadRequest) GetVersion() string` + +GetVersion returns the Version field if non-nil, zero value otherwise. + +### GetVersionOk + +`func (o *NixPackageUploadRequest) 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 *NixPackageUploadRequest) SetVersion(v string)` + +SetVersion sets Version field to given value. + +### HasVersion + +`func (o *NixPackageUploadRequest) HasVersion() bool` + +HasVersion returns a boolean if a field has been set. + +### SetVersionNil + +`func (o *NixPackageUploadRequest) SetVersionNil(b bool)` + + SetVersionNil sets the value for Version to be an explicit nil + +### UnsetVersion +`func (o *NixPackageUploadRequest) UnsetVersion()` + +UnsetVersion ensures that no value is present for Version, not even an explicit nil +### GetVulnerabilityCounts + +`func (o *NixPackageUploadRequest) GetVulnerabilityCounts() WebOSVSeverityCounts` + +GetVulnerabilityCounts returns the VulnerabilityCounts field if non-nil, zero value otherwise. + +### GetVulnerabilityCountsOk + +`func (o *NixPackageUploadRequest) GetVulnerabilityCountsOk() (*WebOSVSeverityCounts, bool)` + +GetVulnerabilityCountsOk returns a tuple with the VulnerabilityCounts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVulnerabilityCounts + +`func (o *NixPackageUploadRequest) SetVulnerabilityCounts(v WebOSVSeverityCounts)` + +SetVulnerabilityCounts sets VulnerabilityCounts field to given value. + +### HasVulnerabilityCounts + +`func (o *NixPackageUploadRequest) HasVulnerabilityCounts() bool` + +HasVulnerabilityCounts returns a boolean if a field has been set. + +### SetVulnerabilityCountsNil + +`func (o *NixPackageUploadRequest) SetVulnerabilityCountsNil(b bool)` + + SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil + +### UnsetVulnerabilityCounts +`func (o *NixPackageUploadRequest) UnsetVulnerabilityCounts()` + +UnsetVulnerabilityCounts ensures that no value is present for VulnerabilityCounts, 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/NixUpstream.md b/docs/NixUpstream.md new file mode 100644 index 00000000..def7807b --- /dev/null +++ b/docs/NixUpstream.md @@ -0,0 +1,760 @@ +# NixUpstream + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**Available** | Pointer to **bool** | Whether the upstream is available for use. | [optional] [readonly] +**CanReindex** | Pointer to **bool** | Whether the upstream can be reindexed. | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | The datetime the upstream source was created. | [optional] [readonly] +**DisableReason** | Pointer to **string** | | [optional] [readonly] [default to "N/A"] +**DisableReasonText** | Pointer to **string** | Human-readable explanation of why this upstream is disabled | [optional] [readonly] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**HasFailedSignatureVerification** | Pointer to **bool** | Whether the upstream has failed signature verification. | [optional] [readonly] +**IndexPackageCount** | Pointer to **NullableInt64** | The number of packages available in this upstream source | [optional] [readonly] +**IndexStatus** | Pointer to **NullableString** | The current indexing status of this upstream source | [optional] [readonly] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**LastIndexed** | Pointer to **NullableString** | The last time this upstream source was indexed | [optional] [readonly] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | +**PendingValidation** | Pointer to **bool** | When true, this upstream source is pending validation. | [optional] [readonly] +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**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 + +### NewNixUpstream + +`func NewNixUpstream(name string, upstreamUrl string, ) *NixUpstream` + +NewNixUpstream instantiates a new NixUpstream 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 + +### NewNixUpstreamWithDefaults + +`func NewNixUpstreamWithDefaults() *NixUpstream` + +NewNixUpstreamWithDefaults instantiates a new NixUpstream 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 *NixUpstream) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *NixUpstream) 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 *NixUpstream) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *NixUpstream) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *NixUpstream) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *NixUpstream) 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 *NixUpstream) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *NixUpstream) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *NixUpstream) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *NixUpstream) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *NixUpstream) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *NixUpstream) 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 *NixUpstream) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *NixUpstream) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *NixUpstream) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *NixUpstream) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetAvailable + +`func (o *NixUpstream) GetAvailable() bool` + +GetAvailable returns the Available field if non-nil, zero value otherwise. + +### GetAvailableOk + +`func (o *NixUpstream) 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 *NixUpstream) SetAvailable(v bool)` + +SetAvailable sets Available field to given value. + +### HasAvailable + +`func (o *NixUpstream) HasAvailable() bool` + +HasAvailable returns a boolean if a field has been set. + +### GetCanReindex + +`func (o *NixUpstream) GetCanReindex() bool` + +GetCanReindex returns the CanReindex field if non-nil, zero value otherwise. + +### GetCanReindexOk + +`func (o *NixUpstream) 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 *NixUpstream) SetCanReindex(v bool)` + +SetCanReindex sets CanReindex field to given value. + +### HasCanReindex + +`func (o *NixUpstream) HasCanReindex() bool` + +HasCanReindex returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *NixUpstream) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *NixUpstream) 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 *NixUpstream) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *NixUpstream) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetDisableReason + +`func (o *NixUpstream) GetDisableReason() string` + +GetDisableReason returns the DisableReason field if non-nil, zero value otherwise. + +### GetDisableReasonOk + +`func (o *NixUpstream) 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 *NixUpstream) SetDisableReason(v string)` + +SetDisableReason sets DisableReason field to given value. + +### HasDisableReason + +`func (o *NixUpstream) HasDisableReason() bool` + +HasDisableReason returns a boolean if a field has been set. + +### GetDisableReasonText + +`func (o *NixUpstream) GetDisableReasonText() string` + +GetDisableReasonText returns the DisableReasonText field if non-nil, zero value otherwise. + +### GetDisableReasonTextOk + +`func (o *NixUpstream) 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 *NixUpstream) SetDisableReasonText(v string)` + +SetDisableReasonText sets DisableReasonText field to given value. + +### HasDisableReasonText + +`func (o *NixUpstream) HasDisableReasonText() bool` + +HasDisableReasonText returns a boolean if a field has been set. + +### GetExtraHeader1 + +`func (o *NixUpstream) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *NixUpstream) 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 *NixUpstream) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *NixUpstream) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *NixUpstream) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *NixUpstream) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *NixUpstream) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *NixUpstream) 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 *NixUpstream) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *NixUpstream) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *NixUpstream) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *NixUpstream) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *NixUpstream) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *NixUpstream) 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 *NixUpstream) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *NixUpstream) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *NixUpstream) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *NixUpstream) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *NixUpstream) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *NixUpstream) 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 *NixUpstream) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *NixUpstream) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *NixUpstream) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *NixUpstream) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetHasFailedSignatureVerification + +`func (o *NixUpstream) GetHasFailedSignatureVerification() bool` + +GetHasFailedSignatureVerification returns the HasFailedSignatureVerification field if non-nil, zero value otherwise. + +### GetHasFailedSignatureVerificationOk + +`func (o *NixUpstream) 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 *NixUpstream) SetHasFailedSignatureVerification(v bool)` + +SetHasFailedSignatureVerification sets HasFailedSignatureVerification field to given value. + +### HasHasFailedSignatureVerification + +`func (o *NixUpstream) HasHasFailedSignatureVerification() bool` + +HasHasFailedSignatureVerification returns a boolean if a field has been set. + +### GetIndexPackageCount + +`func (o *NixUpstream) GetIndexPackageCount() int64` + +GetIndexPackageCount returns the IndexPackageCount field if non-nil, zero value otherwise. + +### GetIndexPackageCountOk + +`func (o *NixUpstream) 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 *NixUpstream) SetIndexPackageCount(v int64)` + +SetIndexPackageCount sets IndexPackageCount field to given value. + +### HasIndexPackageCount + +`func (o *NixUpstream) HasIndexPackageCount() bool` + +HasIndexPackageCount returns a boolean if a field has been set. + +### SetIndexPackageCountNil + +`func (o *NixUpstream) SetIndexPackageCountNil(b bool)` + + SetIndexPackageCountNil sets the value for IndexPackageCount to be an explicit nil + +### UnsetIndexPackageCount +`func (o *NixUpstream) UnsetIndexPackageCount()` + +UnsetIndexPackageCount ensures that no value is present for IndexPackageCount, not even an explicit nil +### GetIndexStatus + +`func (o *NixUpstream) GetIndexStatus() string` + +GetIndexStatus returns the IndexStatus field if non-nil, zero value otherwise. + +### GetIndexStatusOk + +`func (o *NixUpstream) 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 *NixUpstream) SetIndexStatus(v string)` + +SetIndexStatus sets IndexStatus field to given value. + +### HasIndexStatus + +`func (o *NixUpstream) HasIndexStatus() bool` + +HasIndexStatus returns a boolean if a field has been set. + +### SetIndexStatusNil + +`func (o *NixUpstream) SetIndexStatusNil(b bool)` + + SetIndexStatusNil sets the value for IndexStatus to be an explicit nil + +### UnsetIndexStatus +`func (o *NixUpstream) UnsetIndexStatus()` + +UnsetIndexStatus ensures that no value is present for IndexStatus, not even an explicit nil +### GetIsActive + +`func (o *NixUpstream) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *NixUpstream) 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 *NixUpstream) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *NixUpstream) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetLastIndexed + +`func (o *NixUpstream) GetLastIndexed() string` + +GetLastIndexed returns the LastIndexed field if non-nil, zero value otherwise. + +### GetLastIndexedOk + +`func (o *NixUpstream) 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 *NixUpstream) SetLastIndexed(v string)` + +SetLastIndexed sets LastIndexed field to given value. + +### HasLastIndexed + +`func (o *NixUpstream) HasLastIndexed() bool` + +HasLastIndexed returns a boolean if a field has been set. + +### SetLastIndexedNil + +`func (o *NixUpstream) SetLastIndexedNil(b bool)` + + SetLastIndexedNil sets the value for LastIndexed to be an explicit nil + +### UnsetLastIndexed +`func (o *NixUpstream) UnsetLastIndexed()` + +UnsetLastIndexed ensures that no value is present for LastIndexed, not even an explicit nil +### GetMode + +`func (o *NixUpstream) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *NixUpstream) 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 *NixUpstream) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *NixUpstream) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *NixUpstream) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NixUpstream) 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 *NixUpstream) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPendingValidation + +`func (o *NixUpstream) GetPendingValidation() bool` + +GetPendingValidation returns the PendingValidation field if non-nil, zero value otherwise. + +### GetPendingValidationOk + +`func (o *NixUpstream) 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 *NixUpstream) SetPendingValidation(v bool)` + +SetPendingValidation sets PendingValidation field to given value. + +### HasPendingValidation + +`func (o *NixUpstream) HasPendingValidation() bool` + +HasPendingValidation returns a boolean if a field has been set. + +### GetPriority + +`func (o *NixUpstream) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *NixUpstream) 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 *NixUpstream) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *NixUpstream) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetSlugPerm + +`func (o *NixUpstream) GetSlugPerm() string` + +GetSlugPerm returns the SlugPerm field if non-nil, zero value otherwise. + +### GetSlugPermOk + +`func (o *NixUpstream) 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 *NixUpstream) SetSlugPerm(v string)` + +SetSlugPerm sets SlugPerm field to given value. + +### HasSlugPerm + +`func (o *NixUpstream) HasSlugPerm() bool` + +HasSlugPerm returns a boolean if a field has been set. + +### GetUpdatedAt + +`func (o *NixUpstream) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *NixUpstream) 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 *NixUpstream) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + +### HasUpdatedAt + +`func (o *NixUpstream) HasUpdatedAt() bool` + +HasUpdatedAt returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *NixUpstream) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *NixUpstream) 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 *NixUpstream) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + + +### GetVerifySsl + +`func (o *NixUpstream) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *NixUpstream) 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 *NixUpstream) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *NixUpstream) 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/NixUpstreamRequest.md b/docs/NixUpstreamRequest.md new file mode 100644 index 00000000..11ff99a5 --- /dev/null +++ b/docs/NixUpstreamRequest.md @@ -0,0 +1,418 @@ +# NixUpstreamRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**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 + +### NewNixUpstreamRequest + +`func NewNixUpstreamRequest(name string, upstreamUrl string, ) *NixUpstreamRequest` + +NewNixUpstreamRequest instantiates a new NixUpstreamRequest 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 + +### NewNixUpstreamRequestWithDefaults + +`func NewNixUpstreamRequestWithDefaults() *NixUpstreamRequest` + +NewNixUpstreamRequestWithDefaults instantiates a new NixUpstreamRequest 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 *NixUpstreamRequest) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *NixUpstreamRequest) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *NixUpstreamRequest) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *NixUpstreamRequest) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *NixUpstreamRequest) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *NixUpstreamRequest) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *NixUpstreamRequest) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *NixUpstreamRequest) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *NixUpstreamRequest) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *NixUpstreamRequest) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetExtraHeader1 + +`func (o *NixUpstreamRequest) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *NixUpstreamRequest) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *NixUpstreamRequest) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *NixUpstreamRequest) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *NixUpstreamRequest) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *NixUpstreamRequest) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *NixUpstreamRequest) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *NixUpstreamRequest) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *NixUpstreamRequest) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *NixUpstreamRequest) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *NixUpstreamRequest) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *NixUpstreamRequest) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *NixUpstreamRequest) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *NixUpstreamRequest) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *NixUpstreamRequest) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *NixUpstreamRequest) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetIsActive + +`func (o *NixUpstreamRequest) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *NixUpstreamRequest) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetMode + +`func (o *NixUpstreamRequest) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *NixUpstreamRequest) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *NixUpstreamRequest) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetName(v string)` + +SetName sets Name field to given value. + + +### GetPriority + +`func (o *NixUpstreamRequest) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *NixUpstreamRequest) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *NixUpstreamRequest) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + + +### GetVerifySsl + +`func (o *NixUpstreamRequest) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *NixUpstreamRequest) 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/NixUpstreamRequestPatch.md b/docs/NixUpstreamRequestPatch.md new file mode 100644 index 00000000..79ab55c5 --- /dev/null +++ b/docs/NixUpstreamRequestPatch.md @@ -0,0 +1,428 @@ +# NixUpstreamRequestPatch + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**AuthMode** | Pointer to **string** | The authentication mode to use when accessing this upstream. | [optional] [default to "None"] +**AuthSecret** | Pointer to **NullableString** | Secret to provide with requests to upstream. | [optional] +**AuthUsername** | Pointer to **NullableString** | Username to provide with requests to upstream. | [optional] +**ExtraHeader1** | Pointer to **NullableString** | The key for extra header #1 to send to upstream. | [optional] +**ExtraHeader2** | Pointer to **NullableString** | The key for extra header #2 to send to upstream. | [optional] +**ExtraValue1** | Pointer to **NullableString** | The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**ExtraValue2** | Pointer to **NullableString** | The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. | [optional] +**IsActive** | Pointer to **bool** | Whether or not this upstream is active and ready for requests. | [optional] +**Mode** | Pointer to **string** | The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. | [optional] [default to "Proxy Only"] +**Name** | Pointer to **string** | A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. | [optional] +**Priority** | Pointer to **int64** | Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. | [optional] +**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 + +### NewNixUpstreamRequestPatch + +`func NewNixUpstreamRequestPatch() *NixUpstreamRequestPatch` + +NewNixUpstreamRequestPatch instantiates a new NixUpstreamRequestPatch 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 + +### NewNixUpstreamRequestPatchWithDefaults + +`func NewNixUpstreamRequestPatchWithDefaults() *NixUpstreamRequestPatch` + +NewNixUpstreamRequestPatchWithDefaults instantiates a new NixUpstreamRequestPatch 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 *NixUpstreamRequestPatch) GetAuthMode() string` + +GetAuthMode returns the AuthMode field if non-nil, zero value otherwise. + +### GetAuthModeOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetAuthMode(v string)` + +SetAuthMode sets AuthMode field to given value. + +### HasAuthMode + +`func (o *NixUpstreamRequestPatch) HasAuthMode() bool` + +HasAuthMode returns a boolean if a field has been set. + +### GetAuthSecret + +`func (o *NixUpstreamRequestPatch) GetAuthSecret() string` + +GetAuthSecret returns the AuthSecret field if non-nil, zero value otherwise. + +### GetAuthSecretOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetAuthSecret(v string)` + +SetAuthSecret sets AuthSecret field to given value. + +### HasAuthSecret + +`func (o *NixUpstreamRequestPatch) HasAuthSecret() bool` + +HasAuthSecret returns a boolean if a field has been set. + +### SetAuthSecretNil + +`func (o *NixUpstreamRequestPatch) SetAuthSecretNil(b bool)` + + SetAuthSecretNil sets the value for AuthSecret to be an explicit nil + +### UnsetAuthSecret +`func (o *NixUpstreamRequestPatch) UnsetAuthSecret()` + +UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +### GetAuthUsername + +`func (o *NixUpstreamRequestPatch) GetAuthUsername() string` + +GetAuthUsername returns the AuthUsername field if non-nil, zero value otherwise. + +### GetAuthUsernameOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetAuthUsername(v string)` + +SetAuthUsername sets AuthUsername field to given value. + +### HasAuthUsername + +`func (o *NixUpstreamRequestPatch) HasAuthUsername() bool` + +HasAuthUsername returns a boolean if a field has been set. + +### SetAuthUsernameNil + +`func (o *NixUpstreamRequestPatch) SetAuthUsernameNil(b bool)` + + SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil + +### UnsetAuthUsername +`func (o *NixUpstreamRequestPatch) UnsetAuthUsername()` + +UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +### GetExtraHeader1 + +`func (o *NixUpstreamRequestPatch) GetExtraHeader1() string` + +GetExtraHeader1 returns the ExtraHeader1 field if non-nil, zero value otherwise. + +### GetExtraHeader1Ok + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraHeader1(v string)` + +SetExtraHeader1 sets ExtraHeader1 field to given value. + +### HasExtraHeader1 + +`func (o *NixUpstreamRequestPatch) HasExtraHeader1() bool` + +HasExtraHeader1 returns a boolean if a field has been set. + +### SetExtraHeader1Nil + +`func (o *NixUpstreamRequestPatch) SetExtraHeader1Nil(b bool)` + + SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil + +### UnsetExtraHeader1 +`func (o *NixUpstreamRequestPatch) UnsetExtraHeader1()` + +UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +### GetExtraHeader2 + +`func (o *NixUpstreamRequestPatch) GetExtraHeader2() string` + +GetExtraHeader2 returns the ExtraHeader2 field if non-nil, zero value otherwise. + +### GetExtraHeader2Ok + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraHeader2(v string)` + +SetExtraHeader2 sets ExtraHeader2 field to given value. + +### HasExtraHeader2 + +`func (o *NixUpstreamRequestPatch) HasExtraHeader2() bool` + +HasExtraHeader2 returns a boolean if a field has been set. + +### SetExtraHeader2Nil + +`func (o *NixUpstreamRequestPatch) SetExtraHeader2Nil(b bool)` + + SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil + +### UnsetExtraHeader2 +`func (o *NixUpstreamRequestPatch) UnsetExtraHeader2()` + +UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +### GetExtraValue1 + +`func (o *NixUpstreamRequestPatch) GetExtraValue1() string` + +GetExtraValue1 returns the ExtraValue1 field if non-nil, zero value otherwise. + +### GetExtraValue1Ok + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraValue1(v string)` + +SetExtraValue1 sets ExtraValue1 field to given value. + +### HasExtraValue1 + +`func (o *NixUpstreamRequestPatch) HasExtraValue1() bool` + +HasExtraValue1 returns a boolean if a field has been set. + +### SetExtraValue1Nil + +`func (o *NixUpstreamRequestPatch) SetExtraValue1Nil(b bool)` + + SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil + +### UnsetExtraValue1 +`func (o *NixUpstreamRequestPatch) UnsetExtraValue1()` + +UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +### GetExtraValue2 + +`func (o *NixUpstreamRequestPatch) GetExtraValue2() string` + +GetExtraValue2 returns the ExtraValue2 field if non-nil, zero value otherwise. + +### GetExtraValue2Ok + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraValue2(v string)` + +SetExtraValue2 sets ExtraValue2 field to given value. + +### HasExtraValue2 + +`func (o *NixUpstreamRequestPatch) HasExtraValue2() bool` + +HasExtraValue2 returns a boolean if a field has been set. + +### SetExtraValue2Nil + +`func (o *NixUpstreamRequestPatch) SetExtraValue2Nil(b bool)` + + SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil + +### UnsetExtraValue2 +`func (o *NixUpstreamRequestPatch) UnsetExtraValue2()` + +UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +### GetIsActive + +`func (o *NixUpstreamRequestPatch) GetIsActive() bool` + +GetIsActive returns the IsActive field if non-nil, zero value otherwise. + +### GetIsActiveOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetIsActive(v bool)` + +SetIsActive sets IsActive field to given value. + +### HasIsActive + +`func (o *NixUpstreamRequestPatch) HasIsActive() bool` + +HasIsActive returns a boolean if a field has been set. + +### GetMode + +`func (o *NixUpstreamRequestPatch) GetMode() string` + +GetMode returns the Mode field if non-nil, zero value otherwise. + +### GetModeOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetMode(v string)` + +SetMode sets Mode field to given value. + +### HasMode + +`func (o *NixUpstreamRequestPatch) HasMode() bool` + +HasMode returns a boolean if a field has been set. + +### GetName + +`func (o *NixUpstreamRequestPatch) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *NixUpstreamRequestPatch) HasName() bool` + +HasName returns a boolean if a field has been set. + +### GetPriority + +`func (o *NixUpstreamRequestPatch) GetPriority() int64` + +GetPriority returns the Priority field if non-nil, zero value otherwise. + +### GetPriorityOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetPriority(v int64)` + +SetPriority sets Priority field to given value. + +### HasPriority + +`func (o *NixUpstreamRequestPatch) HasPriority() bool` + +HasPriority returns a boolean if a field has been set. + +### GetUpstreamUrl + +`func (o *NixUpstreamRequestPatch) GetUpstreamUrl() string` + +GetUpstreamUrl returns the UpstreamUrl field if non-nil, zero value otherwise. + +### GetUpstreamUrlOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetUpstreamUrl(v string)` + +SetUpstreamUrl sets UpstreamUrl field to given value. + +### HasUpstreamUrl + +`func (o *NixUpstreamRequestPatch) HasUpstreamUrl() bool` + +HasUpstreamUrl returns a boolean if a field has been set. + +### GetVerifySsl + +`func (o *NixUpstreamRequestPatch) GetVerifySsl() bool` + +GetVerifySsl returns the VerifySsl field if non-nil, zero value otherwise. + +### GetVerifySslOk + +`func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetVerifySsl(v bool)` + +SetVerifySsl sets VerifySsl field to given value. + +### HasVerifySsl + +`func (o *NixUpstreamRequestPatch) 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/Oidc1.md b/docs/Oidc1.md new file mode 100644 index 00000000..2cde230b --- /dev/null +++ b/docs/Oidc1.md @@ -0,0 +1,56 @@ +# Oidc1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Token** | Pointer to **string** | Serialized JWT to be used for authentication. | [optional] + +## Methods + +### NewOidc1 + +`func NewOidc1() *Oidc1` + +NewOidc1 instantiates a new Oidc1 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 + +### NewOidc1WithDefaults + +`func NewOidc1WithDefaults() *Oidc1` + +NewOidc1WithDefaults instantiates a new Oidc1 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 + +### GetToken + +`func (o *Oidc1) GetToken() string` + +GetToken returns the Token field if non-nil, zero value otherwise. + +### GetTokenOk + +`func (o *Oidc1) GetTokenOk() (*string, bool)` + +GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetToken + +`func (o *Oidc1) SetToken(v string)` + +SetToken sets Token field to given value. + +### HasToken + +`func (o *Oidc1) HasToken() bool` + +HasToken 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/OidcRequest.md b/docs/OidcRequest.md new file mode 100644 index 00000000..8cd8e0ea --- /dev/null +++ b/docs/OidcRequest.md @@ -0,0 +1,72 @@ +# OidcRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OidcToken** | **string** | Serialized OIDC token. | +**ServiceSlug** | **string** | Slug for the service account. | + +## Methods + +### NewOidcRequest + +`func NewOidcRequest(oidcToken string, serviceSlug string, ) *OidcRequest` + +NewOidcRequest instantiates a new OidcRequest 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 + +### NewOidcRequestWithDefaults + +`func NewOidcRequestWithDefaults() *OidcRequest` + +NewOidcRequestWithDefaults instantiates a new OidcRequest 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 + +### GetOidcToken + +`func (o *OidcRequest) GetOidcToken() string` + +GetOidcToken returns the OidcToken field if non-nil, zero value otherwise. + +### GetOidcTokenOk + +`func (o *OidcRequest) GetOidcTokenOk() (*string, bool)` + +GetOidcTokenOk returns a tuple with the OidcToken field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOidcToken + +`func (o *OidcRequest) SetOidcToken(v string)` + +SetOidcToken sets OidcToken field to given value. + + +### GetServiceSlug + +`func (o *OidcRequest) GetServiceSlug() string` + +GetServiceSlug returns the ServiceSlug field if non-nil, zero value otherwise. + +### GetServiceSlugOk + +`func (o *OidcRequest) GetServiceSlugOk() (*string, bool)` + +GetServiceSlugOk returns a tuple with the ServiceSlug field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetServiceSlug + +`func (o *OidcRequest) SetServiceSlug(v string)` + +SetServiceSlug sets ServiceSlug 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/OpenidApi.md b/docs/OpenidApi.md new file mode 100644 index 00000000..ae91ee7e --- /dev/null +++ b/docs/OpenidApi.md @@ -0,0 +1,81 @@ +# \OpenidApi + +All URIs are relative to *https://api.cloudsmith.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**OpenidCreate**](OpenidApi.md#OpenidCreate) | **Post** /openid/{owner}/ | Get a JWT token for a configured service account belonging to the requesting org. + + + +## OpenidCreate + +> Oidc1 OpenidCreate(ctx, owner).Data(data).Execute() + +Get a JWT token for a configured service account belonging to the requesting org. + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/cloudsmith-io/cloudsmith-api-go" +) + +func main() { + owner := "owner_example" // string | + data := *openapiclient.NewOidcRequest("OidcToken_example", "ServiceSlug_example") // OidcRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.OpenidApi.OpenidCreate(context.Background(), owner).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `OpenidApi.OpenidCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `OpenidCreate`: Oidc1 + fmt.Fprintf(os.Stdout, "Response from `OpenidApi.OpenidCreate`: %v\n", resp) +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**owner** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiOpenidCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + **data** | [**OidcRequest**](OidcRequest.md) | | + +### Return type + +[**Oidc1**](Oidc1.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) + diff --git a/docs/PackagesApi.md b/docs/PackagesApi.md index 4dc67537..8487b46f 100644 --- a/docs/PackagesApi.md +++ b/docs/PackagesApi.md @@ -35,6 +35,7 @@ Method | HTTP request | Description [**PackagesUploadLuarocks**](PackagesApi.md#PackagesUploadLuarocks) | **Post** /packages/{owner}/{repo}/upload/luarocks/ | Create a new LuaRocks package [**PackagesUploadMaven**](PackagesApi.md#PackagesUploadMaven) | **Post** /packages/{owner}/{repo}/upload/maven/ | Create a new Maven package [**PackagesUploadMcp**](PackagesApi.md#PackagesUploadMcp) | **Post** /packages/{owner}/{repo}/upload/mcp/ | Create a new MCP package +[**PackagesUploadNix**](PackagesApi.md#PackagesUploadNix) | **Post** /packages/{owner}/{repo}/upload/nix/ | Create a new Nix package [**PackagesUploadNpm**](PackagesApi.md#PackagesUploadNpm) | **Post** /packages/{owner}/{repo}/upload/npm/ | Create a new npm package [**PackagesUploadNuget**](PackagesApi.md#PackagesUploadNuget) | **Post** /packages/{owner}/{repo}/upload/nuget/ | Create a new NuGet package [**PackagesUploadP2**](PackagesApi.md#PackagesUploadP2) | **Post** /packages/{owner}/{repo}/upload/p2/ | Create a new P2 package @@ -64,6 +65,7 @@ Method | HTTP request | Description [**PackagesValidateUploadLuarocks**](PackagesApi.md#PackagesValidateUploadLuarocks) | **Post** /packages/{owner}/{repo}/validate-upload/luarocks/ | Validate parameters for create LuaRocks package [**PackagesValidateUploadMaven**](PackagesApi.md#PackagesValidateUploadMaven) | **Post** /packages/{owner}/{repo}/validate-upload/maven/ | Validate parameters for create Maven package [**PackagesValidateUploadMcp**](PackagesApi.md#PackagesValidateUploadMcp) | **Post** /packages/{owner}/{repo}/validate-upload/mcp/ | Validate parameters for create MCP package +[**PackagesValidateUploadNix**](PackagesApi.md#PackagesValidateUploadNix) | **Post** /packages/{owner}/{repo}/validate-upload/nix/ | Validate parameters for create Nix package [**PackagesValidateUploadNpm**](PackagesApi.md#PackagesValidateUploadNpm) | **Post** /packages/{owner}/{repo}/validate-upload/npm/ | Validate parameters for create npm package [**PackagesValidateUploadNuget**](PackagesApi.md#PackagesValidateUploadNuget) | **Post** /packages/{owner}/{repo}/validate-upload/nuget/ | Validate parameters for create NuGet package [**PackagesValidateUploadP2**](PackagesApi.md#PackagesValidateUploadP2) | **Post** /packages/{owner}/{repo}/validate-upload/p2/ | Validate parameters for create P2 package @@ -2448,6 +2450,81 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## PackagesUploadNix + +> NixPackageUpload PackagesUploadNix(ctx, owner, repo).Data(data).Execute() + +Create a new Nix 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.NewNixPackageUploadRequest("PackageFile_example") // NixPackageUploadRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.PackagesApi.PackagesUploadNix(context.Background(), owner, repo).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesUploadNix``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `PackagesUploadNix`: NixPackageUpload + fmt.Fprintf(os.Stdout, "Response from `PackagesApi.PackagesUploadNix`: %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 apiPackagesUploadNixRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**NixPackageUploadRequest**](NixPackageUploadRequest.md) | | + +### Return type + +[**NixPackageUpload**](NixPackageUpload.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) + + ## PackagesUploadNpm > NpmPackageUpload PackagesUploadNpm(ctx, owner, repo).Data(data).Execute() @@ -4587,6 +4664,79 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## PackagesValidateUploadNix + +> PackagesValidateUploadNix(ctx, owner, repo).Data(data).Execute() + +Validate parameters for create Nix 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.NewNixPackageUploadRequest("PackageFile_example") // NixPackageUploadRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.PackagesApi.PackagesValidateUploadNix(context.Background(), owner, repo).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `PackagesApi.PackagesValidateUploadNix``: %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 apiPackagesValidateUploadNixRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**NixPackageUploadRequest**](NixPackageUploadRequest.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) + + ## PackagesValidateUploadNpm > PackagesValidateUploadNpm(ctx, owner, repo).Data(data).Execute() diff --git a/docs/ReposApi.md b/docs/ReposApi.md index cebb1bc1..ad5d857e 100644 --- a/docs/ReposApi.md +++ b/docs/ReposApi.md @@ -124,6 +124,12 @@ Method | HTTP request | Description [**ReposUpstreamMavenPartialUpdate**](ReposApi.md#ReposUpstreamMavenPartialUpdate) | **Patch** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Partially update a Maven upstream config for this repository. [**ReposUpstreamMavenRead**](ReposApi.md#ReposUpstreamMavenRead) | **Get** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Retrieve a Maven upstream config for this repository. [**ReposUpstreamMavenUpdate**](ReposApi.md#ReposUpstreamMavenUpdate) | **Put** /repos/{owner}/{identifier}/upstream/maven/{slug_perm}/ | Update a Maven upstream config for this repository. +[**ReposUpstreamNixCreate**](ReposApi.md#ReposUpstreamNixCreate) | **Post** /repos/{owner}/{identifier}/upstream/nix/ | Create a Nix upstream config for this repository. +[**ReposUpstreamNixDelete**](ReposApi.md#ReposUpstreamNixDelete) | **Delete** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Delete a Nix upstream config for this repository. +[**ReposUpstreamNixList**](ReposApi.md#ReposUpstreamNixList) | **Get** /repos/{owner}/{identifier}/upstream/nix/ | List Nix upstream configs for this repository. +[**ReposUpstreamNixPartialUpdate**](ReposApi.md#ReposUpstreamNixPartialUpdate) | **Patch** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Partially update a Nix upstream config for this repository. +[**ReposUpstreamNixRead**](ReposApi.md#ReposUpstreamNixRead) | **Get** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Retrieve a Nix upstream config for this repository. +[**ReposUpstreamNixUpdate**](ReposApi.md#ReposUpstreamNixUpdate) | **Put** /repos/{owner}/{identifier}/upstream/nix/{slug_perm}/ | Update a Nix upstream config for this repository. [**ReposUpstreamNpmCreate**](ReposApi.md#ReposUpstreamNpmCreate) | **Post** /repos/{owner}/{identifier}/upstream/npm/ | Create a npm upstream config for this repository. [**ReposUpstreamNpmDelete**](ReposApi.md#ReposUpstreamNpmDelete) | **Delete** /repos/{owner}/{identifier}/upstream/npm/{slug_perm}/ | Delete a npm upstream config for this repository. [**ReposUpstreamNpmList**](ReposApi.md#ReposUpstreamNpmList) | **Get** /repos/{owner}/{identifier}/upstream/npm/ | List npm upstream configs for this repository. @@ -9250,6 +9256,464 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ReposUpstreamNixCreate + +> NixUpstream ReposUpstreamNixCreate(ctx, owner, identifier).Data(data).Execute() + +Create a Nix 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.NewNixUpstreamRequest("Name_example", "UpstreamUrl_example") // NixUpstreamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamNixCreate(context.Background(), owner, identifier).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamNixCreate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamNixCreate`: NixUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamNixCreate`: %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 apiReposUpstreamNixCreateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **data** | [**NixUpstreamRequest**](NixUpstreamRequest.md) | | + +### Return type + +[**NixUpstream**](NixUpstream.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) + + +## ReposUpstreamNixDelete + +> ReposUpstreamNixDelete(ctx, owner, identifier, slugPerm).Execute() + +Delete a Nix 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.ReposUpstreamNixDelete(context.Background(), owner, identifier, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamNixDelete``: %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 apiReposUpstreamNixDeleteRequest 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) + + +## ReposUpstreamNixList + +> []NixUpstream ReposUpstreamNixList(ctx, owner, identifier).Page(page).PageSize(pageSize).Execute() + +List Nix 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.ReposUpstreamNixList(context.Background(), owner, identifier).Page(page).PageSize(pageSize).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamNixList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamNixList`: []NixUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamNixList`: %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 apiReposUpstreamNixListRequest 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 + +[**[]NixUpstream**](NixUpstream.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) + + +## ReposUpstreamNixPartialUpdate + +> NixUpstream ReposUpstreamNixPartialUpdate(ctx, owner, identifier, slugPerm).Data(data).Execute() + +Partially update a Nix 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.NewNixUpstreamRequestPatch() // NixUpstreamRequestPatch | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamNixPartialUpdate(context.Background(), owner, identifier, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamNixPartialUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamNixPartialUpdate`: NixUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamNixPartialUpdate`: %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 apiReposUpstreamNixPartialUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **data** | [**NixUpstreamRequestPatch**](NixUpstreamRequestPatch.md) | | + +### Return type + +[**NixUpstream**](NixUpstream.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) + + +## ReposUpstreamNixRead + +> NixUpstream ReposUpstreamNixRead(ctx, owner, identifier, slugPerm).Execute() + +Retrieve a Nix 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.ReposUpstreamNixRead(context.Background(), owner, identifier, slugPerm).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamNixRead``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamNixRead`: NixUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamNixRead`: %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 apiReposUpstreamNixReadRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + +### Return type + +[**NixUpstream**](NixUpstream.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) + + +## ReposUpstreamNixUpdate + +> NixUpstream ReposUpstreamNixUpdate(ctx, owner, identifier, slugPerm).Data(data).Execute() + +Update a Nix 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.NewNixUpstreamRequest("Name_example", "UpstreamUrl_example") // NixUpstreamRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposUpstreamNixUpdate(context.Background(), owner, identifier, slugPerm).Data(data).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposUpstreamNixUpdate``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposUpstreamNixUpdate`: NixUpstream + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposUpstreamNixUpdate`: %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 apiReposUpstreamNixUpdateRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **data** | [**NixUpstreamRequest**](NixUpstreamRequest.md) | | + +### Return type + +[**NixUpstream**](NixUpstream.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) + + ## ReposUpstreamNpmCreate > NpmUpstream ReposUpstreamNpmCreate(ctx, owner, identifier).Data(data).Execute() diff --git a/model_allocated_limit.go b/model_allocated_limit.go index ccb8081f..a4b5dc39 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_allocated_limit_raw.go b/model_allocated_limit_raw.go index a2f40259..b6fdccd2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go index 9cfe201f..cbb03c69 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload_request.go b/model_alpine_package_upload_request.go index 1f4a00b7..3319d41b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream.go b/model_alpine_upstream.go index 1d386ce0..791f3bb8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request.go b/model_alpine_upstream_request.go index b1c06e41..c7764c87 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_alpine_upstream_request_patch.go b/model_alpine_upstream_request_patch.go index f2321d0f..2a5422eb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_architecture.go b/model_architecture.go index 875f6aa6..005f79a1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token.go b/model_broadcast_token.go index e9928988..8baef25e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_broadcast_token_input.go b/model_broadcast_token_input.go index 7f8efa29..7c432ee6 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go index 405baf99..a96eaaee 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go index 3cdf791d..a3df19b0 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream.go b/model_cargo_upstream.go index d637ad6e..39975255 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request.go b/model_cargo_upstream_request.go index 7c45a6e0..2821637e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cargo_upstream_request_patch.go b/model_cargo_upstream_request_patch.go index e3a5a166..9e9d228b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload.go b/model_cocoapods_package_upload.go index 06574833..c210c5e2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go index b24727a2..5a807d43 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go index 3fcf902f..bd54cedb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go index 3ddc82ac..3b7a209c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go index 52a45f77..e2c2b27a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go index 720fcc42..cb185493 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_common_metrics.go b/model_common_metrics.go index ce0a230e..0633ed1b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload.go b/model_composer_package_upload.go index 69a0ff8e..207dbbc1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go index c41ef95f..7fc60d6d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream.go b/model_composer_upstream.go index 6c1dc3b2..307cdbb7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request.go b/model_composer_upstream_request.go index 4c6e2a4e..d26ed8df 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request_patch.go b/model_composer_upstream_request_patch.go index 51e51f23..a241975d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload.go b/model_conan_package_upload.go index 2748d366..88544ace 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go index ef99bb1e..4fbe5335 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go index 77f061a6..1afc4693 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go index 7d859b93..3c1992fb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream.go b/model_conda_upstream.go index 6739526a..e35b8f48 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request.go b/model_conda_upstream_request.go index 1c65c2bd..dc39ea79 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_conda_upstream_request_patch.go b/model_conda_upstream_request_patch.go index b33fe1bf..e8d13888 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository.go b/model_connected_repository.go index 4541fd97..c9b2a17b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_request.go b/model_connected_repository_request.go index c4f91d9d..b32a239b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_connected_repository_request_patch.go b/model_connected_repository_request_patch.go index 1c46d96d..06e6e3bf 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go index 0c984e58..0b5a951e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go index 376ed4f5..0259cb64 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream.go b/model_cran_upstream.go index 6426e3a1..aa2134d4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request.go b/model_cran_upstream_request.go index 7b800a6f..67f98bf9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request_patch.go b/model_cran_upstream_request_patch.go index 7f4d9eb8..3ea6626b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go index 62cdc9d5..bae098b7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go index f7a348ba..9213a583 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream.go b/model_dart_upstream.go index 6e013ffc..4db7d288 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request.go b/model_dart_upstream_request.go index c41d4511..5d0bb0a3 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request_patch.go b/model_dart_upstream_request_patch.go index f22ce82f..fc6faf85 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go index bb21bdcd..6c71e0f2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go index 60e18e0c..8d129312 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream.go b/model_deb_upstream.go index b78b9d9a..5328dbef 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request.go b/model_deb_upstream_request.go index b6eed8ae..8ad33801 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request_patch.go b/model_deb_upstream_request_patch.go index eaeaae52..5054f4f8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_distribution.go b/model_distribution.go index 051a0b49..b9f5ab0d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_distribution_full.go b/model_distribution_full.go index 6ebdf361..997eacf9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_distribution_version.go b/model_distribution_version.go index 3a495303..4df41077 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go index 69c44b3f..87c50033 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go index 3e807afc..cac2c9ea 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream.go b/model_docker_upstream.go index fdcd945a..edcb2682 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request.go b/model_docker_upstream_request.go index 6202d56b..3a9a2a23 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request_patch.go b/model_docker_upstream_request_patch.go index 3f82171b..7c2c89b5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_dynamic_mapping.go b/model_dynamic_mapping.go index 812ed7ab..82261c66 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go index 0ef168f7..7ab2be00 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_error_detail.go b/model_error_detail.go index 6b0dd94c..8f9ab13b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_eula.go b/model_eula.go index 3b9ddeda..d80c285d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_format.go b/model_format.go index 31148fc6..04d006a6 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_format_support.go b/model_format_support.go index 2ae490d5..2c613007 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_format_support_upstream.go b/model_format_support_upstream.go index 47141d54..e5dfa104 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_generic_package_upload.go b/model_generic_package_upload.go index 83480754..52555730 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_generic_package_upload_request.go b/model_generic_package_upload_request.go index 6f62714b..903dd2b2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream.go b/model_generic_upstream.go index 422b361d..2540b04c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request.go b/model_generic_upstream_request.go index 21b8e9bf..dffeaa17 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_generic_upstream_request_patch.go b/model_generic_upstream_request_patch.go index 17abca6c..2ae123c6 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go index 9d3ac305..134e3f2c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload.go b/model_go_package_upload.go index 6a1c5cf5..55a2f8f4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload_request.go b/model_go_package_upload_request.go index 696a3cfb..773cdcf2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream.go b/model_go_upstream.go index 18d71fcb..027b29d6 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request.go b/model_go_upstream_request.go index b8a79f9f..bc4ee4ab 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_go_upstream_request_patch.go b/model_go_upstream_request_patch.go index a1ff817a..d4062cd6 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go index 84fd74e1..ef744de5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go index 13c06868..9e77f81b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream.go b/model_helm_upstream.go index e724a57c..3f43aa33 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request.go b/model_helm_upstream_request.go index 609c6d23..d6ca56e5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request_patch.go b/model_helm_upstream_request_patch.go index 374624c9..075b9096 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload.go b/model_hex_package_upload.go index 2d9f406c..2b9bae91 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload_request.go b/model_hex_package_upload_request.go index 79941000..b14a89bd 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream.go b/model_hex_upstream.go index 3f5e360f..4c9945c9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request.go b/model_hex_upstream_request.go index 40b48c8d..2b497328 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request_patch.go b/model_hex_upstream_request_patch.go index 7b4b7215..41b5fd79 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_history.go b/model_history.go index eb1ec532..9ea9a37e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset.go b/model_history_fieldset.go index 506444a0..31ec8dc9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset_raw.go b/model_history_fieldset_raw.go index f347e190..63045627 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload.go b/model_huggingface_package_upload.go index 79123db4..8ddeec67 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_package_upload_request.go b/model_huggingface_package_upload_request.go index c1450ac6..e9926d02 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream.go b/model_huggingface_upstream.go index f2121569..4ea91080 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request.go b/model_huggingface_upstream_request.go index 27b35bb9..013c7b9c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_huggingface_upstream_request_patch.go b/model_huggingface_upstream_request_patch.go index 680a6282..bab56f87 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload.go b/model_luarocks_package_upload.go index 1136ed82..389c87c2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go index 5192e76d..fd8e8e1e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload.go b/model_maven_package_upload.go index 709baff8..c51e7f9b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go index ac4501d7..87841286 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream.go b/model_maven_upstream.go index bc7e2ff7..00a2ea50 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request.go b/model_maven_upstream_request.go index 03a01227..f8d562c8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request_patch.go b/model_maven_upstream_request_patch.go index d8266df6..b5b347e3 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload.go b/model_mcp_package_upload.go index 14eed199..aad4e6f2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_mcp_package_upload_request.go b/model_mcp_package_upload_request.go index 89d9488d..3cfd45e4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_member_teams.go b/model_member_teams.go index 96a4178a..7127db89 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_namespace.go b/model_namespace.go index b7752339..b6b3f268 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go index 2da79ed7..23f8b01b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nested_license_policy.go b/model_nested_license_policy.go index b351f362..eeab77ca 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_policy.go b/model_nested_vulnerability_policy.go index f43c77e2..04f46da2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_scan_results.go b/model_nested_vulnerability_scan_results.go index 4d8b4609..1966eba4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nix_package_upload.go b/model_nix_package_upload.go new file mode 100644 index 00000000..a91599cb --- /dev/null +++ b/model_nix_package_upload.go @@ -0,0 +1,3724 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" + "time" +) + +// checks if the NixPackageUpload type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NixPackageUpload{} + +// NixPackageUpload struct for NixPackageUpload +type NixPackageUpload struct { + Architectures []Architecture `json:"architectures,omitempty"` + CdnUrl NullableString `json:"cdn_url,omitempty"` + ChecksumMd5 *string `json:"checksum_md5,omitempty"` + ChecksumSha1 *string `json:"checksum_sha1,omitempty"` + ChecksumSha256 *string `json:"checksum_sha256,omitempty"` + ChecksumSha512 *string `json:"checksum_sha512,omitempty"` + // A checksum of all of the package's dependencies. + DependenciesChecksumMd5 NullableString `json:"dependencies_checksum_md5,omitempty"` + DependenciesUrl *string `json:"dependencies_url,omitempty"` + // A textual description of this package. + Description NullableString `json:"description,omitempty"` + DisplayName *string `json:"display_name,omitempty"` + 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"` + // 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"` + 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. + Name NullableString `json:"name,omitempty"` + Namespace *string `json:"namespace,omitempty"` + NamespaceUrl *string `json:"namespace_url,omitempty"` + NumFiles *int64 `json:"num_files,omitempty"` + OriginRepository *string `json:"origin_repository,omitempty"` + OriginRepositoryUrl *string `json:"origin_repository_url,omitempty"` + // Whether the package's SPDX license is OSI-approved. + OsiApproved *bool `json:"osi_approved,omitempty"` + // The type of package contents. + PackageType *int64 `json:"package_type,omitempty"` + // Whether or not the package has violated any policy. + PolicyViolated *bool `json:"policy_violated,omitempty"` + // The raw license string. + RawLicense NullableString `json:"raw_license,omitempty"` + // The release of the package version (if any). + Release NullableString `json:"release,omitempty"` + Repository *string `json:"repository,omitempty"` + RepositoryUrl *string `json:"repository_url,omitempty"` + // The datetime the security scanning was completed. + SecurityScanCompletedAt NullableTime `json:"security_scan_completed_at,omitempty"` + // The datetime the security scanning was started. + SecurityScanStartedAt NullableTime `json:"security_scan_started_at,omitempty"` + SecurityScanStatus NullableString `json:"security_scan_status,omitempty"` + // The datetime the security scanning status was updated. + SecurityScanStatusUpdatedAt NullableTime `json:"security_scan_status_updated_at,omitempty"` + SelfHtmlUrl *string `json:"self_html_url,omitempty"` + SelfUrl *string `json:"self_url,omitempty"` + SelfWebappUrl *string `json:"self_webapp_url,omitempty"` + SignatureUrl NullableString `json:"signature_url,omitempty"` + // The calculated size of the package. + Size *int64 `json:"size,omitempty"` + // The public unique identifier for the package. + Slug *string `json:"slug,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + SlugPerm *string `json:"slug_perm,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` + // The SPDX license identifier for this package. + SpdxLicense NullableString `json:"spdx_license,omitempty"` + // The synchronisation (in progress) stage of the package. + Stage *int64 `json:"stage,omitempty"` + StageStr *string `json:"stage_str,omitempty"` + // The datetime the package stage was updated at. + StageUpdatedAt *time.Time `json:"stage_updated_at,omitempty"` + // The synchronisation status of the package. + Status *int64 `json:"status,omitempty"` + // A textual description for the synchronous status reason (if any + StatusReason NullableString `json:"status_reason,omitempty"` + StatusStr *string `json:"status_str,omitempty"` + // The datetime the package status was updated at. + StatusUpdatedAt *time.Time `json:"status_updated_at,omitempty"` + StatusUrl *string `json:"status_url,omitempty"` + // Absolute store path for the package, including store hash and name. + StorePath NullableString `json:"store_path,omitempty"` + Subtype *string `json:"subtype,omitempty"` + // A one-liner synopsis of this package. + Summary NullableString `json:"summary,omitempty"` + // The datetime the package sync was finished at. + SyncFinishedAt NullableTime `json:"sync_finished_at,omitempty"` + // Synchronisation progress (from 0-100) + SyncProgress *int64 `json:"sync_progress,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsAutomatic map[string]interface{} `json:"tags_automatic,omitempty"` + // All tags on the package, grouped by tag type. This includes immutable tags, but doesn't distinguish them from mutable. To see which tags are immutable specifically, see the tags_immutable field. + TagsImmutable map[string]interface{} `json:"tags_immutable,omitempty"` + // All static tags on the package, grouped by context. Static tags are derived from the package's properties at request time and carry a 'context' (rather than a tag type). Includes format-specific badges and the package's architecture, subtype, and extension. + TagsStatic *map[string][]string `json:"tags_static,omitempty"` + TypeDisplay *string `json:"type_display,omitempty"` + // The date this package was uploaded. + UploadedAt *time.Time `json:"uploaded_at,omitempty"` + Uploader *string `json:"uploader,omitempty"` + UploaderUrl *string `json:"uploader_url,omitempty"` + // 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"` + AdditionalProperties map[string]interface{} +} + +type _NixPackageUpload NixPackageUpload + +// NewNixPackageUpload instantiates a new NixPackageUpload 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 NewNixPackageUpload() *NixPackageUpload { + this := NixPackageUpload{} + return &this +} + +// NewNixPackageUploadWithDefaults instantiates a new NixPackageUpload 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 NewNixPackageUploadWithDefaults() *NixPackageUpload { + this := NixPackageUpload{} + return &this +} + +// GetArchitectures returns the Architectures field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetCdnUrl(v string) { + o.CdnUrl.Set(&v) +} + +// SetCdnUrlNil sets the value for CdnUrl to be an explicit nil +func (o *NixPackageUpload) SetCdnUrlNil() { + o.CdnUrl.Set(nil) +} + +// UnsetCdnUrl ensures that no value is present for CdnUrl, not even an explicit nil +func (o *NixPackageUpload) UnsetCdnUrl() { + o.CdnUrl.Unset() +} + +// GetChecksumMd5 returns the ChecksumMd5 field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetChecksumMd5(v string) { + o.ChecksumMd5 = &v +} + +// GetChecksumSha1 returns the ChecksumSha1 field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetChecksumSha1(v string) { + o.ChecksumSha1 = &v +} + +// GetChecksumSha256 returns the ChecksumSha256 field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetChecksumSha256(v string) { + o.ChecksumSha256 = &v +} + +// GetChecksumSha512 returns the ChecksumSha512 field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetDependenciesChecksumMd5(v string) { + o.DependenciesChecksumMd5.Set(&v) +} + +// SetDependenciesChecksumMd5Nil sets the value for DependenciesChecksumMd5 to be an explicit nil +func (o *NixPackageUpload) SetDependenciesChecksumMd5Nil() { + o.DependenciesChecksumMd5.Set(nil) +} + +// UnsetDependenciesChecksumMd5 ensures that no value is present for DependenciesChecksumMd5, not even an explicit nil +func (o *NixPackageUpload) UnsetDependenciesChecksumMd5() { + o.DependenciesChecksumMd5.Unset() +} + +// GetDependenciesUrl returns the DependenciesUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetDescription(v string) { + o.Description.Set(&v) +} + +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *NixPackageUpload) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *NixPackageUpload) UnsetDescription() { + o.Description.Unset() +} + +// GetDisplayName returns the DisplayName field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetDisplayName(v string) { + o.DisplayName = &v +} + +// GetDistro returns the Distro field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetDistro(v Distribution) { + o.Distro.Set(&v) +} + +// SetDistroNil sets the value for Distro to be an explicit nil +func (o *NixPackageUpload) SetDistroNil() { + o.Distro.Set(nil) +} + +// UnsetDistro ensures that no value is present for Distro, not even an explicit nil +func (o *NixPackageUpload) UnsetDistro() { + o.Distro.Unset() +} + +// GetDistroVersion returns the DistroVersion field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetDistroVersion(v DistributionVersion) { + o.DistroVersion = &v +} + +// GetDownloads returns the Downloads field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetEpoch(v int64) { + o.Epoch.Set(&v) +} + +// SetEpochNil sets the value for Epoch to be an explicit nil +func (o *NixPackageUpload) SetEpochNil() { + o.Epoch.Set(nil) +} + +// UnsetEpoch ensures that no value is present for Epoch, not even an explicit nil +func (o *NixPackageUpload) UnsetEpoch() { + o.Epoch.Unset() +} + +// GetExtension returns the Extension field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetExtension(v string) { + o.Extension = &v +} + +// GetFilename returns the Filename field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetFilename(v string) { + o.Filename = &v +} + +// GetFiles returns the Files field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetFiles(v []PackageFile) { + o.Files = v +} + +// GetFormat returns the Format field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetFormat(v string) { + o.Format = &v +} + +// GetFormatUrl returns the FormatUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetFormatUrl(v string) { + o.FormatUrl = &v +} + +// GetFreeableStorage returns the FreeableStorage field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetFullyQualifiedName(v string) { + o.FullyQualifiedName.Set(&v) +} + +// SetFullyQualifiedNameNil sets the value for FullyQualifiedName to be an explicit nil +func (o *NixPackageUpload) SetFullyQualifiedNameNil() { + o.FullyQualifiedName.Set(nil) +} + +// UnsetFullyQualifiedName ensures that no value is present for FullyQualifiedName, not even an explicit nil +func (o *NixPackageUpload) UnsetFullyQualifiedName() { + o.FullyQualifiedName.Unset() +} + +// GetIdentifierPerm returns the IdentifierPerm field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIdentifierPerm(v string) { + o.IdentifierPerm = &v +} + +// GetIdentifiers returns the Identifiers field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIdentifiers(v map[string]string) { + o.Identifiers = &v +} + +// GetIndexed returns the Indexed field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIndexed(v bool) { + o.Indexed = &v +} + +// GetIsCancellable returns the IsCancellable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsCancellable(v bool) { + o.IsCancellable = &v +} + +// GetIsCopyable returns the IsCopyable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsCopyable(v bool) { + o.IsCopyable = &v +} + +// GetIsDeleteable returns the IsDeleteable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsDeleteable(v bool) { + o.IsDeleteable = &v +} + +// GetIsDownloadable returns the IsDownloadable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsDownloadable(v bool) { + o.IsDownloadable = &v +} + +// GetIsHidden returns the IsHidden field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsHidden(v bool) { + o.IsHidden = &v +} + +// GetIsMalwareDetected returns the IsMalwareDetected field value if set, zero value otherwise. +func (o *NixPackageUpload) GetIsMalwareDetected() bool { + if o == nil || IsNil(o.IsMalwareDetected) { + var ret bool + return ret + } + return *o.IsMalwareDetected +} + +// GetIsMalwareDetectedOk returns a tuple with the IsMalwareDetected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NixPackageUpload) GetIsMalwareDetectedOk() (*bool, bool) { + if o == nil || IsNil(o.IsMalwareDetected) { + return nil, false + } + return o.IsMalwareDetected, true +} + +// HasIsMalwareDetected returns a boolean if a field has been set. +func (o *NixPackageUpload) HasIsMalwareDetected() bool { + if o != nil && !IsNil(o.IsMalwareDetected) { + return true + } + + return false +} + +// SetIsMalwareDetected gets a reference to the given bool and assigns it to the IsMalwareDetected field. +func (o *NixPackageUpload) SetIsMalwareDetected(v bool) { + o.IsMalwareDetected = &v +} + +// GetIsMoveable returns the IsMoveable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsMoveable(v bool) { + o.IsMoveable = &v +} + +// GetIsQuarantinable returns the IsQuarantinable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsQuarantinable(v bool) { + o.IsQuarantinable = &v +} + +// GetIsQuarantined returns the IsQuarantined field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsQuarantined(v bool) { + o.IsQuarantined = &v +} + +// GetIsResyncable returns the IsResyncable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsResyncable(v bool) { + o.IsResyncable = &v +} + +// GetIsSecurityScannable returns the IsSecurityScannable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsSecurityScannable(v bool) { + o.IsSecurityScannable = &v +} + +// GetIsSyncAwaiting returns the IsSyncAwaiting field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncAwaiting(v bool) { + o.IsSyncAwaiting = &v +} + +// GetIsSyncCompleted returns the IsSyncCompleted field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncCompleted(v bool) { + o.IsSyncCompleted = &v +} + +// GetIsSyncFailed returns the IsSyncFailed field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncFailed(v bool) { + o.IsSyncFailed = &v +} + +// GetIsSyncInFlight returns the IsSyncInFlight field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetIsSyncInFlight(v bool) { + o.IsSyncInFlight = &v +} + +// GetIsSyncInProgress returns the IsSyncInProgress field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetLicense(v string) { + o.License.Set(&v) +} + +// SetLicenseNil sets the value for License to be an explicit nil +func (o *NixPackageUpload) SetLicenseNil() { + o.License.Set(nil) +} + +// UnsetLicense ensures that no value is present for License, not even an explicit nil +func (o *NixPackageUpload) UnsetLicense() { + o.License.Unset() +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUpload) GetName() string { + if o == nil || IsNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name 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) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *NixPackageUpload) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *NixPackageUpload) SetName(v string) { + o.Name.Set(&v) +} + +// SetNameNil sets the value for Name to be an explicit nil +func (o *NixPackageUpload) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *NixPackageUpload) UnsetName() { + o.Name.Unset() +} + +// GetNamespace returns the Namespace field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetNamespace(v string) { + o.Namespace = &v +} + +// GetNamespaceUrl returns the NamespaceUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetNamespaceUrl(v string) { + o.NamespaceUrl = &v +} + +// GetNumFiles returns the NumFiles field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetNumFiles(v int64) { + o.NumFiles = &v +} + +// GetOriginRepository returns the OriginRepository field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetOriginRepository(v string) { + o.OriginRepository = &v +} + +// GetOriginRepositoryUrl returns the OriginRepositoryUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetOriginRepositoryUrl(v string) { + o.OriginRepositoryUrl = &v +} + +// GetOsiApproved returns the OsiApproved field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetOsiApproved(v bool) { + o.OsiApproved = &v +} + +// GetPackageType returns the PackageType field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetPackageType(v int64) { + o.PackageType = &v +} + +// GetPolicyViolated returns the PolicyViolated field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetRawLicense(v string) { + o.RawLicense.Set(&v) +} + +// SetRawLicenseNil sets the value for RawLicense to be an explicit nil +func (o *NixPackageUpload) SetRawLicenseNil() { + o.RawLicense.Set(nil) +} + +// UnsetRawLicense ensures that no value is present for RawLicense, not even an explicit nil +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetRelease(v string) { + o.Release.Set(&v) +} + +// SetReleaseNil sets the value for Release to be an explicit nil +func (o *NixPackageUpload) SetReleaseNil() { + o.Release.Set(nil) +} + +// UnsetRelease ensures that no value is present for Release, not even an explicit nil +func (o *NixPackageUpload) UnsetRelease() { + o.Release.Unset() +} + +// GetRepository returns the Repository field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetRepository(v string) { + o.Repository = &v +} + +// GetRepositoryUrl returns the RepositoryUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanCompletedAt(v time.Time) { + o.SecurityScanCompletedAt.Set(&v) +} + +// SetSecurityScanCompletedAtNil sets the value for SecurityScanCompletedAt to be an explicit nil +func (o *NixPackageUpload) SetSecurityScanCompletedAtNil() { + o.SecurityScanCompletedAt.Set(nil) +} + +// UnsetSecurityScanCompletedAt ensures that no value is present for SecurityScanCompletedAt, not even an explicit nil +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanStartedAt(v time.Time) { + o.SecurityScanStartedAt.Set(&v) +} + +// SetSecurityScanStartedAtNil sets the value for SecurityScanStartedAt to be an explicit nil +func (o *NixPackageUpload) SetSecurityScanStartedAtNil() { + o.SecurityScanStartedAt.Set(nil) +} + +// UnsetSecurityScanStartedAt ensures that no value is present for SecurityScanStartedAt, not even an explicit nil +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanStatus(v string) { + o.SecurityScanStatus.Set(&v) +} + +// SetSecurityScanStatusNil sets the value for SecurityScanStatus to be an explicit nil +func (o *NixPackageUpload) SetSecurityScanStatusNil() { + o.SecurityScanStatus.Set(nil) +} + +// UnsetSecurityScanStatus ensures that no value is present for SecurityScanStatus, not even an explicit nil +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSecurityScanStatusUpdatedAt(v time.Time) { + o.SecurityScanStatusUpdatedAt.Set(&v) +} + +// SetSecurityScanStatusUpdatedAtNil sets the value for SecurityScanStatusUpdatedAt to be an explicit nil +func (o *NixPackageUpload) SetSecurityScanStatusUpdatedAtNil() { + o.SecurityScanStatusUpdatedAt.Set(nil) +} + +// UnsetSecurityScanStatusUpdatedAt ensures that no value is present for SecurityScanStatusUpdatedAt, not even an explicit nil +func (o *NixPackageUpload) UnsetSecurityScanStatusUpdatedAt() { + o.SecurityScanStatusUpdatedAt.Unset() +} + +// GetSelfHtmlUrl returns the SelfHtmlUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSelfHtmlUrl(v string) { + o.SelfHtmlUrl = &v +} + +// GetSelfUrl returns the SelfUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSelfUrl(v string) { + o.SelfUrl = &v +} + +// GetSelfWebappUrl returns the SelfWebappUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSignatureUrl(v string) { + o.SignatureUrl.Set(&v) +} + +// SetSignatureUrlNil sets the value for SignatureUrl to be an explicit nil +func (o *NixPackageUpload) SetSignatureUrlNil() { + o.SignatureUrl.Set(nil) +} + +// UnsetSignatureUrl ensures that no value is present for SignatureUrl, not even an explicit nil +func (o *NixPackageUpload) UnsetSignatureUrl() { + o.SignatureUrl.Unset() +} + +// GetSize returns the Size field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSize(v int64) { + o.Size = &v +} + +// GetSlug returns the Slug field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSlug(v string) { + o.Slug = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSpdxLicense(v string) { + o.SpdxLicense.Set(&v) +} + +// SetSpdxLicenseNil sets the value for SpdxLicense to be an explicit nil +func (o *NixPackageUpload) SetSpdxLicenseNil() { + o.SpdxLicense.Set(nil) +} + +// UnsetSpdxLicense ensures that no value is present for SpdxLicense, not even an explicit nil +func (o *NixPackageUpload) UnsetSpdxLicense() { + o.SpdxLicense.Unset() +} + +// GetStage returns the Stage field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStage(v int64) { + o.Stage = &v +} + +// GetStageStr returns the StageStr field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStageStr(v string) { + o.StageStr = &v +} + +// GetStageUpdatedAt returns the StageUpdatedAt field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStageUpdatedAt(v time.Time) { + o.StageUpdatedAt = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStatusReason(v string) { + o.StatusReason.Set(&v) +} + +// SetStatusReasonNil sets the value for StatusReason to be an explicit nil +func (o *NixPackageUpload) SetStatusReasonNil() { + o.StatusReason.Set(nil) +} + +// UnsetStatusReason ensures that no value is present for StatusReason, not even an explicit nil +func (o *NixPackageUpload) UnsetStatusReason() { + o.StatusReason.Unset() +} + +// GetStatusStr returns the StatusStr field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStatusStr(v string) { + o.StatusStr = &v +} + +// GetStatusUpdatedAt returns the StatusUpdatedAt field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStatusUpdatedAt(v time.Time) { + o.StatusUpdatedAt = &v +} + +// GetStatusUrl returns the StatusUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetStorePath(v string) { + o.StorePath.Set(&v) +} + +// SetStorePathNil sets the value for StorePath to be an explicit nil +func (o *NixPackageUpload) SetStorePathNil() { + o.StorePath.Set(nil) +} + +// UnsetStorePath ensures that no value is present for StorePath, not even an explicit nil +func (o *NixPackageUpload) UnsetStorePath() { + o.StorePath.Unset() +} + +// GetSubtype returns the Subtype field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSummary(v string) { + o.Summary.Set(&v) +} + +// SetSummaryNil sets the value for Summary to be an explicit nil +func (o *NixPackageUpload) SetSummaryNil() { + o.Summary.Set(nil) +} + +// UnsetSummary ensures that no value is present for Summary, not even an explicit nil +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSyncFinishedAt(v time.Time) { + o.SyncFinishedAt.Set(&v) +} + +// SetSyncFinishedAtNil sets the value for SyncFinishedAt to be an explicit nil +func (o *NixPackageUpload) SetSyncFinishedAtNil() { + o.SyncFinishedAt.Set(nil) +} + +// UnsetSyncFinishedAt ensures that no value is present for SyncFinishedAt, not even an explicit nil +func (o *NixPackageUpload) UnsetSyncFinishedAt() { + o.SyncFinishedAt.Unset() +} + +// GetSyncProgress returns the SyncProgress field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetSyncProgress(v int64) { + o.SyncProgress = &v +} + +// GetTagsAutomatic returns the TagsAutomatic field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetTagsAutomatic(v map[string]interface{}) { + o.TagsAutomatic = v +} + +// GetTagsImmutable returns the TagsImmutable field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetTagsImmutable(v map[string]interface{}) { + o.TagsImmutable = v +} + +// GetTagsStatic returns the TagsStatic field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetTagsStatic(v map[string][]string) { + o.TagsStatic = &v +} + +// GetTypeDisplay returns the TypeDisplay field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetTypeDisplay(v string) { + o.TypeDisplay = &v +} + +// GetUploadedAt returns the UploadedAt field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetUploadedAt(v time.Time) { + o.UploadedAt = &v +} + +// GetUploader returns the Uploader field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetUploader(v string) { + o.Uploader = &v +} + +// GetUploaderUrl returns the UploaderUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetUploaderUrl(v string) { + o.UploaderUrl = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUpload) GetVersion() string { + if o == nil || IsNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *NixPackageUpload) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *NixPackageUpload) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *NixPackageUpload) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *NixPackageUpload) UnsetVersion() { + o.Version.Unset() +} + +// GetVersionOrig returns the VersionOrig field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetVersionOrig(v string) { + o.VersionOrig = &v +} + +// GetVulnerabilityCounts returns the VulnerabilityCounts field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUpload) GetVulnerabilityCounts() WebOSVSeverityCounts { + if o == nil || IsNil(o.VulnerabilityCounts.Get()) { + var ret WebOSVSeverityCounts + return ret + } + return *o.VulnerabilityCounts.Get() +} + +// GetVulnerabilityCountsOk returns a tuple with the VulnerabilityCounts 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) GetVulnerabilityCountsOk() (*WebOSVSeverityCounts, bool) { + if o == nil { + return nil, false + } + return o.VulnerabilityCounts.Get(), o.VulnerabilityCounts.IsSet() +} + +// HasVulnerabilityCounts returns a boolean if a field has been set. +func (o *NixPackageUpload) HasVulnerabilityCounts() bool { + if o != nil && o.VulnerabilityCounts.IsSet() { + return true + } + + return false +} + +// SetVulnerabilityCounts gets a reference to the given NullableWebOSVSeverityCounts and assigns it to the VulnerabilityCounts field. +func (o *NixPackageUpload) SetVulnerabilityCounts(v WebOSVSeverityCounts) { + o.VulnerabilityCounts.Set(&v) +} + +// SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil +func (o *NixPackageUpload) SetVulnerabilityCountsNil() { + o.VulnerabilityCounts.Set(nil) +} + +// UnsetVulnerabilityCounts ensures that no value is present for VulnerabilityCounts, not even an explicit nil +func (o *NixPackageUpload) UnsetVulnerabilityCounts() { + o.VulnerabilityCounts.Unset() +} + +// GetVulnerabilityScanResultsUrl returns the VulnerabilityScanResultsUrl field value if set, zero value otherwise. +func (o *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) 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 *NixPackageUpload) SetVulnerabilityScanResultsUrl(v string) { + o.VulnerabilityScanResultsUrl = &v +} + +func (o NixPackageUpload) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NixPackageUpload) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Architectures) { + toSerialize["architectures"] = o.Architectures + } + if o.CdnUrl.IsSet() { + toSerialize["cdn_url"] = o.CdnUrl.Get() + } + if !IsNil(o.ChecksumMd5) { + toSerialize["checksum_md5"] = o.ChecksumMd5 + } + if !IsNil(o.ChecksumSha1) { + toSerialize["checksum_sha1"] = o.ChecksumSha1 + } + if !IsNil(o.ChecksumSha256) { + toSerialize["checksum_sha256"] = o.ChecksumSha256 + } + if !IsNil(o.ChecksumSha512) { + toSerialize["checksum_sha512"] = o.ChecksumSha512 + } + if o.DependenciesChecksumMd5.IsSet() { + toSerialize["dependencies_checksum_md5"] = o.DependenciesChecksumMd5.Get() + } + if !IsNil(o.DependenciesUrl) { + toSerialize["dependencies_url"] = o.DependenciesUrl + } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if !IsNil(o.DisplayName) { + toSerialize["display_name"] = o.DisplayName + } + if 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.IsMalwareDetected) { + toSerialize["is_malware_detected"] = o.IsMalwareDetected + } + 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() + } + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if !IsNil(o.Namespace) { + toSerialize["namespace"] = o.Namespace + } + if !IsNil(o.NamespaceUrl) { + toSerialize["namespace_url"] = o.NamespaceUrl + } + if !IsNil(o.NumFiles) { + toSerialize["num_files"] = o.NumFiles + } + if !IsNil(o.OriginRepository) { + toSerialize["origin_repository"] = o.OriginRepository + } + if !IsNil(o.OriginRepositoryUrl) { + toSerialize["origin_repository_url"] = o.OriginRepositoryUrl + } + if !IsNil(o.OsiApproved) { + toSerialize["osi_approved"] = o.OsiApproved + } + if !IsNil(o.PackageType) { + toSerialize["package_type"] = o.PackageType + } + if !IsNil(o.PolicyViolated) { + toSerialize["policy_violated"] = o.PolicyViolated + } + if o.RawLicense.IsSet() { + toSerialize["raw_license"] = o.RawLicense.Get() + } + if o.Release.IsSet() { + toSerialize["release"] = o.Release.Get() + } + if !IsNil(o.Repository) { + toSerialize["repository"] = o.Repository + } + if !IsNil(o.RepositoryUrl) { + toSerialize["repository_url"] = o.RepositoryUrl + } + if o.SecurityScanCompletedAt.IsSet() { + toSerialize["security_scan_completed_at"] = o.SecurityScanCompletedAt.Get() + } + if o.SecurityScanStartedAt.IsSet() { + toSerialize["security_scan_started_at"] = o.SecurityScanStartedAt.Get() + } + if o.SecurityScanStatus.IsSet() { + toSerialize["security_scan_status"] = o.SecurityScanStatus.Get() + } + if o.SecurityScanStatusUpdatedAt.IsSet() { + toSerialize["security_scan_status_updated_at"] = o.SecurityScanStatusUpdatedAt.Get() + } + if !IsNil(o.SelfHtmlUrl) { + toSerialize["self_html_url"] = o.SelfHtmlUrl + } + if !IsNil(o.SelfUrl) { + toSerialize["self_url"] = o.SelfUrl + } + if !IsNil(o.SelfWebappUrl) { + toSerialize["self_webapp_url"] = o.SelfWebappUrl + } + if o.SignatureUrl.IsSet() { + toSerialize["signature_url"] = o.SignatureUrl.Get() + } + if !IsNil(o.Size) { + toSerialize["size"] = o.Size + } + if !IsNil(o.Slug) { + toSerialize["slug"] = o.Slug + } + if !IsNil(o.SlugPerm) { + toSerialize["slug_perm"] = o.SlugPerm + } + if o.SpdxLicense.IsSet() { + toSerialize["spdx_license"] = o.SpdxLicense.Get() + } + if !IsNil(o.Stage) { + toSerialize["stage"] = o.Stage + } + if !IsNil(o.StageStr) { + toSerialize["stage_str"] = o.StageStr + } + if !IsNil(o.StageUpdatedAt) { + toSerialize["stage_updated_at"] = o.StageUpdatedAt + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.StatusReason.IsSet() { + toSerialize["status_reason"] = o.StatusReason.Get() + } + if !IsNil(o.StatusStr) { + toSerialize["status_str"] = o.StatusStr + } + if !IsNil(o.StatusUpdatedAt) { + toSerialize["status_updated_at"] = o.StatusUpdatedAt + } + if !IsNil(o.StatusUrl) { + toSerialize["status_url"] = o.StatusUrl + } + if o.StorePath.IsSet() { + toSerialize["store_path"] = o.StorePath.Get() + } + if !IsNil(o.Subtype) { + toSerialize["subtype"] = o.Subtype + } + if o.Summary.IsSet() { + toSerialize["summary"] = o.Summary.Get() + } + if o.SyncFinishedAt.IsSet() { + toSerialize["sync_finished_at"] = o.SyncFinishedAt.Get() + } + if !IsNil(o.SyncProgress) { + toSerialize["sync_progress"] = o.SyncProgress + } + if !IsNil(o.TagsAutomatic) { + toSerialize["tags_automatic"] = o.TagsAutomatic + } + if !IsNil(o.TagsImmutable) { + toSerialize["tags_immutable"] = o.TagsImmutable + } + if !IsNil(o.TagsStatic) { + toSerialize["tags_static"] = o.TagsStatic + } + if !IsNil(o.TypeDisplay) { + toSerialize["type_display"] = o.TypeDisplay + } + if !IsNil(o.UploadedAt) { + toSerialize["uploaded_at"] = o.UploadedAt + } + if !IsNil(o.Uploader) { + toSerialize["uploader"] = o.Uploader + } + if !IsNil(o.UploaderUrl) { + toSerialize["uploader_url"] = o.UploaderUrl + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + if !IsNil(o.VersionOrig) { + toSerialize["version_orig"] = o.VersionOrig + } + if o.VulnerabilityCounts.IsSet() { + toSerialize["vulnerability_counts"] = o.VulnerabilityCounts.Get() + } + 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 *NixPackageUpload) UnmarshalJSON(data []byte) (err error) { + varNixPackageUpload := _NixPackageUpload{} + + err = json.Unmarshal(data, &varNixPackageUpload) + + if err != nil { + return err + } + + *o = NixPackageUpload(varNixPackageUpload) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "architectures") + delete(additionalProperties, "cdn_url") + delete(additionalProperties, "checksum_md5") + delete(additionalProperties, "checksum_sha1") + delete(additionalProperties, "checksum_sha256") + delete(additionalProperties, "checksum_sha512") + delete(additionalProperties, "dependencies_checksum_md5") + delete(additionalProperties, "dependencies_url") + delete(additionalProperties, "description") + delete(additionalProperties, "display_name") + delete(additionalProperties, "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_malware_detected") + delete(additionalProperties, "is_moveable") + delete(additionalProperties, "is_quarantinable") + delete(additionalProperties, "is_quarantined") + delete(additionalProperties, "is_resyncable") + delete(additionalProperties, "is_security_scannable") + delete(additionalProperties, "is_sync_awaiting") + delete(additionalProperties, "is_sync_completed") + delete(additionalProperties, "is_sync_failed") + delete(additionalProperties, "is_sync_in_flight") + delete(additionalProperties, "is_sync_in_progress") + delete(additionalProperties, "license") + delete(additionalProperties, "name") + delete(additionalProperties, "namespace") + delete(additionalProperties, "namespace_url") + delete(additionalProperties, "num_files") + delete(additionalProperties, "origin_repository") + delete(additionalProperties, "origin_repository_url") + delete(additionalProperties, "osi_approved") + delete(additionalProperties, "package_type") + delete(additionalProperties, "policy_violated") + delete(additionalProperties, "raw_license") + delete(additionalProperties, "release") + delete(additionalProperties, "repository") + delete(additionalProperties, "repository_url") + delete(additionalProperties, "security_scan_completed_at") + delete(additionalProperties, "security_scan_started_at") + delete(additionalProperties, "security_scan_status") + delete(additionalProperties, "security_scan_status_updated_at") + delete(additionalProperties, "self_html_url") + delete(additionalProperties, "self_url") + delete(additionalProperties, "self_webapp_url") + delete(additionalProperties, "signature_url") + delete(additionalProperties, "size") + delete(additionalProperties, "slug") + delete(additionalProperties, "slug_perm") + delete(additionalProperties, "spdx_license") + delete(additionalProperties, "stage") + delete(additionalProperties, "stage_str") + delete(additionalProperties, "stage_updated_at") + delete(additionalProperties, "status") + delete(additionalProperties, "status_reason") + delete(additionalProperties, "status_str") + delete(additionalProperties, "status_updated_at") + delete(additionalProperties, "status_url") + delete(additionalProperties, "store_path") + delete(additionalProperties, "subtype") + delete(additionalProperties, "summary") + delete(additionalProperties, "sync_finished_at") + delete(additionalProperties, "sync_progress") + delete(additionalProperties, "tags_automatic") + delete(additionalProperties, "tags_immutable") + delete(additionalProperties, "tags_static") + delete(additionalProperties, "type_display") + delete(additionalProperties, "uploaded_at") + delete(additionalProperties, "uploader") + delete(additionalProperties, "uploader_url") + delete(additionalProperties, "version") + delete(additionalProperties, "version_orig") + delete(additionalProperties, "vulnerability_counts") + delete(additionalProperties, "vulnerability_scan_results_url") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNixPackageUpload struct { + value *NixPackageUpload + isSet bool +} + +func (v NullableNixPackageUpload) Get() *NixPackageUpload { + return v.value +} + +func (v *NullableNixPackageUpload) Set(val *NixPackageUpload) { + v.value = val + v.isSet = true +} + +func (v NullableNixPackageUpload) IsSet() bool { + return v.isSet +} + +func (v *NullableNixPackageUpload) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNixPackageUpload(val *NixPackageUpload) *NullableNixPackageUpload { + return &NullableNixPackageUpload{value: val, isSet: true} +} + +func (v NullableNixPackageUpload) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNixPackageUpload) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nix_package_upload_request.go b/model_nix_package_upload_request.go new file mode 100644 index 00000000..e58b5bc1 --- /dev/null +++ b/model_nix_package_upload_request.go @@ -0,0 +1,439 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +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 NixPackageUploadRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NixPackageUploadRequest{} + +// NixPackageUploadRequest struct for NixPackageUploadRequest +type NixPackageUploadRequest struct { + // Whether the package has been detected as containing malware. Requires Ultra plan. + IsMalwareDetected *bool `json:"is_malware_detected,omitempty"` + // The narinfo sidecar metadata file (.narinfo). Optional — the package can be completed later by publishing the matching narinfo via the native HTTP PUT path. + Narinfo NullableString `json:"narinfo,omitempty"` + // The primary file for the package. + PackageFile string `json:"package_file"` + // If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate. + Republish *bool `json:"republish,omitempty"` + // A comma-separated values list of tags to add to the package. + Tags NullableString `json:"tags,omitempty"` + // The raw version for this package. + Version NullableString `json:"version,omitempty"` + VulnerabilityCounts NullableWebOSVSeverityCounts `json:"vulnerability_counts,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _NixPackageUploadRequest NixPackageUploadRequest + +// NewNixPackageUploadRequest instantiates a new NixPackageUploadRequest 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 NewNixPackageUploadRequest(packageFile string) *NixPackageUploadRequest { + this := NixPackageUploadRequest{} + this.PackageFile = packageFile + return &this +} + +// NewNixPackageUploadRequestWithDefaults instantiates a new NixPackageUploadRequest 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 NewNixPackageUploadRequestWithDefaults() *NixPackageUploadRequest { + this := NixPackageUploadRequest{} + return &this +} + +// GetIsMalwareDetected returns the IsMalwareDetected field value if set, zero value otherwise. +func (o *NixPackageUploadRequest) GetIsMalwareDetected() bool { + if o == nil || IsNil(o.IsMalwareDetected) { + var ret bool + return ret + } + return *o.IsMalwareDetected +} + +// GetIsMalwareDetectedOk returns a tuple with the IsMalwareDetected field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *NixPackageUploadRequest) GetIsMalwareDetectedOk() (*bool, bool) { + if o == nil || IsNil(o.IsMalwareDetected) { + return nil, false + } + return o.IsMalwareDetected, true +} + +// HasIsMalwareDetected returns a boolean if a field has been set. +func (o *NixPackageUploadRequest) HasIsMalwareDetected() bool { + if o != nil && !IsNil(o.IsMalwareDetected) { + return true + } + + return false +} + +// SetIsMalwareDetected gets a reference to the given bool and assigns it to the IsMalwareDetected field. +func (o *NixPackageUploadRequest) SetIsMalwareDetected(v bool) { + o.IsMalwareDetected = &v +} + +// GetNarinfo returns the Narinfo field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUploadRequest) GetNarinfo() string { + if o == nil || IsNil(o.Narinfo.Get()) { + var ret string + return ret + } + return *o.Narinfo.Get() +} + +// GetNarinfoOk returns a tuple with the Narinfo 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) GetNarinfoOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Narinfo.Get(), o.Narinfo.IsSet() +} + +// HasNarinfo returns a boolean if a field has been set. +func (o *NixPackageUploadRequest) HasNarinfo() bool { + if o != nil && o.Narinfo.IsSet() { + return true + } + + return false +} + +// SetNarinfo gets a reference to the given NullableString and assigns it to the Narinfo field. +func (o *NixPackageUploadRequest) SetNarinfo(v string) { + o.Narinfo.Set(&v) +} + +// SetNarinfoNil sets the value for Narinfo to be an explicit nil +func (o *NixPackageUploadRequest) SetNarinfoNil() { + o.Narinfo.Set(nil) +} + +// UnsetNarinfo ensures that no value is present for Narinfo, not even an explicit nil +func (o *NixPackageUploadRequest) UnsetNarinfo() { + o.Narinfo.Unset() +} + +// GetPackageFile returns the PackageFile field value +func (o *NixPackageUploadRequest) 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 *NixPackageUploadRequest) GetPackageFileOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.PackageFile, true +} + +// SetPackageFile sets field value +func (o *NixPackageUploadRequest) SetPackageFile(v string) { + o.PackageFile = v +} + +// GetRepublish returns the Republish field value if set, zero value otherwise. +func (o *NixPackageUploadRequest) 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 *NixPackageUploadRequest) 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 *NixPackageUploadRequest) 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 *NixPackageUploadRequest) 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 *NixPackageUploadRequest) 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 *NixPackageUploadRequest) 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 *NixPackageUploadRequest) 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 *NixPackageUploadRequest) SetTags(v string) { + o.Tags.Set(&v) +} + +// SetTagsNil sets the value for Tags to be an explicit nil +func (o *NixPackageUploadRequest) SetTagsNil() { + o.Tags.Set(nil) +} + +// UnsetTags ensures that no value is present for Tags, not even an explicit nil +func (o *NixPackageUploadRequest) UnsetTags() { + o.Tags.Unset() +} + +// GetVersion returns the Version field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUploadRequest) GetVersion() string { + if o == nil || IsNil(o.Version.Get()) { + var ret string + return ret + } + return *o.Version.Get() +} + +// GetVersionOk returns a tuple with the Version 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) GetVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Version.Get(), o.Version.IsSet() +} + +// HasVersion returns a boolean if a field has been set. +func (o *NixPackageUploadRequest) HasVersion() bool { + if o != nil && o.Version.IsSet() { + return true + } + + return false +} + +// SetVersion gets a reference to the given NullableString and assigns it to the Version field. +func (o *NixPackageUploadRequest) SetVersion(v string) { + o.Version.Set(&v) +} + +// SetVersionNil sets the value for Version to be an explicit nil +func (o *NixPackageUploadRequest) SetVersionNil() { + o.Version.Set(nil) +} + +// UnsetVersion ensures that no value is present for Version, not even an explicit nil +func (o *NixPackageUploadRequest) UnsetVersion() { + o.Version.Unset() +} + +// GetVulnerabilityCounts returns the VulnerabilityCounts field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixPackageUploadRequest) GetVulnerabilityCounts() WebOSVSeverityCounts { + if o == nil || IsNil(o.VulnerabilityCounts.Get()) { + var ret WebOSVSeverityCounts + return ret + } + return *o.VulnerabilityCounts.Get() +} + +// GetVulnerabilityCountsOk returns a tuple with the VulnerabilityCounts 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) GetVulnerabilityCountsOk() (*WebOSVSeverityCounts, bool) { + if o == nil { + return nil, false + } + return o.VulnerabilityCounts.Get(), o.VulnerabilityCounts.IsSet() +} + +// HasVulnerabilityCounts returns a boolean if a field has been set. +func (o *NixPackageUploadRequest) HasVulnerabilityCounts() bool { + if o != nil && o.VulnerabilityCounts.IsSet() { + return true + } + + return false +} + +// SetVulnerabilityCounts gets a reference to the given NullableWebOSVSeverityCounts and assigns it to the VulnerabilityCounts field. +func (o *NixPackageUploadRequest) SetVulnerabilityCounts(v WebOSVSeverityCounts) { + o.VulnerabilityCounts.Set(&v) +} + +// SetVulnerabilityCountsNil sets the value for VulnerabilityCounts to be an explicit nil +func (o *NixPackageUploadRequest) SetVulnerabilityCountsNil() { + o.VulnerabilityCounts.Set(nil) +} + +// UnsetVulnerabilityCounts ensures that no value is present for VulnerabilityCounts, not even an explicit nil +func (o *NixPackageUploadRequest) UnsetVulnerabilityCounts() { + o.VulnerabilityCounts.Unset() +} + +func (o NixPackageUploadRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NixPackageUploadRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.IsMalwareDetected) { + toSerialize["is_malware_detected"] = o.IsMalwareDetected + } + if o.Narinfo.IsSet() { + toSerialize["narinfo"] = o.Narinfo.Get() + } + toSerialize["package_file"] = o.PackageFile + if !IsNil(o.Republish) { + toSerialize["republish"] = o.Republish + } + if o.Tags.IsSet() { + toSerialize["tags"] = o.Tags.Get() + } + if o.Version.IsSet() { + toSerialize["version"] = o.Version.Get() + } + if o.VulnerabilityCounts.IsSet() { + toSerialize["vulnerability_counts"] = o.VulnerabilityCounts.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *NixPackageUploadRequest) 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{ + "package_file", + } + + 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) + } + } + + varNixPackageUploadRequest := _NixPackageUploadRequest{} + + err = json.Unmarshal(data, &varNixPackageUploadRequest) + + if err != nil { + return err + } + + *o = NixPackageUploadRequest(varNixPackageUploadRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "is_malware_detected") + delete(additionalProperties, "narinfo") + delete(additionalProperties, "package_file") + delete(additionalProperties, "republish") + delete(additionalProperties, "tags") + delete(additionalProperties, "version") + delete(additionalProperties, "vulnerability_counts") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNixPackageUploadRequest struct { + value *NixPackageUploadRequest + isSet bool +} + +func (v NullableNixPackageUploadRequest) Get() *NixPackageUploadRequest { + return v.value +} + +func (v *NullableNixPackageUploadRequest) Set(val *NixPackageUploadRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNixPackageUploadRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNixPackageUploadRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNixPackageUploadRequest(val *NixPackageUploadRequest) *NullableNixPackageUploadRequest { + return &NullableNixPackageUploadRequest{value: val, isSet: true} +} + +func (v NullableNixPackageUploadRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNixPackageUploadRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nix_upstream.go b/model_nix_upstream.go new file mode 100644 index 00000000..c5b809c8 --- /dev/null +++ b/model_nix_upstream.go @@ -0,0 +1,1177 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +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 NixUpstream type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NixUpstream{} + +// NixUpstream struct for NixUpstream +type NixUpstream struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // Whether the upstream is available for use. + Available *bool `json:"available,omitempty"` + // Whether the upstream can be reindexed. + CanReindex *bool `json:"can_reindex,omitempty"` + // The datetime the upstream source was created. + CreatedAt *time.Time `json:"created_at,omitempty"` + DisableReason *string `json:"disable_reason,omitempty"` + // Human-readable explanation of why this upstream is disabled + DisableReasonText *string `json:"disable_reason_text,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether the upstream has failed signature verification. + HasFailedSignatureVerification *bool `json:"has_failed_signature_verification,omitempty"` + // The number of packages available in this upstream source + IndexPackageCount NullableInt64 `json:"index_package_count,omitempty"` + // The current indexing status of this upstream source + IndexStatus NullableString `json:"index_status,omitempty"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The last time this upstream source was indexed + LastIndexed NullableString `json:"last_indexed,omitempty"` + // The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // When true, this upstream source is pending validation. + PendingValidation *bool `json:"pending_validation,omitempty"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + 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 _NixUpstream NixUpstream + +// NewNixUpstream instantiates a new NixUpstream 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 NewNixUpstream(name string, upstreamUrl string) *NixUpstream { + this := NixUpstream{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + this.Name = name + this.UpstreamUrl = upstreamUrl + return &this +} + +// NewNixUpstreamWithDefaults instantiates a new NixUpstream 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 NewNixUpstreamWithDefaults() *NixUpstream { + this := NixUpstream{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *NixUpstream) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *NixUpstream) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *NixUpstream) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetAvailable returns the Available field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetAvailable(v bool) { + o.Available = &v +} + +// GetCanReindex returns the CanReindex field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetCanReindex(v bool) { + o.CanReindex = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetDisableReason returns the DisableReason field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetDisableReason(v string) { + o.DisableReason = &v +} + +// GetDisableReasonText returns the DisableReasonText field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *NixUpstream) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *NixUpstream) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *NixUpstream) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *NixUpstream) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *NixUpstream) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetHasFailedSignatureVerification returns the HasFailedSignatureVerification field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetIndexPackageCount(v int64) { + o.IndexPackageCount.Set(&v) +} + +// SetIndexPackageCountNil sets the value for IndexPackageCount to be an explicit nil +func (o *NixUpstream) SetIndexPackageCountNil() { + o.IndexPackageCount.Set(nil) +} + +// UnsetIndexPackageCount ensures that no value is present for IndexPackageCount, not even an explicit nil +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetIndexStatus(v string) { + o.IndexStatus.Set(&v) +} + +// SetIndexStatusNil sets the value for IndexStatus to be an explicit nil +func (o *NixUpstream) SetIndexStatusNil() { + o.IndexStatus.Set(nil) +} + +// UnsetIndexStatus ensures that no value is present for IndexStatus, not even an explicit nil +func (o *NixUpstream) UnsetIndexStatus() { + o.IndexStatus.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetLastIndexed(v string) { + o.LastIndexed.Set(&v) +} + +// SetLastIndexedNil sets the value for LastIndexed to be an explicit nil +func (o *NixUpstream) SetLastIndexedNil() { + o.LastIndexed.Set(nil) +} + +// UnsetLastIndexed ensures that no value is present for LastIndexed, not even an explicit nil +func (o *NixUpstream) UnsetLastIndexed() { + o.LastIndexed.Unset() +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value +func (o *NixUpstream) 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 *NixUpstream) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NixUpstream) SetName(v string) { + o.Name = v +} + +// GetPendingValidation returns the PendingValidation field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetPendingValidation(v bool) { + o.PendingValidation = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetPriority(v int64) { + o.Priority = &v +} + +// GetSlugPerm returns the SlugPerm field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetSlugPerm(v string) { + o.SlugPerm = &v +} + +// GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetUpdatedAt(v time.Time) { + o.UpdatedAt = &v +} + +// GetUpstreamUrl returns the UpstreamUrl field value +func (o *NixUpstream) 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 *NixUpstream) GetUpstreamUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.UpstreamUrl, true +} + +// SetUpstreamUrl sets field value +func (o *NixUpstream) SetUpstreamUrl(v string) { + o.UpstreamUrl = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) 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 *NixUpstream) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o NixUpstream) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NixUpstream) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if !IsNil(o.Available) { + toSerialize["available"] = o.Available + } + if !IsNil(o.CanReindex) { + toSerialize["can_reindex"] = o.CanReindex + } + if !IsNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !IsNil(o.DisableReason) { + toSerialize["disable_reason"] = o.DisableReason + } + if !IsNil(o.DisableReasonText) { + toSerialize["disable_reason_text"] = o.DisableReasonText + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.HasFailedSignatureVerification) { + toSerialize["has_failed_signature_verification"] = o.HasFailedSignatureVerification + } + if o.IndexPackageCount.IsSet() { + toSerialize["index_package_count"] = o.IndexPackageCount.Get() + } + if o.IndexStatus.IsSet() { + toSerialize["index_status"] = o.IndexStatus.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if o.LastIndexed.IsSet() { + toSerialize["last_indexed"] = o.LastIndexed.Get() + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + toSerialize["name"] = o.Name + if !IsNil(o.PendingValidation) { + toSerialize["pending_validation"] = o.PendingValidation + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.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 *NixUpstream) 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) + } + } + + varNixUpstream := _NixUpstream{} + + err = json.Unmarshal(data, &varNixUpstream) + + if err != nil { + return err + } + + *o = NixUpstream(varNixUpstream) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "available") + delete(additionalProperties, "can_reindex") + delete(additionalProperties, "created_at") + delete(additionalProperties, "disable_reason") + delete(additionalProperties, "disable_reason_text") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "has_failed_signature_verification") + delete(additionalProperties, "index_package_count") + delete(additionalProperties, "index_status") + delete(additionalProperties, "is_active") + delete(additionalProperties, "last_indexed") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "pending_validation") + delete(additionalProperties, "priority") + delete(additionalProperties, "slug_perm") + delete(additionalProperties, "updated_at") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNixUpstream struct { + value *NixUpstream + isSet bool +} + +func (v NullableNixUpstream) Get() *NixUpstream { + return v.value +} + +func (v *NullableNixUpstream) Set(val *NixUpstream) { + v.value = val + v.isSet = true +} + +func (v NullableNixUpstream) IsSet() bool { + return v.isSet +} + +func (v *NullableNixUpstream) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNixUpstream(val *NixUpstream) *NullableNixUpstream { + return &NullableNixUpstream{value: val, isSet: true} +} + +func (v NullableNixUpstream) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNixUpstream) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nix_upstream_request.go b/model_nix_upstream_request.go new file mode 100644 index 00000000..0ebf1437 --- /dev/null +++ b/model_nix_upstream_request.go @@ -0,0 +1,690 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +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 NixUpstreamRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NixUpstreamRequest{} + +// NixUpstreamRequest struct for NixUpstreamRequest +type NixUpstreamRequest struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // 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 _NixUpstreamRequest NixUpstreamRequest + +// NewNixUpstreamRequest instantiates a new NixUpstreamRequest 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 NewNixUpstreamRequest(name string, upstreamUrl string) *NixUpstreamRequest { + this := NixUpstreamRequest{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + this.Name = name + this.UpstreamUrl = upstreamUrl + return &this +} + +// NewNixUpstreamRequestWithDefaults instantiates a new NixUpstreamRequest 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 NewNixUpstreamRequestWithDefaults() *NixUpstreamRequest { + this := NixUpstreamRequest{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *NixUpstreamRequest) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *NixUpstreamRequest) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *NixUpstreamRequest) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *NixUpstreamRequest) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *NixUpstreamRequest) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *NixUpstreamRequest) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *NixUpstreamRequest) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *NixUpstreamRequest) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Name, true +} + +// SetName sets field value +func (o *NixUpstreamRequest) SetName(v string) { + o.Name = v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetPriority(v int64) { + o.Priority = &v +} + +// GetUpstreamUrl returns the UpstreamUrl field value +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) GetUpstreamUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.UpstreamUrl, true +} + +// SetUpstreamUrl sets field value +func (o *NixUpstreamRequest) SetUpstreamUrl(v string) { + o.UpstreamUrl = v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) 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 *NixUpstreamRequest) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o NixUpstreamRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NixUpstreamRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + toSerialize["name"] = o.Name + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + 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 *NixUpstreamRequest) 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) + } + } + + varNixUpstreamRequest := _NixUpstreamRequest{} + + err = json.Unmarshal(data, &varNixUpstreamRequest) + + if err != nil { + return err + } + + *o = NixUpstreamRequest(varNixUpstreamRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "is_active") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "priority") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNixUpstreamRequest struct { + value *NixUpstreamRequest + isSet bool +} + +func (v NullableNixUpstreamRequest) Get() *NixUpstreamRequest { + return v.value +} + +func (v *NullableNixUpstreamRequest) Set(val *NixUpstreamRequest) { + v.value = val + v.isSet = true +} + +func (v NullableNixUpstreamRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableNixUpstreamRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNixUpstreamRequest(val *NixUpstreamRequest) *NullableNixUpstreamRequest { + return &NullableNixUpstreamRequest{value: val, isSet: true} +} + +func (v NullableNixUpstreamRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNixUpstreamRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_nix_upstream_request_patch.go b/model_nix_upstream_request_patch.go new file mode 100644 index 00000000..69e5a66d --- /dev/null +++ b/model_nix_upstream_request_patch.go @@ -0,0 +1,685 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// checks if the NixUpstreamRequestPatch type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &NixUpstreamRequestPatch{} + +// NixUpstreamRequestPatch struct for NixUpstreamRequestPatch +type NixUpstreamRequestPatch struct { + // The authentication mode to use when accessing this upstream. + AuthMode *string `json:"auth_mode,omitempty"` + // Secret to provide with requests to upstream. + AuthSecret NullableString `json:"auth_secret,omitempty"` + // Username to provide with requests to upstream. + AuthUsername NullableString `json:"auth_username,omitempty"` + // The key for extra header #1 to send to upstream. + ExtraHeader1 NullableString `json:"extra_header_1,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The key for extra header #2 to send to upstream. + ExtraHeader2 NullableString `json:"extra_header_2,omitempty" validate:"regexp=^[-\\\\w]+$"` + // The value for extra header #1 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue1 NullableString `json:"extra_value_1,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // The value for extra header #2 to send to upstream. This is stored as plaintext, and is NOT encrypted. + ExtraValue2 NullableString `json:"extra_value_2,omitempty" validate:"regexp=^[^\\\\n\\\\r]+$"` + // Whether or not this upstream is active and ready for requests. + IsActive *bool `json:"is_active,omitempty"` + // The mode that this upstream should operate in. Upstream sources can be used to proxy resolved packages, as well as operate in a proxy/cache or cache only mode. + Mode *string `json:"mode,omitempty"` + // A descriptive name for this upstream source. A shortened version of this name will be used for tagging cached packages retrieved from this upstream. + Name *string `json:"name,omitempty" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // Upstream sources are selected for resolving requests by sequential order (1..n), followed by creation date. + Priority *int64 `json:"priority,omitempty"` + // 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 _NixUpstreamRequestPatch NixUpstreamRequestPatch + +// NewNixUpstreamRequestPatch instantiates a new NixUpstreamRequestPatch 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 NewNixUpstreamRequestPatch() *NixUpstreamRequestPatch { + this := NixUpstreamRequestPatch{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// NewNixUpstreamRequestPatchWithDefaults instantiates a new NixUpstreamRequestPatch 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 NewNixUpstreamRequestPatchWithDefaults() *NixUpstreamRequestPatch { + this := NixUpstreamRequestPatch{} + var authMode string = "None" + this.AuthMode = &authMode + var mode string = "Proxy Only" + this.Mode = &mode + return &this +} + +// GetAuthMode returns the AuthMode field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetAuthSecret(v string) { + o.AuthSecret.Set(&v) +} + +// SetAuthSecretNil sets the value for AuthSecret to be an explicit nil +func (o *NixUpstreamRequestPatch) SetAuthSecretNil() { + o.AuthSecret.Set(nil) +} + +// UnsetAuthSecret ensures that no value is present for AuthSecret, not even an explicit nil +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetAuthUsername(v string) { + o.AuthUsername.Set(&v) +} + +// SetAuthUsernameNil sets the value for AuthUsername to be an explicit nil +func (o *NixUpstreamRequestPatch) SetAuthUsernameNil() { + o.AuthUsername.Set(nil) +} + +// UnsetAuthUsername ensures that no value is present for AuthUsername, not even an explicit nil +func (o *NixUpstreamRequestPatch) UnsetAuthUsername() { + o.AuthUsername.Unset() +} + +// GetExtraHeader1 returns the ExtraHeader1 field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraHeader1(v string) { + o.ExtraHeader1.Set(&v) +} + +// SetExtraHeader1Nil sets the value for ExtraHeader1 to be an explicit nil +func (o *NixUpstreamRequestPatch) SetExtraHeader1Nil() { + o.ExtraHeader1.Set(nil) +} + +// UnsetExtraHeader1 ensures that no value is present for ExtraHeader1, not even an explicit nil +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraHeader2(v string) { + o.ExtraHeader2.Set(&v) +} + +// SetExtraHeader2Nil sets the value for ExtraHeader2 to be an explicit nil +func (o *NixUpstreamRequestPatch) SetExtraHeader2Nil() { + o.ExtraHeader2.Set(nil) +} + +// UnsetExtraHeader2 ensures that no value is present for ExtraHeader2, not even an explicit nil +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraValue1(v string) { + o.ExtraValue1.Set(&v) +} + +// SetExtraValue1Nil sets the value for ExtraValue1 to be an explicit nil +func (o *NixUpstreamRequestPatch) SetExtraValue1Nil() { + o.ExtraValue1.Set(nil) +} + +// UnsetExtraValue1 ensures that no value is present for ExtraValue1, not even an explicit nil +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetExtraValue2(v string) { + o.ExtraValue2.Set(&v) +} + +// SetExtraValue2Nil sets the value for ExtraValue2 to be an explicit nil +func (o *NixUpstreamRequestPatch) SetExtraValue2Nil() { + o.ExtraValue2.Set(nil) +} + +// UnsetExtraValue2 ensures that no value is present for ExtraValue2, not even an explicit nil +func (o *NixUpstreamRequestPatch) UnsetExtraValue2() { + o.ExtraValue2.Unset() +} + +// GetIsActive returns the IsActive field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetIsActive(v bool) { + o.IsActive = &v +} + +// GetMode returns the Mode field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetMode(v string) { + o.Mode = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetName(v string) { + o.Name = &v +} + +// GetPriority returns the Priority field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetPriority(v int64) { + o.Priority = &v +} + +// GetUpstreamUrl returns the UpstreamUrl field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetUpstreamUrl(v string) { + o.UpstreamUrl = &v +} + +// GetVerifySsl returns the VerifySsl field value if set, zero value otherwise. +func (o *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) 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 *NixUpstreamRequestPatch) SetVerifySsl(v bool) { + o.VerifySsl = &v +} + +func (o NixUpstreamRequestPatch) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o NixUpstreamRequestPatch) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.AuthMode) { + toSerialize["auth_mode"] = o.AuthMode + } + if o.AuthSecret.IsSet() { + toSerialize["auth_secret"] = o.AuthSecret.Get() + } + if o.AuthUsername.IsSet() { + toSerialize["auth_username"] = o.AuthUsername.Get() + } + if o.ExtraHeader1.IsSet() { + toSerialize["extra_header_1"] = o.ExtraHeader1.Get() + } + if o.ExtraHeader2.IsSet() { + toSerialize["extra_header_2"] = o.ExtraHeader2.Get() + } + if o.ExtraValue1.IsSet() { + toSerialize["extra_value_1"] = o.ExtraValue1.Get() + } + if o.ExtraValue2.IsSet() { + toSerialize["extra_value_2"] = o.ExtraValue2.Get() + } + if !IsNil(o.IsActive) { + toSerialize["is_active"] = o.IsActive + } + if !IsNil(o.Mode) { + toSerialize["mode"] = o.Mode + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + if !IsNil(o.Priority) { + toSerialize["priority"] = o.Priority + } + if !IsNil(o.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 *NixUpstreamRequestPatch) UnmarshalJSON(data []byte) (err error) { + varNixUpstreamRequestPatch := _NixUpstreamRequestPatch{} + + err = json.Unmarshal(data, &varNixUpstreamRequestPatch) + + if err != nil { + return err + } + + *o = NixUpstreamRequestPatch(varNixUpstreamRequestPatch) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "auth_mode") + delete(additionalProperties, "auth_secret") + delete(additionalProperties, "auth_username") + delete(additionalProperties, "extra_header_1") + delete(additionalProperties, "extra_header_2") + delete(additionalProperties, "extra_value_1") + delete(additionalProperties, "extra_value_2") + delete(additionalProperties, "is_active") + delete(additionalProperties, "mode") + delete(additionalProperties, "name") + delete(additionalProperties, "priority") + delete(additionalProperties, "upstream_url") + delete(additionalProperties, "verify_ssl") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableNixUpstreamRequestPatch struct { + value *NixUpstreamRequestPatch + isSet bool +} + +func (v NullableNixUpstreamRequestPatch) Get() *NixUpstreamRequestPatch { + return v.value +} + +func (v *NullableNixUpstreamRequestPatch) Set(val *NixUpstreamRequestPatch) { + v.value = val + v.isSet = true +} + +func (v NullableNixUpstreamRequestPatch) IsSet() bool { + return v.isSet +} + +func (v *NullableNixUpstreamRequestPatch) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableNixUpstreamRequestPatch(val *NixUpstreamRequestPatch) *NullableNixUpstreamRequestPatch { + return &NullableNixUpstreamRequestPatch{value: val, isSet: true} +} + +func (v NullableNixUpstreamRequestPatch) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableNixUpstreamRequestPatch) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go index fb224094..3ac3a97f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload_request.go b/model_npm_package_upload_request.go index 3b21164c..f0a1652b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream.go b/model_npm_upstream.go index e701d4b9..90bbe8db 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request.go b/model_npm_upstream_request.go index b489872a..e409c20e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request_patch.go b/model_npm_upstream_request_patch.go index c9ead938..f5b48d16 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go index 10ddea4f..c3620cb2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go index 81fe9e22..8b4c41fe 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream.go b/model_nuget_upstream.go index 185cc0d0..df8e5bea 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request.go b/model_nuget_upstream_request.go index 6357a741..21d00371 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request_patch.go b/model_nuget_upstream_request_patch.go index 72db75a2..ab4cf0b2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_oidc_1.go b/model_oidc_1.go new file mode 100644 index 00000000..543ab4ef --- /dev/null +++ b/model_oidc_1.go @@ -0,0 +1,155 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +Contact: support@cloudsmith.io +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package cloudsmith + +import ( + "encoding/json" +) + +// checks if the Oidc1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &Oidc1{} + +// Oidc1 struct for Oidc1 +type Oidc1 struct { + // Serialized JWT to be used for authentication. + Token *string `json:"token,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _Oidc1 Oidc1 + +// NewOidc1 instantiates a new Oidc1 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 NewOidc1() *Oidc1 { + this := Oidc1{} + return &this +} + +// NewOidc1WithDefaults instantiates a new Oidc1 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 NewOidc1WithDefaults() *Oidc1 { + this := Oidc1{} + return &this +} + +// GetToken returns the Token field value if set, zero value otherwise. +func (o *Oidc1) GetToken() string { + if o == nil || IsNil(o.Token) { + var ret string + return ret + } + return *o.Token +} + +// GetTokenOk returns a tuple with the Token field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Oidc1) GetTokenOk() (*string, bool) { + if o == nil || IsNil(o.Token) { + return nil, false + } + return o.Token, true +} + +// HasToken returns a boolean if a field has been set. +func (o *Oidc1) HasToken() bool { + if o != nil && !IsNil(o.Token) { + return true + } + + return false +} + +// SetToken gets a reference to the given string and assigns it to the Token field. +func (o *Oidc1) SetToken(v string) { + o.Token = &v +} + +func (o Oidc1) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o Oidc1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Token) { + toSerialize["token"] = o.Token + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *Oidc1) UnmarshalJSON(data []byte) (err error) { + varOidc1 := _Oidc1{} + + err = json.Unmarshal(data, &varOidc1) + + if err != nil { + return err + } + + *o = Oidc1(varOidc1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "token") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableOidc1 struct { + value *Oidc1 + isSet bool +} + +func (v NullableOidc1) Get() *Oidc1 { + return v.value +} + +func (v *NullableOidc1) Set(val *Oidc1) { + v.value = val + v.isSet = true +} + +func (v NullableOidc1) IsSet() bool { + return v.isSet +} + +func (v *NullableOidc1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOidc1(val *Oidc1) *NullableOidc1 { + return &NullableOidc1{value: val, isSet: true} +} + +func (v NullableOidc1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOidc1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_oidc_request.go b/model_oidc_request.go new file mode 100644 index 00000000..1336e4cd --- /dev/null +++ b/model_oidc_request.go @@ -0,0 +1,198 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.1351.3 +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 OidcRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &OidcRequest{} + +// OidcRequest struct for OidcRequest +type OidcRequest struct { + // Serialized OIDC token. + OidcToken string `json:"oidc_token"` + // Slug for the service account. + ServiceSlug string `json:"service_slug"` + AdditionalProperties map[string]interface{} +} + +type _OidcRequest OidcRequest + +// NewOidcRequest instantiates a new OidcRequest 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 NewOidcRequest(oidcToken string, serviceSlug string) *OidcRequest { + this := OidcRequest{} + this.OidcToken = oidcToken + this.ServiceSlug = serviceSlug + return &this +} + +// NewOidcRequestWithDefaults instantiates a new OidcRequest 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 NewOidcRequestWithDefaults() *OidcRequest { + this := OidcRequest{} + return &this +} + +// GetOidcToken returns the OidcToken field value +func (o *OidcRequest) GetOidcToken() string { + if o == nil { + var ret string + return ret + } + + return o.OidcToken +} + +// GetOidcTokenOk returns a tuple with the OidcToken field value +// and a boolean to check if the value has been set. +func (o *OidcRequest) GetOidcTokenOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.OidcToken, true +} + +// SetOidcToken sets field value +func (o *OidcRequest) SetOidcToken(v string) { + o.OidcToken = v +} + +// GetServiceSlug returns the ServiceSlug field value +func (o *OidcRequest) GetServiceSlug() string { + if o == nil { + var ret string + return ret + } + + return o.ServiceSlug +} + +// GetServiceSlugOk returns a tuple with the ServiceSlug field value +// and a boolean to check if the value has been set. +func (o *OidcRequest) GetServiceSlugOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ServiceSlug, true +} + +// SetServiceSlug sets field value +func (o *OidcRequest) SetServiceSlug(v string) { + o.ServiceSlug = v +} + +func (o OidcRequest) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o OidcRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["oidc_token"] = o.OidcToken + toSerialize["service_slug"] = o.ServiceSlug + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *OidcRequest) 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{ + "oidc_token", + "service_slug", + } + + 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) + } + } + + varOidcRequest := _OidcRequest{} + + err = json.Unmarshal(data, &varOidcRequest) + + if err != nil { + return err + } + + *o = OidcRequest(varOidcRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "oidc_token") + delete(additionalProperties, "service_slug") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableOidcRequest struct { + value *OidcRequest + isSet bool +} + +func (v NullableOidcRequest) Get() *OidcRequest { + return v.value +} + +func (v *NullableOidcRequest) Set(val *OidcRequest) { + v.value = val + v.isSet = true +} + +func (v NullableOidcRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableOidcRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableOidcRequest(val *OidcRequest) *NullableOidcRequest { + return &NullableOidcRequest{value: val, isSet: true} +} + +func (v NullableOidcRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableOidcRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_organization.go b/model_organization.go index 44d12da8..7de7d3a7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domain_nested_repo.go b/model_organization_custom_domain_nested_repo.go index dc895b03..597afb50 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_custom_domains.go b/model_organization_custom_domains.go index 222df200..b826176b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync.go b/model_organization_group_sync.go index 9ffa5b39..7537d031 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_request.go b/model_organization_group_sync_request.go index 2144f96d..703462f0 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_status.go b/model_organization_group_sync_status.go index 1b087606..69949388 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite.go b/model_organization_invite.go index 1d6081dd..81ca788e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go index 75bda0dc..5cea0e41 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go index 8b6d7858..e38a9cd4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update.go b/model_organization_invite_update.go index 06b944b1..4a19ee0e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go index 2063a07e..7cc99c54 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership.go b/model_organization_membership.go index 5b3a5c2f..80456e02 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update.go b/model_organization_membership_role_update.go index 9be43852..9ed18a23 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.1350.0 +API version: 1.1351.3 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 db2b4857..3d0bd15a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update.go b/model_organization_membership_visibility_update.go index e3eaf472..4e66e8fa 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.1350.0 +API version: 1.1351.3 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 8b6cebaf..72ddc8cb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy.go b/model_organization_package_license_policy.go index efd3f02e..021b243e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request.go b/model_organization_package_license_policy_request.go index 688f1e95..3e1eced6 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.1350.0 +API version: 1.1351.3 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 3fef619a..686dadeb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy.go b/model_organization_package_vulnerability_policy.go index 9d0d4ea6..fec44034 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request.go b/model_organization_package_vulnerability_policy_request.go index c4821f77..322e7806 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.1350.0 +API version: 1.1351.3 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 532ec0a6..7adc11d5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth.go b/model_organization_saml_auth.go index 3ec0cd6a..92507a4f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth_request_patch.go b/model_organization_saml_auth_request_patch.go index 5ac2e4b3..001107de 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_team.go b/model_organization_team.go index c569ab84..ddd197dc 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_invite.go b/model_organization_team_invite.go index d00db2b4..0f05364d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_members.go b/model_organization_team_members.go index cbd9556e..55d7da9c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request.go b/model_organization_team_request.go index 03933998..4b3fd69c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request_patch.go b/model_organization_team_request_patch.go index 7cb7a564..1de585dc 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_service_member.go b/model_organization_team_service_member.go index b2059549..7c662b6b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage.go b/model_organization_usage.go index 79a9d63d..91b8a0f7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage_update.go b/model_organization_usage_update.go index 69f2ad4f..65ee0ab3 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_organization_usage_update_request_patch.go b/model_organization_usage_update_request_patch.go index 14e9672e..0d3294bb 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.1350.0 +API version: 1.1351.3 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 92716c4d..e9f9f39a 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.1350.0 +API version: 1.1351.3 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 23a1115d..345b548a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go index 598e73ae..a7b8e315 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go index 03ecffd0..9fa55e7f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package.go b/model_package.go index b2ca0988..6c447e6b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action.go b/model_package_bulk_action.go index 6037503d..6fed1d52 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_bulk_action_response.go b/model_package_bulk_action_response.go index c2595b3f..9f9a7113 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_copy.go b/model_package_copy.go index 1c00f567..18eb413d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_copy_request.go b/model_package_copy_request.go index 145a7480..21f2c7a2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy.go b/model_package_deny_policy.go index 5c82617b..64b2e865 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request.go b/model_package_deny_policy_request.go index fdba442b..8386051e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request_patch.go b/model_package_deny_policy_request_patch.go index e87447f8..0a0281f9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_dependencies.go b/model_package_dependencies.go index edbd6b97..9f620638 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_dependency.go b/model_package_dependency.go index 9d9d2c95..0de78c44 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_detail.go b/model_package_detail.go index 6ec5dce6..3f628ea5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_file.go b/model_package_file.go index 9f389be4..79d9c63c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go index 52226675..faa489ca 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload.go b/model_package_file_upload.go index d251a1ae..bc00638a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload_request.go b/model_package_file_upload_request.go index 5e014959..07b0d0f5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_group.go b/model_package_group.go index 01a22ec0..a21c40b1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_license.go b/model_package_license.go index 01c54a9b..6d41524b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_evaluation_request.go b/model_package_license_policy_evaluation_request.go index ba9de833..8a996eb1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log.go b/model_package_license_policy_violation_log.go index 69c8a636..69ac42c1 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.1350.0 +API version: 1.1351.3 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 75020ad9..3f387cf8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_license_request_patch.go b/model_package_license_request_patch.go index 8105b522..c25e44b8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_move.go b/model_package_move.go index bbb86b3e..6584b381 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_move_request.go b/model_package_move_request.go index 4d5033f0..0615111c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine.go b/model_package_quarantine.go index 0a4e9094..0100dd4e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go index 636c9f71..dc6408d3 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_recycle_bin.go b/model_package_recycle_bin.go index d7464c11..81e8a60d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_resync.go b/model_package_resync.go index d27bbea7..6d011114 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_status.go b/model_package_status.go index 45811f46..49719b8c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_tag.go b/model_package_tag.go index 5ac6d378..06cc8adc 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_tag_request.go b/model_package_tag_request.go index 3a58f2cf..26cc63f7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go index 22f87e23..4101b129 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go index c38ebabf..21712657 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_evaluation_request.go b/model_package_vulnerability_policy_evaluation_request.go index b60cc91e..7d38a103 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log.go b/model_package_vulnerability_policy_violation_log.go index 8a4bb9bd..089546e7 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.1350.0 +API version: 1.1351.3 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 ec4e6526..90463961 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_packages_groups_list_200_response.go b/model_packages_groups_list_200_response.go index 6755dd49..20c0e926 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings.go b/model_provider_settings.go index 8d1f7736..6f97eab0 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write.go b/model_provider_settings_write.go index 4526eb65..50f5e82c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write_request.go b/model_provider_settings_write_request.go index 2690a875..8d74682b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_write_request_patch.go b/model_provider_settings_write_request_patch.go index b7427669..2a5a76c4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload.go b/model_python_package_upload.go index 677719b5..d653fd54 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go index 884dd14c..07316946 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream.go b/model_python_upstream.go index 935fd723..856fe3a9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request.go b/model_python_upstream_request.go index 0dea58d2..6d5a2a3b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request_patch.go b/model_python_upstream_request_patch.go index cda6e50c..d5410c3e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_quota.go b/model_quota.go index 35373d6d..72cf7a1a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_quota_history.go b/model_quota_history.go index b7d5c689..4287ba2f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_rate_check.go b/model_rate_check.go index fe690ae6..a825d032 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go index ef85c40d..db3b319f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go index e0e5ac4e..cca0a867 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_recycle_bin_package.go b/model_recycle_bin_package.go index 536fca45..4c668c03 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repos_connected_list_200_response.go b/model_repos_connected_list_200_response.go index 259ad2a9..5f38323b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository.go b/model_repository.go index 0a1bbd21..0af441c2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go index a18eec4e..f952d37c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_create.go b/model_repository_create.go index e5377c2f..752c8c25 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_create_request.go b/model_repository_create_request.go index c2a2dea1..fba0c837 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key.go b/model_repository_ecdsa_key.go index fad13c8e..19412042 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key_create.go b/model_repository_ecdsa_key_create.go index c64625ff..b225976b 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key.go b/model_repository_ed25519_key.go index 3d66fb68..61085535 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_ed25519_key_create.go b/model_repository_ed25519_key_create.go index 9ca1be32..8bdb4908 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_cidr.go b/model_repository_geo_ip_cidr.go index 446d9b56..c92d4942 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_country_code.go b/model_repository_geo_ip_country_code.go index 72b37bf4..0c754e63 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules.go b/model_repository_geo_ip_rules.go index 872e52ca..cec4d863 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request.go b/model_repository_geo_ip_rules_request.go index d0c76038..ac42a7c8 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.1350.0 +API version: 1.1351.3 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 1aac9f38..73344065 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_status.go b/model_repository_geo_ip_status.go index 5d6861b4..f1afe5f4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address.go b/model_repository_geo_ip_test_address.go index b2596a86..82d15274 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.1350.0 +API version: 1.1351.3 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 541f09c8..09d11710 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.1350.0 +API version: 1.1351.3 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 85021ae6..1c4ed56f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index 511b2df2..736fe317 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key_create.go b/model_repository_gpg_key_create.go index 12edfa7c..e7298e4f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go index e179fb8a..f766c066 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input.go b/model_repository_privilege_input.go index 83eae130..c32d3ce8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go index 7920fd49..1da66aa1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go index 75c89077..c295aba0 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_request_patch.go b/model_repository_request_patch.go index 5727abe7..669bf993 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules.go b/model_repository_retention_rules.go index e6e756a9..d1377c80 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules_request_patch.go b/model_repository_retention_rules_request_patch.go index a46663c4..72ae23c4 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key.go index c38a9cbd..01c389fd 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key_create.go b/model_repository_rsa_key_create.go index 2d0513a3..d36fd5d1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token.go b/model_repository_token.go index 8ddac124..6a630afc 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts.go b/model_repository_token_private_broadcasts.go index ab400f46..8769579a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_private_broadcasts_request.go b/model_repository_token_private_broadcasts_request.go index 1f8ca0a7..706b3233 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go index 077b0ce7..d5e85441 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go index bb39f259..a865ab5f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request.go b/model_repository_token_request.go index c0645b25..283f29fb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go index 4a0ccc4c..c47090af 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go index f56ab54a..589ba78d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go index b7e6357d..90e3d240 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region.go b/model_repository_transfer_region.go index c4b7e704..b924e6ea 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region_request.go b/model_repository_transfer_region_request.go index c50989bc..37b8b50f 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook.go b/model_repository_webhook.go index 6ba5ddc2..e8621819 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go index 903163cd..4ba693b2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go index 0e324528..99c35bbf 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_ecdsa_certificate.go b/model_repository_x509_ecdsa_certificate.go index 77eb958d..b6b71d28 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_rsa_certificate.go b/model_repository_x509_rsa_certificate.go index 24ca1b33..d299f684 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go index e2c1e57e..30fe62a9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go index f52c1a98..fd7f693c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload_request.go b/model_rpm_package_upload_request.go index b842bbdd..c2f9671d 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream.go b/model_rpm_upstream.go index c99b11f1..da34e1b3 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request.go b/model_rpm_upstream_request.go index fc63642d..2d01aa14 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request_patch.go b/model_rpm_upstream_request_patch.go index 2b8c3438..55a51b18 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go index 8156180e..524423ba 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go index 54fecd73..5ac05336 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream.go b/model_ruby_upstream.go index f38c8518..fd058e79 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request.go b/model_ruby_upstream_request.go index e42e97c9..dca0a7a1 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request_patch.go b/model_ruby_upstream_request_patch.go index 0741b567..b8e90533 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_service.go b/model_service.go index 27b67fec..9ac31579 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_service_request.go b/model_service_request.go index 72aad783..44119672 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_service_request_patch.go b/model_service_request_patch.go index 04c627e8..59f84cbd 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_service_teams.go b/model_service_teams.go index cc781aa5..710c904c 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_status_basic.go b/model_status_basic.go index 1b716eb2..4855c97a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit.go b/model_storage_allocated_limit.go index 0e34d359..5dfdc2a7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit_raw.go b/model_storage_allocated_limit_raw.go index 41e20167..ece3e588 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_storage_region.go b/model_storage_region.go index ca0969f0..b404dd68 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage.go b/model_storage_usage.go index 20cb24da..2b9221bf 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage_raw.go b/model_storage_usage_raw.go index 41421c57..a8bfcdae 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload.go b/model_swift_package_upload.go index fa9d3e7b..4e990dc5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload_request.go b/model_swift_package_upload_request.go index 89c73078..027e95e7 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream.go b/model_swift_upstream.go index f4d0f248..a6ee01aa 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request.go b/model_swift_upstream_request.go index 79826c50..4582e54a 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request_patch.go b/model_swift_upstream_request_patch.go index b9e4d87f..f18ade33 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload.go b/model_terraform_package_upload.go index d86335f1..0879cb76 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go index 88b4db53..2225abff 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_usage.go b/model_usage.go index 0ff5c591..bce08955 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go index 1fc32140..cd0111bc 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits.go b/model_usage_limits.go index e7feb7e5..952ddff6 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits_raw.go b/model_usage_limits_raw.go index 9dde5f58..3e74a9d8 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_usage_raw.go b/model_usage_raw.go index eb861150..073c9494 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token.go b/model_user_auth_token.go index 891b990d..8eb7fb6e 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token_request.go b/model_user_auth_token_request.go index 3b5d6acf..7a2d80a3 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_user_authentication_token.go b/model_user_authentication_token.go index e5f48cf5..316da5b9 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_user_brief.go b/model_user_brief.go index 477a3209..77cfb2dd 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_user_profile.go b/model_user_profile.go index 12b70d0e..cedf2c96 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_user_tokens_list_200_response.go b/model_user_tokens_list_200_response.go index b4cfe250..f9794ab2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload.go index 29c0573d..64fec243 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload_request.go b/model_vagrant_package_upload_request.go index 89c081dc..08439878 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vsx_package_upload.go b/model_vsx_package_upload.go index d402df27..54726c73 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vsx_package_upload_request.go b/model_vsx_package_upload_request.go index 830cd783..8782a118 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability.go b/model_vulnerability.go index f0b38444..96e56dd2 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go index f0666257..50d7e1b5 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go index 85dfe828..922731ac 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go index 3c7866f1..64d3e1eb 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go index bddba870..5ef0a0ef 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_web_osv_severity_counts.go b/model_web_osv_severity_counts.go index 3aaaabaa..df3efe63 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/model_webhook_template.go b/model_webhook_template.go index 8c84dc08..7550bc31 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.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/response.go b/response.go index d2ed80bf..74a6980a 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index 1832cc31..c67b9213 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.1350.0 +API version: 1.1351.3 Contact: support@cloudsmith.io */