diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 4e5b8788..c747d7b2 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -235,7 +235,8 @@ docs/RepositoryTransferRegionRequest.md docs/RepositoryWebhook.md docs/RepositoryWebhookRequest.md docs/RepositoryWebhookRequestPatch.md -docs/RepositoryX509Certificate.md +docs/RepositoryX509EcdsaCertificate.md +docs/RepositoryX509RsaCertificate.md docs/ResourcesRateCheck.md docs/RpmPackageUpload.md docs/RpmPackageUploadRequest.md @@ -489,7 +490,8 @@ model_repository_transfer_region_request.go model_repository_webhook.go model_repository_webhook_request.go model_repository_webhook_request_patch.go -model_repository_x509_certificate.go +model_repository_x509_ecdsa_certificate.go +model_repository_x509_rsa_certificate.go model_resources_rate_check.go model_rpm_package_upload.go model_rpm_package_upload_request.go diff --git a/README.md b/README.md index c395d120..15e1084d 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.617.2 -- Package version: 0.0.42 +- API version: 1.654.0 +- Package version: 0.0.45 - 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) @@ -355,7 +355,8 @@ Class | Method | HTTP request | Description *ReposApi* | [**ReposUpstreamSwiftRead**](docs/ReposApi.md#reposupstreamswiftread) | **Get** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Retrieve a Swift upstream config for this repository. *ReposApi* | [**ReposUpstreamSwiftUpdate**](docs/ReposApi.md#reposupstreamswiftupdate) | **Put** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Update a Swift upstream config for this repository. *ReposApi* | [**ReposUserList**](docs/ReposApi.md#reposuserlist) | **Get** /repos/ | Get a list of all repositories associated with current user. -*ReposApi* | [**ReposX509List**](docs/ReposApi.md#reposx509list) | **Get** /repos/{owner}/{identifier}/x509/ | Retrieve the active X.509 certificate for the Repository. +*ReposApi* | [**ReposX509EcdsaList**](docs/ReposApi.md#reposx509ecdsalist) | **Get** /repos/{owner}/{identifier}/x509-ecdsa/ | Retrieve the active X.509 ECDSA certificate for the Repository. +*ReposApi* | [**ReposX509RsaList**](docs/ReposApi.md#reposx509rsalist) | **Get** /repos/{owner}/{identifier}/x509-rsa/ | Retrieve the active X.509 RSA certificate for the Repository. *StatusApi* | [**StatusCheckBasic**](docs/StatusApi.md#statuscheckbasic) | **Get** /status/check/basic/ | Endpoint to check basic API connectivity. *StorageRegionsApi* | [**StorageRegionsList**](docs/StorageRegionsApi.md#storageregionslist) | **Get** /storage-regions/ | Get a list of all available storage regions. *StorageRegionsApi* | [**StorageRegionsRead**](docs/StorageRegionsApi.md#storageregionsread) | **Get** /storage-regions/{slug}/ | Get a specific storage region. @@ -574,7 +575,8 @@ Class | Method | HTTP request | Description - [RepositoryWebhook](docs/RepositoryWebhook.md) - [RepositoryWebhookRequest](docs/RepositoryWebhookRequest.md) - [RepositoryWebhookRequestPatch](docs/RepositoryWebhookRequestPatch.md) - - [RepositoryX509Certificate](docs/RepositoryX509Certificate.md) + - [RepositoryX509EcdsaCertificate](docs/RepositoryX509EcdsaCertificate.md) + - [RepositoryX509RsaCertificate](docs/RepositoryX509RsaCertificate.md) - [ResourcesRateCheck](docs/ResourcesRateCheck.md) - [RpmPackageUpload](docs/RpmPackageUpload.md) - [RpmPackageUploadRequest](docs/RpmPackageUploadRequest.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index feabb090..a7953189 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.617.2 + version: 1.654.0 servers: - url: https://api.cloudsmith.io/v1 security: @@ -2455,6 +2455,20 @@ paths: schema: default: false type: boolean + - description: "A search term for querying of members within an Organization.Available\ + \ options are: email, org, user, userslug, inactive, user_name, role" + in: query + name: query + schema: + type: string + - description: "A field for sorting objects in ascending or descending order.\ + \ Use `-` prefix for descending order (e.g., `-user_name`). Available options:\ + \ user_name, role." + in: query + name: sort + schema: + default: user_name + type: string responses: "200": content: @@ -12409,10 +12423,47 @@ paths: tags: - repos x-codegen-request-body-name: data - /repos/{owner}/{identifier}/x509/: + /repos/{owner}/{identifier}/x509-ecdsa/: + get: + description: Retrieve the active X.509 ECDSA certificate for the Repository. + operationId: repos_x509_ecdsa_list + parameters: + - in: path + name: owner + required: true + schema: + type: string + - in: path + name: identifier + required: true + schema: + type: string + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/RepositoryX509EcdsaCertificate' + description: Retrieved the active X.509 ECDSA Certificate. + "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 the active X.509 ECDSA certificate for the Repository. + tags: + - repos + /repos/{owner}/{identifier}/x509-rsa/: get: - description: Retrieve the active X.509 certificate for the Repository. - operationId: repos_x509_list + description: Retrieve the active X.509 RSA certificate for the Repository. + operationId: repos_x509_rsa_list parameters: - in: path name: owner @@ -12429,8 +12480,8 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/RepositoryX509Certificate' - description: Retrieved the active X.509 Certificate. + $ref: '#/components/schemas/RepositoryX509RsaCertificate' + description: Retrieved the active X.509 RSA Certificate. "400": content: application/json: @@ -12443,7 +12494,7 @@ paths: schema: $ref: '#/components/schemas/ErrorDetail' description: Missing or invalid parameters (see detail). - summary: Retrieve the active X.509 certificate for the Repository. + summary: Retrieve the active X.509 RSA certificate for the Repository. tags: - repos /repos/{owner}/{repo}/retention/: @@ -25960,6 +26011,9 @@ components: group_id: group_id scala_version: scala_version sbt_version: sbt_version + extra_files: + - extra_files + - extra_files properties: artifact_id: description: The ID of the artifact. @@ -25967,6 +26021,14 @@ components: nullable: true title: Artifact id type: string + extra_files: + description: Extra files to include in the package. This can be a single + file or multiple files. + items: + minLength: 1 + type: string + nullable: true + type: array group_id: description: Artifact's group ID. maxLength: 2083 @@ -35975,6 +36037,7 @@ components: created_at: 2000-01-23T04:56:07.000+00:00 comment: comment fingerprint_short: fingerprint_short + nuget_native_signing_enabled: true is_public: true namespace: namespace use_debian_labels: true @@ -36180,6 +36243,14 @@ components: readOnly: true title: Namespace url type: string + nuget_native_signing_enabled: + description: "When enabled, all pushed (or pulled from upstream) nuget packages\ + \ and artifacts will be signed using the repository's X.509 RSA certificate.\ + \ Additionally, the nuget RepositorySignature index will list all of the\ + \ repository's signing certificates including the ones from configured\ + \ upstreams." + title: Nuget Native Signing Enabled? + type: boolean num_downloads: description: The number of downloads for packages in the repository. readOnly: true @@ -36488,6 +36559,7 @@ components: use_default_cargo_upstream: true storage_region: default scan_own: true + nuget_native_signing_enabled: true distributes: - distributes - distributes @@ -36646,6 +36718,14 @@ components: pattern: "^\\w[\\w \\-'\\.\\/()]+$" title: Name type: string + nuget_native_signing_enabled: + description: "When enabled, all pushed (or pulled from upstream) nuget packages\ + \ and artifacts will be signed using the repository's X.509 RSA certificate.\ + \ Additionally, the nuget RepositorySignature index will list all of the\ + \ repository's signing certificates including the ones from configured\ + \ upstreams." + title: Nuget Native Signing Enabled? + type: boolean open_source_license: description: The SPDX identifier of the open source license. nullable: true @@ -36943,6 +37023,7 @@ components: created_at: 2000-01-23T04:56:07.000+00:00 comment: comment fingerprint_short: fingerprint_short + nuget_native_signing_enabled: true is_public: true namespace: namespace use_debian_labels: true @@ -37148,6 +37229,14 @@ components: readOnly: true title: Namespace url type: string + nuget_native_signing_enabled: + description: "When enabled, all pushed (or pulled from upstream) nuget packages\ + \ and artifacts will be signed using the repository's X.509 RSA certificate.\ + \ Additionally, the nuget RepositorySignature index will list all of the\ + \ repository's signing certificates including the ones from configured\ + \ upstreams." + title: Nuget Native Signing Enabled? + type: boolean num_downloads: description: The number of downloads for packages in the repository. readOnly: true @@ -37454,6 +37543,7 @@ components: use_noarch_packages: true use_default_cargo_upstream: true scan_own: true + nuget_native_signing_enabled: true distributes: - distributes - distributes @@ -37612,6 +37702,14 @@ components: pattern: "^\\w[\\w \\-'\\.\\/()]+$" title: Name type: string + nuget_native_signing_enabled: + description: "When enabled, all pushed (or pulled from upstream) nuget packages\ + \ and artifacts will be signed using the repository's X.509 RSA certificate.\ + \ Additionally, the nuget RepositorySignature index will list all of the\ + \ repository's signing certificates including the ones from configured\ + \ upstreams." + title: Nuget Native Signing Enabled? + type: boolean open_source_license: description: The SPDX identifier of the open source license. nullable: true @@ -44021,14 +44119,17 @@ components: title: Verify SSL Certificates type: boolean type: object - RepositoryX509Certificate: + RepositoryX509EcdsaCertificate: example: default: true + certificate_chain_fingerprint_short: certificate_chain_fingerprint_short certificate: certificate certificate_fingerprint_short: certificate_fingerprint_short active: true + certificate_chain_fingerprint: certificate_chain_fingerprint created_at: 2000-01-23T04:56:07.000+00:00 certificate_fingerprint: certificate_fingerprint + certificate_chain: certificate_chain issuing_status: Certificate is pending to be issued properties: active: @@ -44042,6 +44143,87 @@ components: readOnly: true title: Certificate type: string + certificate_chain: + description: Base64 encoded CA certificate chain. + nullable: true + readOnly: true + title: Certificate chain + type: string + certificate_chain_fingerprint: + readOnly: true + title: Certificate chain fingerprint + type: string + certificate_chain_fingerprint_short: + readOnly: true + title: Certificate chain fingerprint short + type: string + certificate_fingerprint: + description: The SHA-256 long identifier used + nullable: true + readOnly: true + title: Certificate fingerprint + type: string + certificate_fingerprint_short: + readOnly: true + title: Certificate fingerprint short + type: string + created_at: + format: date-time + readOnly: true + title: Created at + type: string + default: + description: If selected this is the default key for this repository. + readOnly: true + title: Default + type: boolean + issuing_status: + default: Certificate is pending to be issued + enum: + - Certificate is pending to be issued + - Certificate successfully issued + - Error issuing certificate + title: Issuing status + type: string + type: object + RepositoryX509RsaCertificate: + example: + default: true + certificate_chain_fingerprint_short: certificate_chain_fingerprint_short + certificate: certificate + certificate_fingerprint_short: certificate_fingerprint_short + active: true + certificate_chain_fingerprint: certificate_chain_fingerprint + created_at: 2000-01-23T04:56:07.000+00:00 + certificate_fingerprint: certificate_fingerprint + certificate_chain: certificate_chain + issuing_status: Certificate is pending to be issued + properties: + active: + description: If selected this is the active key for this repository. + readOnly: true + title: Active + type: boolean + certificate: + description: The issued certificate. + nullable: true + readOnly: true + title: Certificate + type: string + certificate_chain: + description: Base64 encoded CA certificate chain. + nullable: true + readOnly: true + title: Certificate chain + type: string + certificate_chain_fingerprint: + readOnly: true + title: Certificate chain fingerprint + type: string + certificate_chain_fingerprint_short: + readOnly: true + title: Certificate chain fingerprint short + type: string certificate_fingerprint: description: The SHA-256 long identifier used nullable: true @@ -44208,7 +44390,7 @@ components: StatusBasic: example: detail: Cloudsmith API is operational. - version: 1.617.2 + version: 1.654.0 properties: detail: default: Cloudsmith API is operational. @@ -44218,7 +44400,7 @@ components: title: Detail type: string version: - default: 1.617.2 + default: 1.654.0 description: The current version for the Cloudsmith service. minLength: 1 readOnly: true diff --git a/api_audit_log.go b/api_audit_log.go index 2d23b3a3..800e5752 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_badges.go b/api_badges.go index bdb4a5b1..ae2771d8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_distros.go b/api_distros.go index 69b04c9a..4bb2b174 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_entitlements.go b/api_entitlements.go index 7b9ba09d..9bac2119 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_files.go b/api_files.go index a45f387d..c0360cae 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_formats.go b/api_formats.go index bae1be88..ed801ee4 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_metrics.go b/api_metrics.go index 65f7e2a4..21f28450 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_namespaces.go b/api_namespaces.go index 7947707f..3dcc6117 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_orgs.go b/api_orgs.go index 55c040f5..cf13bfcd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -3725,6 +3725,8 @@ type ApiOrgsMembersListRequest struct { page *int64 pageSize *int64 isActive *bool + query *string + sort *string } // A page number within the paginated result set. @@ -3745,6 +3747,18 @@ func (r ApiOrgsMembersListRequest) IsActive(isActive bool) ApiOrgsMembersListReq return r } +// A search term for querying of members within an Organization.Available options are: email, org, user, userslug, inactive, user_name, role +func (r ApiOrgsMembersListRequest) Query(query string) ApiOrgsMembersListRequest { + r.query = &query + return r +} + +// A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-user_name`). Available options: user_name, role. +func (r ApiOrgsMembersListRequest) Sort(sort string) ApiOrgsMembersListRequest { + r.sort = &sort + return r +} + func (r ApiOrgsMembersListRequest) Execute() ([]OrganizationMembership, *http.Response, error) { return r.ApiService.OrgsMembersListExecute(r) } @@ -3800,6 +3814,15 @@ func (a *OrgsApiService) OrgsMembersListExecute(r ApiOrgsMembersListRequest) ([] var defaultValue bool = false r.isActive = &defaultValue } + if r.query != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "query", r.query, "", "") + } + if r.sort != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "sort", r.sort, "", "") + } else { + var defaultValue string = "user_name" + r.sort = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} diff --git a/api_packages.go b/api_packages.go index 1f3aaaf7..3d579228 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_quota.go b/api_quota.go index 1e328e01..72187478 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_rates.go b/api_rates.go index 3ce1ece7..b88c8e74 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_repos.go b/api_repos.go index 906d86d9..a9e683c2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -17055,29 +17055,29 @@ func (a *ReposApiService) ReposUserListExecute(r ApiReposUserListRequest) ([]Rep return localVarReturnValue, localVarHTTPResponse, nil } -type ApiReposX509ListRequest struct { +type ApiReposX509EcdsaListRequest struct { ctx context.Context ApiService *ReposApiService owner string identifier string } -func (r ApiReposX509ListRequest) Execute() (*RepositoryX509Certificate, *http.Response, error) { - return r.ApiService.ReposX509ListExecute(r) +func (r ApiReposX509EcdsaListRequest) Execute() (*RepositoryX509EcdsaCertificate, *http.Response, error) { + return r.ApiService.ReposX509EcdsaListExecute(r) } /* -ReposX509List Retrieve the active X.509 certificate for the Repository. +ReposX509EcdsaList Retrieve the active X.509 ECDSA certificate for the Repository. -Retrieve the active X.509 certificate for the Repository. +Retrieve the active X.509 ECDSA certificate for the Repository. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param owner @param identifier - @return ApiReposX509ListRequest + @return ApiReposX509EcdsaListRequest */ -func (a *ReposApiService) ReposX509List(ctx context.Context, owner string, identifier string) ApiReposX509ListRequest { - return ApiReposX509ListRequest{ +func (a *ReposApiService) ReposX509EcdsaList(ctx context.Context, owner string, identifier string) ApiReposX509EcdsaListRequest { + return ApiReposX509EcdsaListRequest{ ApiService: a, ctx: ctx, owner: owner, @@ -17086,21 +17086,163 @@ func (a *ReposApiService) ReposX509List(ctx context.Context, owner string, ident } // Execute executes the request -// @return RepositoryX509Certificate -func (a *ReposApiService) ReposX509ListExecute(r ApiReposX509ListRequest) (*RepositoryX509Certificate, *http.Response, error) { +// @return RepositoryX509EcdsaCertificate +func (a *ReposApiService) ReposX509EcdsaListExecute(r ApiReposX509EcdsaListRequest) (*RepositoryX509EcdsaCertificate, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *RepositoryX509Certificate + localVarReturnValue *RepositoryX509EcdsaCertificate ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposX509List") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposX509EcdsaList") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/repos/{owner}/{identifier}/x509/" + localVarPath := localBasePath + "/repos/{owner}/{identifier}/x509-ecdsa/" + 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{} + + // 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 ApiReposX509RsaListRequest struct { + ctx context.Context + ApiService *ReposApiService + owner string + identifier string +} + +func (r ApiReposX509RsaListRequest) Execute() (*RepositoryX509RsaCertificate, *http.Response, error) { + return r.ApiService.ReposX509RsaListExecute(r) +} + +/* +ReposX509RsaList Retrieve the active X.509 RSA certificate for the Repository. + +Retrieve the active X.509 RSA certificate for the Repository. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param owner + @param identifier + @return ApiReposX509RsaListRequest +*/ +func (a *ReposApiService) ReposX509RsaList(ctx context.Context, owner string, identifier string) ApiReposX509RsaListRequest { + return ApiReposX509RsaListRequest{ + ApiService: a, + ctx: ctx, + owner: owner, + identifier: identifier, + } +} + +// Execute executes the request +// @return RepositoryX509RsaCertificate +func (a *ReposApiService) ReposX509RsaListExecute(r ApiReposX509RsaListRequest) (*RepositoryX509RsaCertificate, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *RepositoryX509RsaCertificate + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ReposApiService.ReposX509RsaList") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/repos/{owner}/{identifier}/x509-rsa/" localVarPath = strings.Replace(localVarPath, "{"+"owner"+"}", url.PathEscape(parameterValueToString(r.owner, "owner")), -1) localVarPath = strings.Replace(localVarPath, "{"+"identifier"+"}", url.PathEscape(parameterValueToString(r.identifier, "identifier")), -1) diff --git a/api_status.go b/api_status.go index 63c0ac1b..d66c3e88 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_storage_regions.go b/api_storage_regions.go index d74787cb..f59dd051 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_user.go b/api_user.go index 851431bd..07ea351e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_users.go b/api_users.go index 09effb01..8ac8a8fe 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_vulnerabilities.go b/api_vulnerabilities.go index 24d4e810..8eb6bb35 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/api_webhooks.go b/api_webhooks.go index 0783deee..7f34798f 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/bin/generate b/bin/generate index 8b6c7bb0..b9249542 100755 --- a/bin/generate +++ b/bin/generate @@ -2,7 +2,7 @@ set -eou pipefail -PKG_VERSION=${1:-"0.0.42"} +PKG_VERSION=${1:-"0.0.45"} API_HOST=${2:-"https://api.cloudsmith.io"} diff --git a/client.go b/client.go index 4c91d53d..aa60855f 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Cloudsmith API (v1) API v1.617.2 +// APIClient manages communication with the Cloudsmith API (v1) API v1.654.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/configuration.go b/configuration.go index b0e1f00a..66a173fb 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -93,7 +93,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.0.42/go", + UserAgent: "OpenAPI-Generator/0.0.45/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/docs/MavenPackageUploadRequest.md b/docs/MavenPackageUploadRequest.md index ef774db7..6f475bda 100644 --- a/docs/MavenPackageUploadRequest.md +++ b/docs/MavenPackageUploadRequest.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ArtifactId** | Pointer to **NullableString** | The ID of the artifact. | [optional] +**ExtraFiles** | Pointer to **[]string** | Extra files to include in the package. This can be a single file or multiple files. | [optional] **GroupId** | Pointer to **NullableString** | Artifact's group ID. | [optional] **IvyFile** | Pointer to **NullableString** | The ivy file is an XML file describing the dependencies of the project. | [optional] **JavadocFile** | Pointer to **NullableString** | Adds bundled Java documentation to the Maven package | [optional] @@ -73,6 +74,41 @@ HasArtifactId returns a boolean if a field has been set. `func (o *MavenPackageUploadRequest) UnsetArtifactId()` UnsetArtifactId ensures that no value is present for ArtifactId, not even an explicit nil +### GetExtraFiles + +`func (o *MavenPackageUploadRequest) GetExtraFiles() []string` + +GetExtraFiles returns the ExtraFiles field if non-nil, zero value otherwise. + +### GetExtraFilesOk + +`func (o *MavenPackageUploadRequest) GetExtraFilesOk() (*[]string, bool)` + +GetExtraFilesOk returns a tuple with the ExtraFiles field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExtraFiles + +`func (o *MavenPackageUploadRequest) SetExtraFiles(v []string)` + +SetExtraFiles sets ExtraFiles field to given value. + +### HasExtraFiles + +`func (o *MavenPackageUploadRequest) HasExtraFiles() bool` + +HasExtraFiles returns a boolean if a field has been set. + +### SetExtraFilesNil + +`func (o *MavenPackageUploadRequest) SetExtraFilesNil(b bool)` + + SetExtraFilesNil sets the value for ExtraFiles to be an explicit nil + +### UnsetExtraFiles +`func (o *MavenPackageUploadRequest) UnsetExtraFiles()` + +UnsetExtraFiles ensures that no value is present for ExtraFiles, not even an explicit nil ### GetGroupId `func (o *MavenPackageUploadRequest) GetGroupId() string` diff --git a/docs/OrgsApi.md b/docs/OrgsApi.md index ee0f2fa3..f7897f00 100644 --- a/docs/OrgsApi.md +++ b/docs/OrgsApi.md @@ -1907,7 +1907,7 @@ Name | Type | Description | Notes ## OrgsMembersList -> []OrganizationMembership OrgsMembersList(ctx, org).Page(page).PageSize(pageSize).IsActive(isActive).Execute() +> []OrganizationMembership OrgsMembersList(ctx, org).Page(page).PageSize(pageSize).IsActive(isActive).Query(query).Sort(sort).Execute() Get the details for all organization members. @@ -1930,10 +1930,12 @@ func main() { 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) isActive := true // bool | Filter for active/inactive users. (optional) (default to false) + query := "query_example" // string | A search term for querying of members within an Organization.Available options are: email, org, user, userslug, inactive, user_name, role (optional) + sort := "sort_example" // string | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-user_name`). Available options: user_name, role. (optional) (default to "user_name") configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.OrgsApi.OrgsMembersList(context.Background(), org).Page(page).PageSize(pageSize).IsActive(isActive).Execute() + resp, r, err := apiClient.OrgsApi.OrgsMembersList(context.Background(), org).Page(page).PageSize(pageSize).IsActive(isActive).Query(query).Sort(sort).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `OrgsApi.OrgsMembersList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) @@ -1962,6 +1964,8 @@ Name | Type | Description | Notes **page** | **int64** | A page number within the paginated result set. | **pageSize** | **int64** | Number of results to return per page. | **isActive** | **bool** | Filter for active/inactive users. | [default to false] + **query** | **string** | A search term for querying of members within an Organization.Available options are: email, org, user, userslug, inactive, user_name, role | + **sort** | **string** | A field for sorting objects in ascending or descending order. Use `-` prefix for descending order (e.g., `-user_name`). Available options: user_name, role. | [default to "user_name"] ### Return type diff --git a/docs/ReposApi.md b/docs/ReposApi.md index d4fa6527..1df6df25 100644 --- a/docs/ReposApi.md +++ b/docs/ReposApi.md @@ -116,7 +116,8 @@ Method | HTTP request | Description [**ReposUpstreamSwiftRead**](ReposApi.md#ReposUpstreamSwiftRead) | **Get** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Retrieve a Swift upstream config for this repository. [**ReposUpstreamSwiftUpdate**](ReposApi.md#ReposUpstreamSwiftUpdate) | **Put** /repos/{owner}/{identifier}/upstream/swift/{slug_perm}/ | Update a Swift upstream config for this repository. [**ReposUserList**](ReposApi.md#ReposUserList) | **Get** /repos/ | Get a list of all repositories associated with current user. -[**ReposX509List**](ReposApi.md#ReposX509List) | **Get** /repos/{owner}/{identifier}/x509/ | Retrieve the active X.509 certificate for the Repository. +[**ReposX509EcdsaList**](ReposApi.md#ReposX509EcdsaList) | **Get** /repos/{owner}/{identifier}/x509-ecdsa/ | Retrieve the active X.509 ECDSA certificate for the Repository. +[**ReposX509RsaList**](ReposApi.md#ReposX509RsaList) | **Get** /repos/{owner}/{identifier}/x509-rsa/ | Retrieve the active X.509 RSA certificate for the Repository. @@ -8589,11 +8590,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## ReposX509List +## ReposX509EcdsaList -> RepositoryX509Certificate ReposX509List(ctx, owner, identifier).Execute() +> RepositoryX509EcdsaCertificate ReposX509EcdsaList(ctx, owner, identifier).Execute() -Retrieve the active X.509 certificate for the Repository. +Retrieve the active X.509 ECDSA certificate for the Repository. @@ -8615,13 +8616,13 @@ func main() { configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ReposApi.ReposX509List(context.Background(), owner, identifier).Execute() + resp, r, err := apiClient.ReposApi.ReposX509EcdsaList(context.Background(), owner, identifier).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposX509List``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposX509EcdsaList``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `ReposX509List`: RepositoryX509Certificate - fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposX509List`: %v\n", resp) + // response from `ReposX509EcdsaList`: RepositoryX509EcdsaCertificate + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposX509EcdsaList`: %v\n", resp) } ``` @@ -8636,7 +8637,7 @@ Name | Type | Description | Notes ### Other Parameters -Other parameters are passed through a pointer to a apiReposX509ListRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiReposX509EcdsaListRequest struct via the builder pattern Name | Type | Description | Notes @@ -8646,7 +8647,80 @@ Name | Type | Description | Notes ### Return type -[**RepositoryX509Certificate**](RepositoryX509Certificate.md) +[**RepositoryX509EcdsaCertificate**](RepositoryX509EcdsaCertificate.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) + + +## ReposX509RsaList + +> RepositoryX509RsaCertificate ReposX509RsaList(ctx, owner, identifier).Execute() + +Retrieve the active X.509 RSA certificate for the 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 | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.ReposApi.ReposX509RsaList(context.Background(), owner, identifier).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `ReposApi.ReposX509RsaList``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ReposX509RsaList`: RepositoryX509RsaCertificate + fmt.Fprintf(os.Stdout, "Response from `ReposApi.ReposX509RsaList`: %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 apiReposX509RsaListRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + +[**RepositoryX509RsaCertificate**](RepositoryX509RsaCertificate.md) ### Authorization diff --git a/docs/Repository.md b/docs/Repository.md index f438e1ac..9b09ca51 100644 --- a/docs/Repository.md +++ b/docs/Repository.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **Name** | **string** | A descriptive name for the repository. | **Namespace** | Pointer to **string** | Namespace to which this repository belongs. | [optional] [readonly] **NamespaceUrl** | Pointer to **string** | API endpoint where data about this namespace can be retrieved. | [optional] [readonly] +**NugetNativeSigningEnabled** | Pointer to **bool** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional] **NumDownloads** | Pointer to **int64** | The number of downloads for packages in the repository. | [optional] [readonly] **NumPolicyViolatedPackages** | Pointer to **int64** | Number of packages with policy violations in a repository. | [optional] [readonly] **NumQuarantinedPackages** | Pointer to **int64** | Number of quarantined packages in a repository. | [optional] [readonly] @@ -752,6 +753,31 @@ SetNamespaceUrl sets NamespaceUrl field to given value. HasNamespaceUrl returns a boolean if a field has been set. +### GetNugetNativeSigningEnabled + +`func (o *Repository) GetNugetNativeSigningEnabled() bool` + +GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field if non-nil, zero value otherwise. + +### GetNugetNativeSigningEnabledOk + +`func (o *Repository) GetNugetNativeSigningEnabledOk() (*bool, bool)` + +GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNugetNativeSigningEnabled + +`func (o *Repository) SetNugetNativeSigningEnabled(v bool)` + +SetNugetNativeSigningEnabled sets NugetNativeSigningEnabled field to given value. + +### HasNugetNativeSigningEnabled + +`func (o *Repository) HasNugetNativeSigningEnabled() bool` + +HasNugetNativeSigningEnabled returns a boolean if a field has been set. + ### GetNumDownloads `func (o *Repository) GetNumDownloads() int64` diff --git a/docs/RepositoryCreate.md b/docs/RepositoryCreate.md index eb130767..086f4731 100644 --- a/docs/RepositoryCreate.md +++ b/docs/RepositoryCreate.md @@ -30,6 +30,7 @@ Name | Type | Description | Notes **Name** | **string** | A descriptive name for the repository. | **Namespace** | Pointer to **string** | Namespace to which this repository belongs. | [optional] [readonly] **NamespaceUrl** | Pointer to **string** | API endpoint where data about this namespace can be retrieved. | [optional] [readonly] +**NugetNativeSigningEnabled** | Pointer to **bool** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional] **NumDownloads** | Pointer to **int64** | The number of downloads for packages in the repository. | [optional] [readonly] **NumPolicyViolatedPackages** | Pointer to **int64** | Number of packages with policy violations in a repository. | [optional] [readonly] **NumQuarantinedPackages** | Pointer to **int64** | Number of quarantined packages in a repository. | [optional] [readonly] @@ -752,6 +753,31 @@ SetNamespaceUrl sets NamespaceUrl field to given value. HasNamespaceUrl returns a boolean if a field has been set. +### GetNugetNativeSigningEnabled + +`func (o *RepositoryCreate) GetNugetNativeSigningEnabled() bool` + +GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field if non-nil, zero value otherwise. + +### GetNugetNativeSigningEnabledOk + +`func (o *RepositoryCreate) GetNugetNativeSigningEnabledOk() (*bool, bool)` + +GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNugetNativeSigningEnabled + +`func (o *RepositoryCreate) SetNugetNativeSigningEnabled(v bool)` + +SetNugetNativeSigningEnabled sets NugetNativeSigningEnabled field to given value. + +### HasNugetNativeSigningEnabled + +`func (o *RepositoryCreate) HasNugetNativeSigningEnabled() bool` + +HasNugetNativeSigningEnabled returns a boolean if a field has been set. + ### GetNumDownloads `func (o *RepositoryCreate) GetNumDownloads() int64` diff --git a/docs/RepositoryCreateRequest.md b/docs/RepositoryCreateRequest.md index 5169aa2b..94e4685a 100644 --- a/docs/RepositoryCreateRequest.md +++ b/docs/RepositoryCreateRequest.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **MoveOwn** | Pointer to **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] **MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to "Admin"] **Name** | **string** | A descriptive name for the repository. | +**NugetNativeSigningEnabled** | Pointer to **bool** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional] **OpenSourceLicense** | Pointer to **NullableString** | The SPDX identifier of the open source license. | [optional] **OpenSourceProjectUrl** | Pointer to **NullableString** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **ProxyNpmjs** | Pointer to **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] @@ -461,6 +462,31 @@ and a boolean to check if the value has been set. SetName sets Name field to given value. +### GetNugetNativeSigningEnabled + +`func (o *RepositoryCreateRequest) GetNugetNativeSigningEnabled() bool` + +GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field if non-nil, zero value otherwise. + +### GetNugetNativeSigningEnabledOk + +`func (o *RepositoryCreateRequest) GetNugetNativeSigningEnabledOk() (*bool, bool)` + +GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNugetNativeSigningEnabled + +`func (o *RepositoryCreateRequest) SetNugetNativeSigningEnabled(v bool)` + +SetNugetNativeSigningEnabled sets NugetNativeSigningEnabled field to given value. + +### HasNugetNativeSigningEnabled + +`func (o *RepositoryCreateRequest) HasNugetNativeSigningEnabled() bool` + +HasNugetNativeSigningEnabled returns a boolean if a field has been set. + ### GetOpenSourceLicense `func (o *RepositoryCreateRequest) GetOpenSourceLicense() string` diff --git a/docs/RepositoryRequestPatch.md b/docs/RepositoryRequestPatch.md index 25e380b8..8cc24e32 100644 --- a/docs/RepositoryRequestPatch.md +++ b/docs/RepositoryRequestPatch.md @@ -20,6 +20,7 @@ Name | Type | Description | Notes **MoveOwn** | Pointer to **bool** | If checked, users can move any of their own packages that they have uploaded, assuming that they still have write privilege for the repository. This takes precedence over privileges configured in the 'Access Controls' section of the repository, and any inherited from the org. | [optional] **MovePackages** | Pointer to **string** | This defines the minimum level of privilege required for a user to move packages. Unless the package was uploaded by that user, in which the permission may be overridden by the user-specific move setting. | [optional] [default to "Admin"] **Name** | Pointer to **string** | A descriptive name for the repository. | [optional] +**NugetNativeSigningEnabled** | Pointer to **bool** | When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. | [optional] **OpenSourceLicense** | Pointer to **NullableString** | The SPDX identifier of the open source license. | [optional] **OpenSourceProjectUrl** | Pointer to **NullableString** | The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. | [optional] **ProxyNpmjs** | Pointer to **bool** | If checked, Npm packages that are not in the repository when requested by clients will automatically be proxied from the public npmjs.org registry. If there is at least one version for a package, others will not be proxied. | [optional] @@ -465,6 +466,31 @@ SetName sets Name field to given value. HasName returns a boolean if a field has been set. +### GetNugetNativeSigningEnabled + +`func (o *RepositoryRequestPatch) GetNugetNativeSigningEnabled() bool` + +GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field if non-nil, zero value otherwise. + +### GetNugetNativeSigningEnabledOk + +`func (o *RepositoryRequestPatch) GetNugetNativeSigningEnabledOk() (*bool, bool)` + +GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNugetNativeSigningEnabled + +`func (o *RepositoryRequestPatch) SetNugetNativeSigningEnabled(v bool)` + +SetNugetNativeSigningEnabled sets NugetNativeSigningEnabled field to given value. + +### HasNugetNativeSigningEnabled + +`func (o *RepositoryRequestPatch) HasNugetNativeSigningEnabled() bool` + +HasNugetNativeSigningEnabled returns a boolean if a field has been set. + ### GetOpenSourceLicense `func (o *RepositoryRequestPatch) GetOpenSourceLicense() string` diff --git a/docs/RepositoryX509Certificate.md b/docs/RepositoryX509Certificate.md deleted file mode 100644 index 7a0df84f..00000000 --- a/docs/RepositoryX509Certificate.md +++ /dev/null @@ -1,232 +0,0 @@ -# RepositoryX509Certificate - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] [readonly] -**Certificate** | Pointer to **NullableString** | The issued certificate. | [optional] [readonly] -**CertificateFingerprint** | Pointer to **NullableString** | The SHA-256 long identifier used | [optional] [readonly] -**CertificateFingerprintShort** | Pointer to **string** | | [optional] [readonly] -**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] -**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] [readonly] -**IssuingStatus** | Pointer to **string** | | [optional] [default to "Certificate is pending to be issued"] - -## Methods - -### NewRepositoryX509Certificate - -`func NewRepositoryX509Certificate() *RepositoryX509Certificate` - -NewRepositoryX509Certificate instantiates a new RepositoryX509Certificate 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 - -### NewRepositoryX509CertificateWithDefaults - -`func NewRepositoryX509CertificateWithDefaults() *RepositoryX509Certificate` - -NewRepositoryX509CertificateWithDefaults instantiates a new RepositoryX509Certificate 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 - -### GetActive - -`func (o *RepositoryX509Certificate) GetActive() bool` - -GetActive returns the Active field if non-nil, zero value otherwise. - -### GetActiveOk - -`func (o *RepositoryX509Certificate) GetActiveOk() (*bool, bool)` - -GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetActive - -`func (o *RepositoryX509Certificate) SetActive(v bool)` - -SetActive sets Active field to given value. - -### HasActive - -`func (o *RepositoryX509Certificate) HasActive() bool` - -HasActive returns a boolean if a field has been set. - -### GetCertificate - -`func (o *RepositoryX509Certificate) GetCertificate() string` - -GetCertificate returns the Certificate field if non-nil, zero value otherwise. - -### GetCertificateOk - -`func (o *RepositoryX509Certificate) GetCertificateOk() (*string, bool)` - -GetCertificateOk returns a tuple with the Certificate field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCertificate - -`func (o *RepositoryX509Certificate) SetCertificate(v string)` - -SetCertificate sets Certificate field to given value. - -### HasCertificate - -`func (o *RepositoryX509Certificate) HasCertificate() bool` - -HasCertificate returns a boolean if a field has been set. - -### SetCertificateNil - -`func (o *RepositoryX509Certificate) SetCertificateNil(b bool)` - - SetCertificateNil sets the value for Certificate to be an explicit nil - -### UnsetCertificate -`func (o *RepositoryX509Certificate) UnsetCertificate()` - -UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil -### GetCertificateFingerprint - -`func (o *RepositoryX509Certificate) GetCertificateFingerprint() string` - -GetCertificateFingerprint returns the CertificateFingerprint field if non-nil, zero value otherwise. - -### GetCertificateFingerprintOk - -`func (o *RepositoryX509Certificate) GetCertificateFingerprintOk() (*string, bool)` - -GetCertificateFingerprintOk returns a tuple with the CertificateFingerprint field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCertificateFingerprint - -`func (o *RepositoryX509Certificate) SetCertificateFingerprint(v string)` - -SetCertificateFingerprint sets CertificateFingerprint field to given value. - -### HasCertificateFingerprint - -`func (o *RepositoryX509Certificate) HasCertificateFingerprint() bool` - -HasCertificateFingerprint returns a boolean if a field has been set. - -### SetCertificateFingerprintNil - -`func (o *RepositoryX509Certificate) SetCertificateFingerprintNil(b bool)` - - SetCertificateFingerprintNil sets the value for CertificateFingerprint to be an explicit nil - -### UnsetCertificateFingerprint -`func (o *RepositoryX509Certificate) UnsetCertificateFingerprint()` - -UnsetCertificateFingerprint ensures that no value is present for CertificateFingerprint, not even an explicit nil -### GetCertificateFingerprintShort - -`func (o *RepositoryX509Certificate) GetCertificateFingerprintShort() string` - -GetCertificateFingerprintShort returns the CertificateFingerprintShort field if non-nil, zero value otherwise. - -### GetCertificateFingerprintShortOk - -`func (o *RepositoryX509Certificate) GetCertificateFingerprintShortOk() (*string, bool)` - -GetCertificateFingerprintShortOk returns a tuple with the CertificateFingerprintShort field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetCertificateFingerprintShort - -`func (o *RepositoryX509Certificate) SetCertificateFingerprintShort(v string)` - -SetCertificateFingerprintShort sets CertificateFingerprintShort field to given value. - -### HasCertificateFingerprintShort - -`func (o *RepositoryX509Certificate) HasCertificateFingerprintShort() bool` - -HasCertificateFingerprintShort returns a boolean if a field has been set. - -### GetCreatedAt - -`func (o *RepositoryX509Certificate) GetCreatedAt() time.Time` - -GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. - -### GetCreatedAtOk - -`func (o *RepositoryX509Certificate) 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 *RepositoryX509Certificate) SetCreatedAt(v time.Time)` - -SetCreatedAt sets CreatedAt field to given value. - -### HasCreatedAt - -`func (o *RepositoryX509Certificate) HasCreatedAt() bool` - -HasCreatedAt returns a boolean if a field has been set. - -### GetDefault - -`func (o *RepositoryX509Certificate) GetDefault() bool` - -GetDefault returns the Default field if non-nil, zero value otherwise. - -### GetDefaultOk - -`func (o *RepositoryX509Certificate) GetDefaultOk() (*bool, bool)` - -GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDefault - -`func (o *RepositoryX509Certificate) SetDefault(v bool)` - -SetDefault sets Default field to given value. - -### HasDefault - -`func (o *RepositoryX509Certificate) HasDefault() bool` - -HasDefault returns a boolean if a field has been set. - -### GetIssuingStatus - -`func (o *RepositoryX509Certificate) GetIssuingStatus() string` - -GetIssuingStatus returns the IssuingStatus field if non-nil, zero value otherwise. - -### GetIssuingStatusOk - -`func (o *RepositoryX509Certificate) GetIssuingStatusOk() (*string, bool)` - -GetIssuingStatusOk returns a tuple with the IssuingStatus field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetIssuingStatus - -`func (o *RepositoryX509Certificate) SetIssuingStatus(v string)` - -SetIssuingStatus sets IssuingStatus field to given value. - -### HasIssuingStatus - -`func (o *RepositoryX509Certificate) HasIssuingStatus() bool` - -HasIssuingStatus 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/RepositoryX509EcdsaCertificate.md b/docs/RepositoryX509EcdsaCertificate.md new file mode 100644 index 00000000..d9e2dace --- /dev/null +++ b/docs/RepositoryX509EcdsaCertificate.md @@ -0,0 +1,320 @@ +# RepositoryX509EcdsaCertificate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] [readonly] +**Certificate** | Pointer to **NullableString** | The issued certificate. | [optional] [readonly] +**CertificateChain** | Pointer to **NullableString** | Base64 encoded CA certificate chain. | [optional] [readonly] +**CertificateChainFingerprint** | Pointer to **string** | | [optional] [readonly] +**CertificateChainFingerprintShort** | Pointer to **string** | | [optional] [readonly] +**CertificateFingerprint** | Pointer to **NullableString** | The SHA-256 long identifier used | [optional] [readonly] +**CertificateFingerprintShort** | Pointer to **string** | | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] [readonly] +**IssuingStatus** | Pointer to **string** | | [optional] [default to "Certificate is pending to be issued"] + +## Methods + +### NewRepositoryX509EcdsaCertificate + +`func NewRepositoryX509EcdsaCertificate() *RepositoryX509EcdsaCertificate` + +NewRepositoryX509EcdsaCertificate instantiates a new RepositoryX509EcdsaCertificate 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 + +### NewRepositoryX509EcdsaCertificateWithDefaults + +`func NewRepositoryX509EcdsaCertificateWithDefaults() *RepositoryX509EcdsaCertificate` + +NewRepositoryX509EcdsaCertificateWithDefaults instantiates a new RepositoryX509EcdsaCertificate 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 + +### GetActive + +`func (o *RepositoryX509EcdsaCertificate) GetActive() bool` + +GetActive returns the Active field if non-nil, zero value otherwise. + +### GetActiveOk + +`func (o *RepositoryX509EcdsaCertificate) GetActiveOk() (*bool, bool)` + +GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetActive + +`func (o *RepositoryX509EcdsaCertificate) SetActive(v bool)` + +SetActive sets Active field to given value. + +### HasActive + +`func (o *RepositoryX509EcdsaCertificate) HasActive() bool` + +HasActive returns a boolean if a field has been set. + +### GetCertificate + +`func (o *RepositoryX509EcdsaCertificate) GetCertificate() string` + +GetCertificate returns the Certificate field if non-nil, zero value otherwise. + +### GetCertificateOk + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateOk() (*string, bool)` + +GetCertificateOk returns a tuple with the Certificate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificate + +`func (o *RepositoryX509EcdsaCertificate) SetCertificate(v string)` + +SetCertificate sets Certificate field to given value. + +### HasCertificate + +`func (o *RepositoryX509EcdsaCertificate) HasCertificate() bool` + +HasCertificate returns a boolean if a field has been set. + +### SetCertificateNil + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateNil(b bool)` + + SetCertificateNil sets the value for Certificate to be an explicit nil + +### UnsetCertificate +`func (o *RepositoryX509EcdsaCertificate) UnsetCertificate()` + +UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil +### GetCertificateChain + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateChain() string` + +GetCertificateChain returns the CertificateChain field if non-nil, zero value otherwise. + +### GetCertificateChainOk + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateChainOk() (*string, bool)` + +GetCertificateChainOk returns a tuple with the CertificateChain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateChain + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateChain(v string)` + +SetCertificateChain sets CertificateChain field to given value. + +### HasCertificateChain + +`func (o *RepositoryX509EcdsaCertificate) HasCertificateChain() bool` + +HasCertificateChain returns a boolean if a field has been set. + +### SetCertificateChainNil + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateChainNil(b bool)` + + SetCertificateChainNil sets the value for CertificateChain to be an explicit nil + +### UnsetCertificateChain +`func (o *RepositoryX509EcdsaCertificate) UnsetCertificateChain()` + +UnsetCertificateChain ensures that no value is present for CertificateChain, not even an explicit nil +### GetCertificateChainFingerprint + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprint() string` + +GetCertificateChainFingerprint returns the CertificateChainFingerprint field if non-nil, zero value otherwise. + +### GetCertificateChainFingerprintOk + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprintOk() (*string, bool)` + +GetCertificateChainFingerprintOk returns a tuple with the CertificateChainFingerprint field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateChainFingerprint + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateChainFingerprint(v string)` + +SetCertificateChainFingerprint sets CertificateChainFingerprint field to given value. + +### HasCertificateChainFingerprint + +`func (o *RepositoryX509EcdsaCertificate) HasCertificateChainFingerprint() bool` + +HasCertificateChainFingerprint returns a boolean if a field has been set. + +### GetCertificateChainFingerprintShort + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprintShort() string` + +GetCertificateChainFingerprintShort returns the CertificateChainFingerprintShort field if non-nil, zero value otherwise. + +### GetCertificateChainFingerprintShortOk + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprintShortOk() (*string, bool)` + +GetCertificateChainFingerprintShortOk returns a tuple with the CertificateChainFingerprintShort field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateChainFingerprintShort + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateChainFingerprintShort(v string)` + +SetCertificateChainFingerprintShort sets CertificateChainFingerprintShort field to given value. + +### HasCertificateChainFingerprintShort + +`func (o *RepositoryX509EcdsaCertificate) HasCertificateChainFingerprintShort() bool` + +HasCertificateChainFingerprintShort returns a boolean if a field has been set. + +### GetCertificateFingerprint + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprint() string` + +GetCertificateFingerprint returns the CertificateFingerprint field if non-nil, zero value otherwise. + +### GetCertificateFingerprintOk + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprintOk() (*string, bool)` + +GetCertificateFingerprintOk returns a tuple with the CertificateFingerprint field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateFingerprint + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateFingerprint(v string)` + +SetCertificateFingerprint sets CertificateFingerprint field to given value. + +### HasCertificateFingerprint + +`func (o *RepositoryX509EcdsaCertificate) HasCertificateFingerprint() bool` + +HasCertificateFingerprint returns a boolean if a field has been set. + +### SetCertificateFingerprintNil + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateFingerprintNil(b bool)` + + SetCertificateFingerprintNil sets the value for CertificateFingerprint to be an explicit nil + +### UnsetCertificateFingerprint +`func (o *RepositoryX509EcdsaCertificate) UnsetCertificateFingerprint()` + +UnsetCertificateFingerprint ensures that no value is present for CertificateFingerprint, not even an explicit nil +### GetCertificateFingerprintShort + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprintShort() string` + +GetCertificateFingerprintShort returns the CertificateFingerprintShort field if non-nil, zero value otherwise. + +### GetCertificateFingerprintShortOk + +`func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprintShortOk() (*string, bool)` + +GetCertificateFingerprintShortOk returns a tuple with the CertificateFingerprintShort field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateFingerprintShort + +`func (o *RepositoryX509EcdsaCertificate) SetCertificateFingerprintShort(v string)` + +SetCertificateFingerprintShort sets CertificateFingerprintShort field to given value. + +### HasCertificateFingerprintShort + +`func (o *RepositoryX509EcdsaCertificate) HasCertificateFingerprintShort() bool` + +HasCertificateFingerprintShort returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *RepositoryX509EcdsaCertificate) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *RepositoryX509EcdsaCertificate) 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 *RepositoryX509EcdsaCertificate) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *RepositoryX509EcdsaCertificate) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetDefault + +`func (o *RepositoryX509EcdsaCertificate) GetDefault() bool` + +GetDefault returns the Default field if non-nil, zero value otherwise. + +### GetDefaultOk + +`func (o *RepositoryX509EcdsaCertificate) GetDefaultOk() (*bool, bool)` + +GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefault + +`func (o *RepositoryX509EcdsaCertificate) SetDefault(v bool)` + +SetDefault sets Default field to given value. + +### HasDefault + +`func (o *RepositoryX509EcdsaCertificate) HasDefault() bool` + +HasDefault returns a boolean if a field has been set. + +### GetIssuingStatus + +`func (o *RepositoryX509EcdsaCertificate) GetIssuingStatus() string` + +GetIssuingStatus returns the IssuingStatus field if non-nil, zero value otherwise. + +### GetIssuingStatusOk + +`func (o *RepositoryX509EcdsaCertificate) GetIssuingStatusOk() (*string, bool)` + +GetIssuingStatusOk returns a tuple with the IssuingStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIssuingStatus + +`func (o *RepositoryX509EcdsaCertificate) SetIssuingStatus(v string)` + +SetIssuingStatus sets IssuingStatus field to given value. + +### HasIssuingStatus + +`func (o *RepositoryX509EcdsaCertificate) HasIssuingStatus() bool` + +HasIssuingStatus 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/RepositoryX509RsaCertificate.md b/docs/RepositoryX509RsaCertificate.md new file mode 100644 index 00000000..5c16184d --- /dev/null +++ b/docs/RepositoryX509RsaCertificate.md @@ -0,0 +1,320 @@ +# RepositoryX509RsaCertificate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Active** | Pointer to **bool** | If selected this is the active key for this repository. | [optional] [readonly] +**Certificate** | Pointer to **NullableString** | The issued certificate. | [optional] [readonly] +**CertificateChain** | Pointer to **NullableString** | Base64 encoded CA certificate chain. | [optional] [readonly] +**CertificateChainFingerprint** | Pointer to **string** | | [optional] [readonly] +**CertificateChainFingerprintShort** | Pointer to **string** | | [optional] [readonly] +**CertificateFingerprint** | Pointer to **NullableString** | The SHA-256 long identifier used | [optional] [readonly] +**CertificateFingerprintShort** | Pointer to **string** | | [optional] [readonly] +**CreatedAt** | Pointer to **time.Time** | | [optional] [readonly] +**Default** | Pointer to **bool** | If selected this is the default key for this repository. | [optional] [readonly] +**IssuingStatus** | Pointer to **string** | | [optional] [default to "Certificate is pending to be issued"] + +## Methods + +### NewRepositoryX509RsaCertificate + +`func NewRepositoryX509RsaCertificate() *RepositoryX509RsaCertificate` + +NewRepositoryX509RsaCertificate instantiates a new RepositoryX509RsaCertificate 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 + +### NewRepositoryX509RsaCertificateWithDefaults + +`func NewRepositoryX509RsaCertificateWithDefaults() *RepositoryX509RsaCertificate` + +NewRepositoryX509RsaCertificateWithDefaults instantiates a new RepositoryX509RsaCertificate 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 + +### GetActive + +`func (o *RepositoryX509RsaCertificate) GetActive() bool` + +GetActive returns the Active field if non-nil, zero value otherwise. + +### GetActiveOk + +`func (o *RepositoryX509RsaCertificate) GetActiveOk() (*bool, bool)` + +GetActiveOk returns a tuple with the Active field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetActive + +`func (o *RepositoryX509RsaCertificate) SetActive(v bool)` + +SetActive sets Active field to given value. + +### HasActive + +`func (o *RepositoryX509RsaCertificate) HasActive() bool` + +HasActive returns a boolean if a field has been set. + +### GetCertificate + +`func (o *RepositoryX509RsaCertificate) GetCertificate() string` + +GetCertificate returns the Certificate field if non-nil, zero value otherwise. + +### GetCertificateOk + +`func (o *RepositoryX509RsaCertificate) GetCertificateOk() (*string, bool)` + +GetCertificateOk returns a tuple with the Certificate field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificate + +`func (o *RepositoryX509RsaCertificate) SetCertificate(v string)` + +SetCertificate sets Certificate field to given value. + +### HasCertificate + +`func (o *RepositoryX509RsaCertificate) HasCertificate() bool` + +HasCertificate returns a boolean if a field has been set. + +### SetCertificateNil + +`func (o *RepositoryX509RsaCertificate) SetCertificateNil(b bool)` + + SetCertificateNil sets the value for Certificate to be an explicit nil + +### UnsetCertificate +`func (o *RepositoryX509RsaCertificate) UnsetCertificate()` + +UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil +### GetCertificateChain + +`func (o *RepositoryX509RsaCertificate) GetCertificateChain() string` + +GetCertificateChain returns the CertificateChain field if non-nil, zero value otherwise. + +### GetCertificateChainOk + +`func (o *RepositoryX509RsaCertificate) GetCertificateChainOk() (*string, bool)` + +GetCertificateChainOk returns a tuple with the CertificateChain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateChain + +`func (o *RepositoryX509RsaCertificate) SetCertificateChain(v string)` + +SetCertificateChain sets CertificateChain field to given value. + +### HasCertificateChain + +`func (o *RepositoryX509RsaCertificate) HasCertificateChain() bool` + +HasCertificateChain returns a boolean if a field has been set. + +### SetCertificateChainNil + +`func (o *RepositoryX509RsaCertificate) SetCertificateChainNil(b bool)` + + SetCertificateChainNil sets the value for CertificateChain to be an explicit nil + +### UnsetCertificateChain +`func (o *RepositoryX509RsaCertificate) UnsetCertificateChain()` + +UnsetCertificateChain ensures that no value is present for CertificateChain, not even an explicit nil +### GetCertificateChainFingerprint + +`func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprint() string` + +GetCertificateChainFingerprint returns the CertificateChainFingerprint field if non-nil, zero value otherwise. + +### GetCertificateChainFingerprintOk + +`func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprintOk() (*string, bool)` + +GetCertificateChainFingerprintOk returns a tuple with the CertificateChainFingerprint field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateChainFingerprint + +`func (o *RepositoryX509RsaCertificate) SetCertificateChainFingerprint(v string)` + +SetCertificateChainFingerprint sets CertificateChainFingerprint field to given value. + +### HasCertificateChainFingerprint + +`func (o *RepositoryX509RsaCertificate) HasCertificateChainFingerprint() bool` + +HasCertificateChainFingerprint returns a boolean if a field has been set. + +### GetCertificateChainFingerprintShort + +`func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprintShort() string` + +GetCertificateChainFingerprintShort returns the CertificateChainFingerprintShort field if non-nil, zero value otherwise. + +### GetCertificateChainFingerprintShortOk + +`func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprintShortOk() (*string, bool)` + +GetCertificateChainFingerprintShortOk returns a tuple with the CertificateChainFingerprintShort field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateChainFingerprintShort + +`func (o *RepositoryX509RsaCertificate) SetCertificateChainFingerprintShort(v string)` + +SetCertificateChainFingerprintShort sets CertificateChainFingerprintShort field to given value. + +### HasCertificateChainFingerprintShort + +`func (o *RepositoryX509RsaCertificate) HasCertificateChainFingerprintShort() bool` + +HasCertificateChainFingerprintShort returns a boolean if a field has been set. + +### GetCertificateFingerprint + +`func (o *RepositoryX509RsaCertificate) GetCertificateFingerprint() string` + +GetCertificateFingerprint returns the CertificateFingerprint field if non-nil, zero value otherwise. + +### GetCertificateFingerprintOk + +`func (o *RepositoryX509RsaCertificate) GetCertificateFingerprintOk() (*string, bool)` + +GetCertificateFingerprintOk returns a tuple with the CertificateFingerprint field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateFingerprint + +`func (o *RepositoryX509RsaCertificate) SetCertificateFingerprint(v string)` + +SetCertificateFingerprint sets CertificateFingerprint field to given value. + +### HasCertificateFingerprint + +`func (o *RepositoryX509RsaCertificate) HasCertificateFingerprint() bool` + +HasCertificateFingerprint returns a boolean if a field has been set. + +### SetCertificateFingerprintNil + +`func (o *RepositoryX509RsaCertificate) SetCertificateFingerprintNil(b bool)` + + SetCertificateFingerprintNil sets the value for CertificateFingerprint to be an explicit nil + +### UnsetCertificateFingerprint +`func (o *RepositoryX509RsaCertificate) UnsetCertificateFingerprint()` + +UnsetCertificateFingerprint ensures that no value is present for CertificateFingerprint, not even an explicit nil +### GetCertificateFingerprintShort + +`func (o *RepositoryX509RsaCertificate) GetCertificateFingerprintShort() string` + +GetCertificateFingerprintShort returns the CertificateFingerprintShort field if non-nil, zero value otherwise. + +### GetCertificateFingerprintShortOk + +`func (o *RepositoryX509RsaCertificate) GetCertificateFingerprintShortOk() (*string, bool)` + +GetCertificateFingerprintShortOk returns a tuple with the CertificateFingerprintShort field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificateFingerprintShort + +`func (o *RepositoryX509RsaCertificate) SetCertificateFingerprintShort(v string)` + +SetCertificateFingerprintShort sets CertificateFingerprintShort field to given value. + +### HasCertificateFingerprintShort + +`func (o *RepositoryX509RsaCertificate) HasCertificateFingerprintShort() bool` + +HasCertificateFingerprintShort returns a boolean if a field has been set. + +### GetCreatedAt + +`func (o *RepositoryX509RsaCertificate) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *RepositoryX509RsaCertificate) 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 *RepositoryX509RsaCertificate) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + +### HasCreatedAt + +`func (o *RepositoryX509RsaCertificate) HasCreatedAt() bool` + +HasCreatedAt returns a boolean if a field has been set. + +### GetDefault + +`func (o *RepositoryX509RsaCertificate) GetDefault() bool` + +GetDefault returns the Default field if non-nil, zero value otherwise. + +### GetDefaultOk + +`func (o *RepositoryX509RsaCertificate) GetDefaultOk() (*bool, bool)` + +GetDefaultOk returns a tuple with the Default field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDefault + +`func (o *RepositoryX509RsaCertificate) SetDefault(v bool)` + +SetDefault sets Default field to given value. + +### HasDefault + +`func (o *RepositoryX509RsaCertificate) HasDefault() bool` + +HasDefault returns a boolean if a field has been set. + +### GetIssuingStatus + +`func (o *RepositoryX509RsaCertificate) GetIssuingStatus() string` + +GetIssuingStatus returns the IssuingStatus field if non-nil, zero value otherwise. + +### GetIssuingStatusOk + +`func (o *RepositoryX509RsaCertificate) GetIssuingStatusOk() (*string, bool)` + +GetIssuingStatusOk returns a tuple with the IssuingStatus field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIssuingStatus + +`func (o *RepositoryX509RsaCertificate) SetIssuingStatus(v string)` + +SetIssuingStatus sets IssuingStatus field to given value. + +### HasIssuingStatus + +`func (o *RepositoryX509RsaCertificate) HasIssuingStatus() bool` + +HasIssuingStatus 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/StatusBasic.md b/docs/StatusBasic.md index 48cacd5e..18a54f09 100644 --- a/docs/StatusBasic.md +++ b/docs/StatusBasic.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Detail** | Pointer to **string** | The message describing the state of the API. | [optional] [readonly] [default to "Cloudsmith API is operational."] -**Version** | Pointer to **string** | The current version for the Cloudsmith service. | [optional] [readonly] [default to "1.617.2"] +**Version** | Pointer to **string** | The current version for the Cloudsmith service. | [optional] [readonly] [default to "1.654.0"] ## Methods diff --git a/model_allocated_limit.go b/model_allocated_limit.go index a3ec616e..b17214db 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_allocated_limit_raw.go b/model_allocated_limit_raw.go index 0f0a2058..b5dd0f1c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload.go b/model_alpine_package_upload.go index 78c2d971..b90370d2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_alpine_package_upload_request.go b/model_alpine_package_upload_request.go index e242b84c..3e32c9bd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_architecture.go b/model_architecture.go index 8681aa2c..332afa2a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload.go b/model_cargo_package_upload.go index 966e25c9..b37f9a46 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cargo_package_upload_request.go b/model_cargo_package_upload_request.go index aa286824..089fa3eb 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload.go b/model_cocoapods_package_upload.go index 9880728e..6849963f 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cocoapods_package_upload_request.go b/model_cocoapods_package_upload_request.go index d4c33384..a9f6e6e1 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics.go b/model_common_bandwidth_metrics.go index a3b2910b..33305f6e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_common_bandwidth_metrics_value.go b/model_common_bandwidth_metrics_value.go index 9385898f..b35305a3 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics.go b/model_common_downloads_metrics.go index 63bad9a9..b33b872c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_common_downloads_metrics_value.go b/model_common_downloads_metrics_value.go index 67a5bcb8..431a0c42 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_common_metrics.go b/model_common_metrics.go index 8fbb2def..fd2d2a11 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload.go b/model_composer_package_upload.go index 69177c31..a30800c0 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_package_upload_request.go b/model_composer_package_upload_request.go index e2a7ae60..f5e570fb 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream.go b/model_composer_upstream.go index b1311375..b02b7a7c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request.go b/model_composer_upstream_request.go index 86a581e9..9ec447df 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_composer_upstream_request_patch.go b/model_composer_upstream_request_patch.go index a87c7be4..6d3a3731 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload.go b/model_conan_package_upload.go index 84229816..231dd4e8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_conan_package_upload_request.go b/model_conan_package_upload_request.go index ac359937..1c5c3837 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload.go b/model_conda_package_upload.go index 4a78c3a9..952e7218 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_conda_package_upload_request.go b/model_conda_package_upload_request.go index 6f7c6a71..aa98b1f7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload.go b/model_cran_package_upload.go index f08a757d..e8ecfefd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_package_upload_request.go b/model_cran_package_upload_request.go index 047eeaf8..988a4c40 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream.go b/model_cran_upstream.go index 33dbda5e..dc7ff1d0 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request.go b/model_cran_upstream_request.go index 4f701324..39273b70 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_cran_upstream_request_patch.go b/model_cran_upstream_request_patch.go index c6f03015..2fbc7f6d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload.go b/model_dart_package_upload.go index 17f2fd7d..aff54118 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_package_upload_request.go b/model_dart_package_upload_request.go index f6f4540b..4d8f219d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream.go b/model_dart_upstream.go index 8ac45e74..7d8ad612 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request.go b/model_dart_upstream_request.go index dfd056ff..ef7b0737 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_dart_upstream_request_patch.go b/model_dart_upstream_request_patch.go index d60d51a8..0e0e575c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload.go b/model_deb_package_upload.go index 51ebed96..b30b643e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_package_upload_request.go b/model_deb_package_upload_request.go index 22c5307a..f2f59b83 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream.go b/model_deb_upstream.go index 3710821c..363b795c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request.go b/model_deb_upstream_request.go index 19832185..fbab4538 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_deb_upstream_request_patch.go b/model_deb_upstream_request_patch.go index 5137de3f..d6e18011 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution.go b/model_distribution.go index f45eda17..86c42a5e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution_full.go b/model_distribution_full.go index 29a304e6..85cf3507 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_distribution_version.go b/model_distribution_version.go index 2939014c..fdde3997 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload.go b/model_docker_package_upload.go index 7c194aff..8c6b16aa 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_package_upload_request.go b/model_docker_package_upload_request.go index c3b1026d..7ce8ad2f 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream.go b/model_docker_upstream.go index 565b239e..6c7dae7b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request.go b/model_docker_upstream_request.go index 37b306c1..bbb76ea6 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_docker_upstream_request_patch.go b/model_docker_upstream_request_patch.go index ddd84985..d71ccd34 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_entitlement_usage_metrics.go b/model_entitlement_usage_metrics.go index 997100f2..e81abc7c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_error_detail.go b/model_error_detail.go index e3ac5595..e6db916b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_eula.go b/model_eula.go index 9696086c..9b0542d0 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_format.go b/model_format.go index 57d52b1c..4edfbfc1 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_format_support.go b/model_format_support.go index 80bb741a..5e42f82a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_format_support_upstream.go b/model_format_support_upstream.go index 2811dc0d..91d899b3 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_geo_ip_location.go b/model_geo_ip_location.go index b0d4d5ba..761a1562 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload.go b/model_go_package_upload.go index 54f8c3b0..f7a76998 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_go_package_upload_request.go b/model_go_package_upload_request.go index e97830f3..86313668 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload.go b/model_helm_package_upload.go index 041d73b3..9a36aaa4 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_package_upload_request.go b/model_helm_package_upload_request.go index b934dcc0..d118a3bc 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream.go b/model_helm_upstream.go index 8210bb74..5bef5f7f 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request.go b/model_helm_upstream_request.go index e09063f9..e2979b87 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_helm_upstream_request_patch.go b/model_helm_upstream_request_patch.go index 95daf830..dfbc7cec 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload.go b/model_hex_package_upload.go index f1430849..0247379d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_package_upload_request.go b/model_hex_package_upload_request.go index c6dff48a..0735dce4 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream.go b/model_hex_upstream.go index c799ec28..5615bbaa 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request.go b/model_hex_upstream_request.go index 29134e0b..072428dc 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_hex_upstream_request_patch.go b/model_hex_upstream_request_patch.go index e1c927e4..c046888b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_history.go b/model_history.go index e83bd89b..4be5e186 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset.go b/model_history_fieldset.go index 075db9cb..c5d2f546 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_history_fieldset_raw.go b/model_history_fieldset_raw.go index f9319e8d..bdfbd60e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload.go b/model_luarocks_package_upload.go index f53f5939..ef9121eb 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_luarocks_package_upload_request.go b/model_luarocks_package_upload_request.go index fe67bc66..84d456ef 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload.go b/model_maven_package_upload.go index cafbbb54..02972946 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_package_upload_request.go b/model_maven_package_upload_request.go index bb12d108..fc4bd494 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -23,6 +23,8 @@ var _ MappedNullable = &MavenPackageUploadRequest{} type MavenPackageUploadRequest struct { // The ID of the artifact. ArtifactId NullableString `json:"artifact_id,omitempty"` + // Extra files to include in the package. This can be a single file or multiple files. + ExtraFiles []string `json:"extra_files,omitempty"` // Artifact's group ID. GroupId NullableString `json:"group_id,omitempty"` // The ivy file is an XML file describing the dependencies of the project. @@ -113,6 +115,39 @@ func (o *MavenPackageUploadRequest) UnsetArtifactId() { o.ArtifactId.Unset() } +// GetExtraFiles returns the ExtraFiles field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *MavenPackageUploadRequest) GetExtraFiles() []string { + if o == nil { + var ret []string + return ret + } + return o.ExtraFiles +} + +// GetExtraFilesOk returns a tuple with the ExtraFiles field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *MavenPackageUploadRequest) GetExtraFilesOk() ([]string, bool) { + if o == nil || IsNil(o.ExtraFiles) { + return nil, false + } + return o.ExtraFiles, true +} + +// HasExtraFiles returns a boolean if a field has been set. +func (o *MavenPackageUploadRequest) HasExtraFiles() bool { + if o != nil && !IsNil(o.ExtraFiles) { + return true + } + + return false +} + +// SetExtraFiles gets a reference to the given []string and assigns it to the ExtraFiles field. +func (o *MavenPackageUploadRequest) SetExtraFiles(v []string) { + o.ExtraFiles = v +} + // GetGroupId returns the GroupId field value if set, zero value otherwise (both if not set or set to explicit null). func (o *MavenPackageUploadRequest) GetGroupId() string { if o == nil || IsNil(o.GroupId.Get()) { @@ -655,6 +690,9 @@ func (o MavenPackageUploadRequest) ToMap() (map[string]interface{}, error) { if o.ArtifactId.IsSet() { toSerialize["artifact_id"] = o.ArtifactId.Get() } + if o.ExtraFiles != nil { + toSerialize["extra_files"] = o.ExtraFiles + } if o.GroupId.IsSet() { toSerialize["group_id"] = o.GroupId.Get() } @@ -736,6 +774,7 @@ func (o *MavenPackageUploadRequest) UnmarshalJSON(data []byte) (err error) { if err = json.Unmarshal(data, &additionalProperties); err == nil { delete(additionalProperties, "artifact_id") + delete(additionalProperties, "extra_files") delete(additionalProperties, "group_id") delete(additionalProperties, "ivy_file") delete(additionalProperties, "javadoc_file") diff --git a/model_maven_upstream.go b/model_maven_upstream.go index 102e2b8c..fe752d31 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request.go b/model_maven_upstream_request.go index 1f0ae5fd..babd3688 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_maven_upstream_request_patch.go b/model_maven_upstream_request_patch.go index cb5fda9c..6ff13cab 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_namespace.go b/model_namespace.go index cb660c0b..9e24a38e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_namespace_audit_log.go b/model_namespace_audit_log.go index 9339e677..8b08c79b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_license_policy.go b/model_nested_license_policy.go index 459cdd67..fd43986c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_policy.go b/model_nested_vulnerability_policy.go index 5e633b72..38cb4bb4 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nested_vulnerability_scan_results.go b/model_nested_vulnerability_scan_results.go index 33bacb4b..48bfc887 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload.go b/model_npm_package_upload.go index 8259f991..15e38288 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_package_upload_request.go b/model_npm_package_upload_request.go index d3519ea9..47cca8b1 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream.go b/model_npm_upstream.go index 93f468d5..7d6ef01e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request.go b/model_npm_upstream_request.go index 88b5c35d..b1b803fc 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_npm_upstream_request_patch.go b/model_npm_upstream_request_patch.go index 80d73a6f..53dc97c0 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload.go b/model_nuget_package_upload.go index b253307c..85c05c87 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_package_upload_request.go b/model_nuget_package_upload_request.go index 58c26e98..2a86155a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream.go b/model_nuget_upstream.go index 69871544..2e4d4a6b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request.go b/model_nuget_upstream_request.go index c679b9a7..e1bdbb91 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_nuget_upstream_request_patch.go b/model_nuget_upstream_request_patch.go index c2c57931..0a3000c8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization.go b/model_organization.go index 5cfe038a..80c4fefa 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync.go b/model_organization_group_sync.go index 25df439f..d7b11e1c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_request.go b/model_organization_group_sync_request.go index 1d2f5cae..aeb2b4b8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_group_sync_status.go b/model_organization_group_sync_status.go index d69b9216..f3831a37 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite.go b/model_organization_invite.go index 03657b15..46dbe72e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_extend.go b/model_organization_invite_extend.go index 59ccc7b0..5cc7666a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_request.go b/model_organization_invite_request.go index d8006d85..52948a28 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update.go b/model_organization_invite_update.go index c02d3886..f3cf90cc 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_invite_update_request_patch.go b/model_organization_invite_update_request_patch.go index b7f02426..f854c889 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership.go b/model_organization_membership.go index c9250be2..7630e672 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update.go b/model_organization_membership_role_update.go index 779c6636..64704393 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_role_update_request_patch.go b/model_organization_membership_role_update_request_patch.go index 2b5097ab..434d9589 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update.go b/model_organization_membership_visibility_update.go index 47339c44..07e67687 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_membership_visibility_update_request_patch.go b/model_organization_membership_visibility_update_request_patch.go index ee561c5c..b0ffcdce 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy.go b/model_organization_package_license_policy.go index 06acb00e..c995cccf 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request.go b/model_organization_package_license_policy_request.go index f866df03..4b1ffbbd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_license_policy_request_patch.go b/model_organization_package_license_policy_request_patch.go index 11273e37..eb36d313 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy.go b/model_organization_package_vulnerability_policy.go index e542b41f..3248f016 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request.go b/model_organization_package_vulnerability_policy_request.go index 11b033fd..6dd61c0c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_package_vulnerability_policy_request_patch.go b/model_organization_package_vulnerability_policy_request_patch.go index 2f5deb58..7286573e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth.go b/model_organization_saml_auth.go index ab38c949..bbd215a7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_saml_auth_request_patch.go b/model_organization_saml_auth_request_patch.go index 73d0affe..1ed4dc62 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team.go b/model_organization_team.go index 5f883afb..8139e8ef 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_invite.go b/model_organization_team_invite.go index bd3f2d64..969e9fda 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_members.go b/model_organization_team_members.go index ea142263..e43e1558 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_membership.go b/model_organization_team_membership.go index 93820315..629faff0 100644 --- a/model_organization_team_membership.go +++ b/model_organization_team_membership.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request.go b/model_organization_team_request.go index 60511d4e..912466c9 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_organization_team_request_patch.go b/model_organization_team_request_patch.go index 1dca14e1..6d872628 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload.go b/model_p2_package_upload.go index 11e5a351..34174fbf 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_p2_package_upload_request.go b/model_p2_package_upload_request.go index b0bf0adf..d47525db 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package.go b/model_package.go index 60858703..503b0711 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_copy.go b/model_package_copy.go index d3215fd7..deb14e0d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_copy_request.go b/model_package_copy_request.go index 80e4166f..7e3462cd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy.go b/model_package_deny_policy.go index 8f19bdd7..dba74546 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request.go b/model_package_deny_policy_request.go index 9742f7a3..99d1738a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_deny_policy_request_patch.go b/model_package_deny_policy_request_patch.go index 24f49ff1..db83c68d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_dependencies.go b/model_package_dependencies.go index ea13cb1e..c488dab6 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_dependency.go b/model_package_dependency.go index 8ced4bf3..5828a89e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file.go b/model_package_file.go index 3506cfdb..cae4ecef 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_parts_upload.go b/model_package_file_parts_upload.go index c43c5658..b4cf09c8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload.go b/model_package_file_upload.go index a509fdb2..66f0ae57 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_file_upload_request.go b/model_package_file_upload_request.go index f61066c4..902c7317 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_evaluation_request.go b/model_package_license_policy_evaluation_request.go index 00c09499..5c606366 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log.go b/model_package_license_policy_violation_log.go index e98cbca9..e3925c2e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_license_policy_violation_log_cursor_page.go b/model_package_license_policy_violation_log_cursor_page.go index ac79905d..39bd53ac 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_move.go b/model_package_move.go index 6a1140eb..0c0d7d60 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_move_request.go b/model_package_move_request.go index b21c7fe6..c7bc7123 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine.go b/model_package_quarantine.go index dd79096d..de2320c6 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_quarantine_request.go b/model_package_quarantine_request.go index 1a2cb8cc..a09551c7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_resync.go b/model_package_resync.go index 5a2084ee..be79207a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_status.go b/model_package_status.go index 533bb41e..6eacce1b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_tag.go b/model_package_tag.go index 011df73e..875dc2a2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_tag_request.go b/model_package_tag_request.go index 8effb2c0..89f00d29 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_usage_metrics.go b/model_package_usage_metrics.go index c1de713d..ffb72b0b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability.go b/model_package_vulnerability.go index 59bc875f..5a3b60e7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_evaluation_request.go b/model_package_vulnerability_policy_evaluation_request.go index 3e1f7ea8..8d2383c1 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log.go b/model_package_vulnerability_policy_violation_log.go index f99e61a9..3d472724 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_package_vulnerability_policy_violation_log_cursor_page.go b/model_package_vulnerability_policy_violation_log_cursor_page.go index 01efca42..e3f1d8fb 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings.go b/model_provider_settings.go index a2e13837..58cf6d6e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_request.go b/model_provider_settings_request.go index 10a75ed3..2969c3ce 100644 --- a/model_provider_settings_request.go +++ b/model_provider_settings_request.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_provider_settings_request_patch.go b/model_provider_settings_request_patch.go index a7af6022..ea11714d 100644 --- a/model_provider_settings_request_patch.go +++ b/model_provider_settings_request_patch.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload.go b/model_python_package_upload.go index 8837252d..262224c5 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_python_package_upload_request.go b/model_python_package_upload_request.go index 354e4c0e..7284781a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream.go b/model_python_upstream.go index ae8e5dc4..a863f098 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request.go b/model_python_upstream_request.go index 57b46c85..e248d4cd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_python_upstream_request_patch.go b/model_python_upstream_request_patch.go index 6464a20c..a59a1e3e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_quota.go b/model_quota.go index 43424ad8..59c68a9b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_quota_history.go b/model_quota_history.go index 8d2ef83d..c3ce8fda 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_rate_check.go b/model_rate_check.go index 31e1f3f5..b555d008 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload.go b/model_raw_package_upload.go index 1cc16b66..1edff069 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_raw_package_upload_request.go b/model_raw_package_upload_request.go index cb210f8e..c6189844 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository.go b/model_repository.go index 78de8ceb..ccce0b8d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -68,6 +68,8 @@ type Repository struct { Namespace *string `json:"namespace,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` // API endpoint where data about this namespace can be retrieved. NamespaceUrl *string `json:"namespace_url,omitempty"` + // When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. + NugetNativeSigningEnabled *bool `json:"nuget_native_signing_enabled,omitempty"` // The number of downloads for packages in the repository. NumDownloads *int64 `json:"num_downloads,omitempty"` // Number of packages with policy violations in a repository. @@ -1059,6 +1061,38 @@ func (o *Repository) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } +// GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field value if set, zero value otherwise. +func (o *Repository) GetNugetNativeSigningEnabled() bool { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + var ret bool + return ret + } + return *o.NugetNativeSigningEnabled +} + +// GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Repository) GetNugetNativeSigningEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + return nil, false + } + return o.NugetNativeSigningEnabled, true +} + +// HasNugetNativeSigningEnabled returns a boolean if a field has been set. +func (o *Repository) HasNugetNativeSigningEnabled() bool { + if o != nil && !IsNil(o.NugetNativeSigningEnabled) { + return true + } + + return false +} + +// SetNugetNativeSigningEnabled gets a reference to the given bool and assigns it to the NugetNativeSigningEnabled field. +func (o *Repository) SetNugetNativeSigningEnabled(v bool) { + o.NugetNativeSigningEnabled = &v +} + // GetNumDownloads returns the NumDownloads field value if set, zero value otherwise. func (o *Repository) GetNumDownloads() int64 { if o == nil || IsNil(o.NumDownloads) { @@ -2351,6 +2385,9 @@ func (o Repository) ToMap() (map[string]interface{}, error) { if !IsNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } + if !IsNil(o.NugetNativeSigningEnabled) { + toSerialize["nuget_native_signing_enabled"] = o.NugetNativeSigningEnabled + } if !IsNil(o.NumDownloads) { toSerialize["num_downloads"] = o.NumDownloads } @@ -2531,6 +2568,7 @@ func (o *Repository) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "namespace") delete(additionalProperties, "namespace_url") + delete(additionalProperties, "nuget_native_signing_enabled") delete(additionalProperties, "num_downloads") delete(additionalProperties, "num_policy_violated_packages") delete(additionalProperties, "num_quarantined_packages") diff --git a/model_repository_audit_log.go b/model_repository_audit_log.go index 9391d086..bd76a6de 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_create.go b/model_repository_create.go index eba40975..2f3c16da 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -68,6 +68,8 @@ type RepositoryCreate struct { Namespace *string `json:"namespace,omitempty" validate:"regexp=^[-a-zA-Z0-9_]+$"` // API endpoint where data about this namespace can be retrieved. NamespaceUrl *string `json:"namespace_url,omitempty"` + // When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. + NugetNativeSigningEnabled *bool `json:"nuget_native_signing_enabled,omitempty"` // The number of downloads for packages in the repository. NumDownloads *int64 `json:"num_downloads,omitempty"` // Number of packages with policy violations in a repository. @@ -1063,6 +1065,38 @@ func (o *RepositoryCreate) SetNamespaceUrl(v string) { o.NamespaceUrl = &v } +// GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field value if set, zero value otherwise. +func (o *RepositoryCreate) GetNugetNativeSigningEnabled() bool { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + var ret bool + return ret + } + return *o.NugetNativeSigningEnabled +} + +// GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreate) GetNugetNativeSigningEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + return nil, false + } + return o.NugetNativeSigningEnabled, true +} + +// HasNugetNativeSigningEnabled returns a boolean if a field has been set. +func (o *RepositoryCreate) HasNugetNativeSigningEnabled() bool { + if o != nil && !IsNil(o.NugetNativeSigningEnabled) { + return true + } + + return false +} + +// SetNugetNativeSigningEnabled gets a reference to the given bool and assigns it to the NugetNativeSigningEnabled field. +func (o *RepositoryCreate) SetNugetNativeSigningEnabled(v bool) { + o.NugetNativeSigningEnabled = &v +} + // GetNumDownloads returns the NumDownloads field value if set, zero value otherwise. func (o *RepositoryCreate) GetNumDownloads() int64 { if o == nil || IsNil(o.NumDownloads) { @@ -2355,6 +2389,9 @@ func (o RepositoryCreate) ToMap() (map[string]interface{}, error) { if !IsNil(o.NamespaceUrl) { toSerialize["namespace_url"] = o.NamespaceUrl } + if !IsNil(o.NugetNativeSigningEnabled) { + toSerialize["nuget_native_signing_enabled"] = o.NugetNativeSigningEnabled + } if !IsNil(o.NumDownloads) { toSerialize["num_downloads"] = o.NumDownloads } @@ -2535,6 +2572,7 @@ func (o *RepositoryCreate) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "name") delete(additionalProperties, "namespace") delete(additionalProperties, "namespace_url") + delete(additionalProperties, "nuget_native_signing_enabled") delete(additionalProperties, "num_downloads") delete(additionalProperties, "num_policy_violated_packages") delete(additionalProperties, "num_quarantined_packages") diff --git a/model_repository_create_request.go b/model_repository_create_request.go index a61e2426..60b567a3 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -53,6 +53,8 @@ type RepositoryCreateRequest struct { MovePackages *string `json:"move_packages,omitempty"` // A descriptive name for the repository. Name string `json:"name" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. + NugetNativeSigningEnabled *bool `json:"nuget_native_signing_enabled,omitempty"` // The SPDX identifier of the open source license. OpenSourceLicense NullableString `json:"open_source_license,omitempty"` // The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. @@ -684,6 +686,38 @@ func (o *RepositoryCreateRequest) SetName(v string) { o.Name = v } +// GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field value if set, zero value otherwise. +func (o *RepositoryCreateRequest) GetNugetNativeSigningEnabled() bool { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + var ret bool + return ret + } + return *o.NugetNativeSigningEnabled +} + +// GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryCreateRequest) GetNugetNativeSigningEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + return nil, false + } + return o.NugetNativeSigningEnabled, true +} + +// HasNugetNativeSigningEnabled returns a boolean if a field has been set. +func (o *RepositoryCreateRequest) HasNugetNativeSigningEnabled() bool { + if o != nil && !IsNil(o.NugetNativeSigningEnabled) { + return true + } + + return false +} + +// SetNugetNativeSigningEnabled gets a reference to the given bool and assigns it to the NugetNativeSigningEnabled field. +func (o *RepositoryCreateRequest) SetNugetNativeSigningEnabled(v bool) { + o.NugetNativeSigningEnabled = &v +} + // GetOpenSourceLicense returns the OpenSourceLicense field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryCreateRequest) GetOpenSourceLicense() string { if o == nil || IsNil(o.OpenSourceLicense.Get()) { @@ -1594,6 +1628,9 @@ func (o RepositoryCreateRequest) ToMap() (map[string]interface{}, error) { toSerialize["move_packages"] = o.MovePackages } toSerialize["name"] = o.Name + if !IsNil(o.NugetNativeSigningEnabled) { + toSerialize["nuget_native_signing_enabled"] = o.NugetNativeSigningEnabled + } if o.OpenSourceLicense.IsSet() { toSerialize["open_source_license"] = o.OpenSourceLicense.Get() } @@ -1731,6 +1768,7 @@ func (o *RepositoryCreateRequest) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "move_own") delete(additionalProperties, "move_packages") delete(additionalProperties, "name") + delete(additionalProperties, "nuget_native_signing_enabled") delete(additionalProperties, "open_source_license") delete(additionalProperties, "open_source_project_url") delete(additionalProperties, "proxy_npmjs") diff --git a/model_repository_ecdsa_key.go b/model_repository_ecdsa_key.go index d3e50739..23b56f6f 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_ecdsa_key_create.go b/model_repository_ecdsa_key_create.go index 1a245034..8ae40c49 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_cidr.go b/model_repository_geo_ip_cidr.go index 25abd8ee..6c3ad1b5 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_country_code.go b/model_repository_geo_ip_country_code.go index 108cfe6d..fa5505e7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules.go b/model_repository_geo_ip_rules.go index 2d0465ce..02006767 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request.go b/model_repository_geo_ip_rules_request.go index 34f1172e..21de516d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_rules_request_patch.go b/model_repository_geo_ip_rules_request_patch.go index 47ba76d9..469af9a0 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_status.go b/model_repository_geo_ip_status.go index b34e1bd1..717c6dc4 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address.go b/model_repository_geo_ip_test_address.go index 4356a72f..8eab5951 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address_response.go b/model_repository_geo_ip_test_address_response.go index 23003cad..1a5fa576 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_geo_ip_test_address_response_dict.go b/model_repository_geo_ip_test_address_response_dict.go index 1db4ed36..e0e7b4d8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key.go b/model_repository_gpg_key.go index df5730cb..52d44b52 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_gpg_key_create.go b/model_repository_gpg_key_create.go index f2068049..a2870a1f 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_dict.go b/model_repository_privilege_dict.go index 8475af6a..1717accc 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input.go b/model_repository_privilege_input.go index 55ed7f44..a28031ee 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request.go b/model_repository_privilege_input_request.go index 4170f608..5ae3bd7a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_privilege_input_request_patch.go b/model_repository_privilege_input_request_patch.go index 09a7f6cd..2b3d73d2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_request_patch.go b/model_repository_request_patch.go index d9c62510..f4057d7d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ @@ -52,6 +52,8 @@ type RepositoryRequestPatch struct { MovePackages *string `json:"move_packages,omitempty"` // A descriptive name for the repository. Name *string `json:"name,omitempty" validate:"regexp=^\\\\w[\\\\w \\\\-'\\\\.\\/()]+$"` + // When enabled, all pushed (or pulled from upstream) nuget packages and artifacts will be signed using the repository's X.509 RSA certificate. Additionally, the nuget RepositorySignature index will list all of the repository's signing certificates including the ones from configured upstreams. + NugetNativeSigningEnabled *bool `json:"nuget_native_signing_enabled,omitempty"` // The SPDX identifier of the open source license. OpenSourceLicense NullableString `json:"open_source_license,omitempty"` // The URL to the Open-Source project, used for validating that the project meets the requirements for Open-Source. @@ -684,6 +686,38 @@ func (o *RepositoryRequestPatch) SetName(v string) { o.Name = &v } +// GetNugetNativeSigningEnabled returns the NugetNativeSigningEnabled field value if set, zero value otherwise. +func (o *RepositoryRequestPatch) GetNugetNativeSigningEnabled() bool { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + var ret bool + return ret + } + return *o.NugetNativeSigningEnabled +} + +// GetNugetNativeSigningEnabledOk returns a tuple with the NugetNativeSigningEnabled field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryRequestPatch) GetNugetNativeSigningEnabledOk() (*bool, bool) { + if o == nil || IsNil(o.NugetNativeSigningEnabled) { + return nil, false + } + return o.NugetNativeSigningEnabled, true +} + +// HasNugetNativeSigningEnabled returns a boolean if a field has been set. +func (o *RepositoryRequestPatch) HasNugetNativeSigningEnabled() bool { + if o != nil && !IsNil(o.NugetNativeSigningEnabled) { + return true + } + + return false +} + +// SetNugetNativeSigningEnabled gets a reference to the given bool and assigns it to the NugetNativeSigningEnabled field. +func (o *RepositoryRequestPatch) SetNugetNativeSigningEnabled(v bool) { + o.NugetNativeSigningEnabled = &v +} + // GetOpenSourceLicense returns the OpenSourceLicense field value if set, zero value otherwise (both if not set or set to explicit null). func (o *RepositoryRequestPatch) GetOpenSourceLicense() string { if o == nil || IsNil(o.OpenSourceLicense.Get()) { @@ -1564,6 +1598,9 @@ func (o RepositoryRequestPatch) ToMap() (map[string]interface{}, error) { if !IsNil(o.Name) { toSerialize["name"] = o.Name } + if !IsNil(o.NugetNativeSigningEnabled) { + toSerialize["nuget_native_signing_enabled"] = o.NugetNativeSigningEnabled + } if o.OpenSourceLicense.IsSet() { toSerialize["open_source_license"] = o.OpenSourceLicense.Get() } @@ -1677,6 +1714,7 @@ func (o *RepositoryRequestPatch) UnmarshalJSON(data []byte) (err error) { delete(additionalProperties, "move_own") delete(additionalProperties, "move_packages") delete(additionalProperties, "name") + delete(additionalProperties, "nuget_native_signing_enabled") delete(additionalProperties, "open_source_license") delete(additionalProperties, "open_source_project_url") delete(additionalProperties, "proxy_npmjs") diff --git a/model_repository_retention_rules.go b/model_repository_retention_rules.go index a19adc26..a7f22d5a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_retention_rules_request_patch.go b/model_repository_retention_rules_request_patch.go index f2e50533..6e144d30 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key.go b/model_repository_rsa_key.go index 80a503ad..e3c9d81d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_rsa_key_create.go b/model_repository_rsa_key_create.go index b2363d97..fc11e78d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token.go b/model_repository_token.go index 2364ef3a..e948aabc 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh.go b/model_repository_token_refresh.go index 71899f51..21fb5d9e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_refresh_request.go b/model_repository_token_refresh_request.go index 4690c5bd..e0d1282a 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request.go b/model_repository_token_request.go index 06b32998..2a2808e7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_request_patch.go b/model_repository_token_request_patch.go index fb83cfd0..dacec76e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync.go b/model_repository_token_sync.go index 97cc59d7..08280276 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_token_sync_request.go b/model_repository_token_sync_request.go index d754497c..7e76679b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region.go b/model_repository_transfer_region.go index 2329376f..9fd8fb4c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_transfer_region_request.go b/model_repository_transfer_region_request.go index 758001eb..8316a000 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook.go b/model_repository_webhook.go index c9d3228e..72bc0d51 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request.go b/model_repository_webhook_request.go index 6b9f39b7..eef68a76 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_webhook_request_patch.go b/model_repository_webhook_request_patch.go index 1ffc8730..1235a199 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_repository_x509_certificate.go b/model_repository_x509_certificate.go deleted file mode 100644 index 417b5e52..00000000 --- a/model_repository_x509_certificate.go +++ /dev/null @@ -1,407 +0,0 @@ -/* -Cloudsmith API (v1) - -The API to the Cloudsmith Service - -API version: 1.617.2 -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 RepositoryX509Certificate type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &RepositoryX509Certificate{} - -// RepositoryX509Certificate struct for RepositoryX509Certificate -type RepositoryX509Certificate struct { - // If selected this is the active key for this repository. - Active *bool `json:"active,omitempty"` - // The issued certificate. - Certificate NullableString `json:"certificate,omitempty"` - // The SHA-256 long identifier used - CertificateFingerprint NullableString `json:"certificate_fingerprint,omitempty"` - CertificateFingerprintShort *string `json:"certificate_fingerprint_short,omitempty"` - CreatedAt *time.Time `json:"created_at,omitempty"` - // If selected this is the default key for this repository. - Default *bool `json:"default,omitempty"` - IssuingStatus *string `json:"issuing_status,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _RepositoryX509Certificate RepositoryX509Certificate - -// NewRepositoryX509Certificate instantiates a new RepositoryX509Certificate 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 NewRepositoryX509Certificate() *RepositoryX509Certificate { - this := RepositoryX509Certificate{} - var issuingStatus string = "Certificate is pending to be issued" - this.IssuingStatus = &issuingStatus - return &this -} - -// NewRepositoryX509CertificateWithDefaults instantiates a new RepositoryX509Certificate 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 NewRepositoryX509CertificateWithDefaults() *RepositoryX509Certificate { - this := RepositoryX509Certificate{} - var issuingStatus string = "Certificate is pending to be issued" - this.IssuingStatus = &issuingStatus - return &this -} - -// GetActive returns the Active field value if set, zero value otherwise. -func (o *RepositoryX509Certificate) GetActive() bool { - if o == nil || IsNil(o.Active) { - var ret bool - return ret - } - return *o.Active -} - -// GetActiveOk returns a tuple with the Active field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryX509Certificate) GetActiveOk() (*bool, bool) { - if o == nil || IsNil(o.Active) { - return nil, false - } - return o.Active, true -} - -// HasActive returns a boolean if a field has been set. -func (o *RepositoryX509Certificate) HasActive() bool { - if o != nil && !IsNil(o.Active) { - return true - } - - return false -} - -// SetActive gets a reference to the given bool and assigns it to the Active field. -func (o *RepositoryX509Certificate) SetActive(v bool) { - o.Active = &v -} - -// GetCertificate returns the Certificate field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RepositoryX509Certificate) GetCertificate() string { - if o == nil || IsNil(o.Certificate.Get()) { - var ret string - return ret - } - return *o.Certificate.Get() -} - -// GetCertificateOk returns a tuple with the Certificate 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 *RepositoryX509Certificate) GetCertificateOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.Certificate.Get(), o.Certificate.IsSet() -} - -// HasCertificate returns a boolean if a field has been set. -func (o *RepositoryX509Certificate) HasCertificate() bool { - if o != nil && o.Certificate.IsSet() { - return true - } - - return false -} - -// SetCertificate gets a reference to the given NullableString and assigns it to the Certificate field. -func (o *RepositoryX509Certificate) SetCertificate(v string) { - o.Certificate.Set(&v) -} - -// SetCertificateNil sets the value for Certificate to be an explicit nil -func (o *RepositoryX509Certificate) SetCertificateNil() { - o.Certificate.Set(nil) -} - -// UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil -func (o *RepositoryX509Certificate) UnsetCertificate() { - o.Certificate.Unset() -} - -// GetCertificateFingerprint returns the CertificateFingerprint field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *RepositoryX509Certificate) GetCertificateFingerprint() string { - if o == nil || IsNil(o.CertificateFingerprint.Get()) { - var ret string - return ret - } - return *o.CertificateFingerprint.Get() -} - -// GetCertificateFingerprintOk returns a tuple with the CertificateFingerprint 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 *RepositoryX509Certificate) GetCertificateFingerprintOk() (*string, bool) { - if o == nil { - return nil, false - } - return o.CertificateFingerprint.Get(), o.CertificateFingerprint.IsSet() -} - -// HasCertificateFingerprint returns a boolean if a field has been set. -func (o *RepositoryX509Certificate) HasCertificateFingerprint() bool { - if o != nil && o.CertificateFingerprint.IsSet() { - return true - } - - return false -} - -// SetCertificateFingerprint gets a reference to the given NullableString and assigns it to the CertificateFingerprint field. -func (o *RepositoryX509Certificate) SetCertificateFingerprint(v string) { - o.CertificateFingerprint.Set(&v) -} - -// SetCertificateFingerprintNil sets the value for CertificateFingerprint to be an explicit nil -func (o *RepositoryX509Certificate) SetCertificateFingerprintNil() { - o.CertificateFingerprint.Set(nil) -} - -// UnsetCertificateFingerprint ensures that no value is present for CertificateFingerprint, not even an explicit nil -func (o *RepositoryX509Certificate) UnsetCertificateFingerprint() { - o.CertificateFingerprint.Unset() -} - -// GetCertificateFingerprintShort returns the CertificateFingerprintShort field value if set, zero value otherwise. -func (o *RepositoryX509Certificate) GetCertificateFingerprintShort() string { - if o == nil || IsNil(o.CertificateFingerprintShort) { - var ret string - return ret - } - return *o.CertificateFingerprintShort -} - -// GetCertificateFingerprintShortOk returns a tuple with the CertificateFingerprintShort field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryX509Certificate) GetCertificateFingerprintShortOk() (*string, bool) { - if o == nil || IsNil(o.CertificateFingerprintShort) { - return nil, false - } - return o.CertificateFingerprintShort, true -} - -// HasCertificateFingerprintShort returns a boolean if a field has been set. -func (o *RepositoryX509Certificate) HasCertificateFingerprintShort() bool { - if o != nil && !IsNil(o.CertificateFingerprintShort) { - return true - } - - return false -} - -// SetCertificateFingerprintShort gets a reference to the given string and assigns it to the CertificateFingerprintShort field. -func (o *RepositoryX509Certificate) SetCertificateFingerprintShort(v string) { - o.CertificateFingerprintShort = &v -} - -// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. -func (o *RepositoryX509Certificate) 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 *RepositoryX509Certificate) 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 *RepositoryX509Certificate) 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 *RepositoryX509Certificate) SetCreatedAt(v time.Time) { - o.CreatedAt = &v -} - -// GetDefault returns the Default field value if set, zero value otherwise. -func (o *RepositoryX509Certificate) GetDefault() bool { - if o == nil || IsNil(o.Default) { - var ret bool - return ret - } - return *o.Default -} - -// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryX509Certificate) GetDefaultOk() (*bool, bool) { - if o == nil || IsNil(o.Default) { - return nil, false - } - return o.Default, true -} - -// HasDefault returns a boolean if a field has been set. -func (o *RepositoryX509Certificate) HasDefault() bool { - if o != nil && !IsNil(o.Default) { - return true - } - - return false -} - -// SetDefault gets a reference to the given bool and assigns it to the Default field. -func (o *RepositoryX509Certificate) SetDefault(v bool) { - o.Default = &v -} - -// GetIssuingStatus returns the IssuingStatus field value if set, zero value otherwise. -func (o *RepositoryX509Certificate) GetIssuingStatus() string { - if o == nil || IsNil(o.IssuingStatus) { - var ret string - return ret - } - return *o.IssuingStatus -} - -// GetIssuingStatusOk returns a tuple with the IssuingStatus field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *RepositoryX509Certificate) GetIssuingStatusOk() (*string, bool) { - if o == nil || IsNil(o.IssuingStatus) { - return nil, false - } - return o.IssuingStatus, true -} - -// HasIssuingStatus returns a boolean if a field has been set. -func (o *RepositoryX509Certificate) HasIssuingStatus() bool { - if o != nil && !IsNil(o.IssuingStatus) { - return true - } - - return false -} - -// SetIssuingStatus gets a reference to the given string and assigns it to the IssuingStatus field. -func (o *RepositoryX509Certificate) SetIssuingStatus(v string) { - o.IssuingStatus = &v -} - -func (o RepositoryX509Certificate) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o RepositoryX509Certificate) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Active) { - toSerialize["active"] = o.Active - } - if o.Certificate.IsSet() { - toSerialize["certificate"] = o.Certificate.Get() - } - if o.CertificateFingerprint.IsSet() { - toSerialize["certificate_fingerprint"] = o.CertificateFingerprint.Get() - } - if !IsNil(o.CertificateFingerprintShort) { - toSerialize["certificate_fingerprint_short"] = o.CertificateFingerprintShort - } - if !IsNil(o.CreatedAt) { - toSerialize["created_at"] = o.CreatedAt - } - if !IsNil(o.Default) { - toSerialize["default"] = o.Default - } - if !IsNil(o.IssuingStatus) { - toSerialize["issuing_status"] = o.IssuingStatus - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *RepositoryX509Certificate) UnmarshalJSON(data []byte) (err error) { - varRepositoryX509Certificate := _RepositoryX509Certificate{} - - err = json.Unmarshal(data, &varRepositoryX509Certificate) - - if err != nil { - return err - } - - *o = RepositoryX509Certificate(varRepositoryX509Certificate) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "active") - delete(additionalProperties, "certificate") - delete(additionalProperties, "certificate_fingerprint") - delete(additionalProperties, "certificate_fingerprint_short") - delete(additionalProperties, "created_at") - delete(additionalProperties, "default") - delete(additionalProperties, "issuing_status") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableRepositoryX509Certificate struct { - value *RepositoryX509Certificate - isSet bool -} - -func (v NullableRepositoryX509Certificate) Get() *RepositoryX509Certificate { - return v.value -} - -func (v *NullableRepositoryX509Certificate) Set(val *RepositoryX509Certificate) { - v.value = val - v.isSet = true -} - -func (v NullableRepositoryX509Certificate) IsSet() bool { - return v.isSet -} - -func (v *NullableRepositoryX509Certificate) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableRepositoryX509Certificate(val *RepositoryX509Certificate) *NullableRepositoryX509Certificate { - return &NullableRepositoryX509Certificate{value: val, isSet: true} -} - -func (v NullableRepositoryX509Certificate) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableRepositoryX509Certificate) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/model_repository_x509_ecdsa_certificate.go b/model_repository_x509_ecdsa_certificate.go new file mode 100644 index 00000000..94cf709a --- /dev/null +++ b/model_repository_x509_ecdsa_certificate.go @@ -0,0 +1,530 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.654.0 +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 RepositoryX509EcdsaCertificate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RepositoryX509EcdsaCertificate{} + +// RepositoryX509EcdsaCertificate struct for RepositoryX509EcdsaCertificate +type RepositoryX509EcdsaCertificate struct { + // If selected this is the active key for this repository. + Active *bool `json:"active,omitempty"` + // The issued certificate. + Certificate NullableString `json:"certificate,omitempty"` + // Base64 encoded CA certificate chain. + CertificateChain NullableString `json:"certificate_chain,omitempty"` + CertificateChainFingerprint *string `json:"certificate_chain_fingerprint,omitempty"` + CertificateChainFingerprintShort *string `json:"certificate_chain_fingerprint_short,omitempty"` + // The SHA-256 long identifier used + CertificateFingerprint NullableString `json:"certificate_fingerprint,omitempty"` + CertificateFingerprintShort *string `json:"certificate_fingerprint_short,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + // If selected this is the default key for this repository. + Default *bool `json:"default,omitempty"` + IssuingStatus *string `json:"issuing_status,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RepositoryX509EcdsaCertificate RepositoryX509EcdsaCertificate + +// NewRepositoryX509EcdsaCertificate instantiates a new RepositoryX509EcdsaCertificate 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 NewRepositoryX509EcdsaCertificate() *RepositoryX509EcdsaCertificate { + this := RepositoryX509EcdsaCertificate{} + var issuingStatus string = "Certificate is pending to be issued" + this.IssuingStatus = &issuingStatus + return &this +} + +// NewRepositoryX509EcdsaCertificateWithDefaults instantiates a new RepositoryX509EcdsaCertificate 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 NewRepositoryX509EcdsaCertificateWithDefaults() *RepositoryX509EcdsaCertificate { + this := RepositoryX509EcdsaCertificate{} + var issuingStatus string = "Certificate is pending to be issued" + this.IssuingStatus = &issuingStatus + return &this +} + +// GetActive returns the Active field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) GetActive() bool { + if o == nil || IsNil(o.Active) { + var ret bool + return ret + } + return *o.Active +} + +// GetActiveOk returns a tuple with the Active field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509EcdsaCertificate) GetActiveOk() (*bool, bool) { + if o == nil || IsNil(o.Active) { + return nil, false + } + return o.Active, true +} + +// HasActive returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasActive() bool { + if o != nil && !IsNil(o.Active) { + return true + } + + return false +} + +// SetActive gets a reference to the given bool and assigns it to the Active field. +func (o *RepositoryX509EcdsaCertificate) SetActive(v bool) { + o.Active = &v +} + +// GetCertificate returns the Certificate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryX509EcdsaCertificate) GetCertificate() string { + if o == nil || IsNil(o.Certificate.Get()) { + var ret string + return ret + } + return *o.Certificate.Get() +} + +// GetCertificateOk returns a tuple with the Certificate 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 *RepositoryX509EcdsaCertificate) GetCertificateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Certificate.Get(), o.Certificate.IsSet() +} + +// HasCertificate returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasCertificate() bool { + if o != nil && o.Certificate.IsSet() { + return true + } + + return false +} + +// SetCertificate gets a reference to the given NullableString and assigns it to the Certificate field. +func (o *RepositoryX509EcdsaCertificate) SetCertificate(v string) { + o.Certificate.Set(&v) +} + +// SetCertificateNil sets the value for Certificate to be an explicit nil +func (o *RepositoryX509EcdsaCertificate) SetCertificateNil() { + o.Certificate.Set(nil) +} + +// UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil +func (o *RepositoryX509EcdsaCertificate) UnsetCertificate() { + o.Certificate.Unset() +} + +// GetCertificateChain returns the CertificateChain field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryX509EcdsaCertificate) GetCertificateChain() string { + if o == nil || IsNil(o.CertificateChain.Get()) { + var ret string + return ret + } + return *o.CertificateChain.Get() +} + +// GetCertificateChainOk returns a tuple with the CertificateChain 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 *RepositoryX509EcdsaCertificate) GetCertificateChainOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CertificateChain.Get(), o.CertificateChain.IsSet() +} + +// HasCertificateChain returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasCertificateChain() bool { + if o != nil && o.CertificateChain.IsSet() { + return true + } + + return false +} + +// SetCertificateChain gets a reference to the given NullableString and assigns it to the CertificateChain field. +func (o *RepositoryX509EcdsaCertificate) SetCertificateChain(v string) { + o.CertificateChain.Set(&v) +} + +// SetCertificateChainNil sets the value for CertificateChain to be an explicit nil +func (o *RepositoryX509EcdsaCertificate) SetCertificateChainNil() { + o.CertificateChain.Set(nil) +} + +// UnsetCertificateChain ensures that no value is present for CertificateChain, not even an explicit nil +func (o *RepositoryX509EcdsaCertificate) UnsetCertificateChain() { + o.CertificateChain.Unset() +} + +// GetCertificateChainFingerprint returns the CertificateChainFingerprint field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprint() string { + if o == nil || IsNil(o.CertificateChainFingerprint) { + var ret string + return ret + } + return *o.CertificateChainFingerprint +} + +// GetCertificateChainFingerprintOk returns a tuple with the CertificateChainFingerprint field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprintOk() (*string, bool) { + if o == nil || IsNil(o.CertificateChainFingerprint) { + return nil, false + } + return o.CertificateChainFingerprint, true +} + +// HasCertificateChainFingerprint returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasCertificateChainFingerprint() bool { + if o != nil && !IsNil(o.CertificateChainFingerprint) { + return true + } + + return false +} + +// SetCertificateChainFingerprint gets a reference to the given string and assigns it to the CertificateChainFingerprint field. +func (o *RepositoryX509EcdsaCertificate) SetCertificateChainFingerprint(v string) { + o.CertificateChainFingerprint = &v +} + +// GetCertificateChainFingerprintShort returns the CertificateChainFingerprintShort field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprintShort() string { + if o == nil || IsNil(o.CertificateChainFingerprintShort) { + var ret string + return ret + } + return *o.CertificateChainFingerprintShort +} + +// GetCertificateChainFingerprintShortOk returns a tuple with the CertificateChainFingerprintShort field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509EcdsaCertificate) GetCertificateChainFingerprintShortOk() (*string, bool) { + if o == nil || IsNil(o.CertificateChainFingerprintShort) { + return nil, false + } + return o.CertificateChainFingerprintShort, true +} + +// HasCertificateChainFingerprintShort returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasCertificateChainFingerprintShort() bool { + if o != nil && !IsNil(o.CertificateChainFingerprintShort) { + return true + } + + return false +} + +// SetCertificateChainFingerprintShort gets a reference to the given string and assigns it to the CertificateChainFingerprintShort field. +func (o *RepositoryX509EcdsaCertificate) SetCertificateChainFingerprintShort(v string) { + o.CertificateChainFingerprintShort = &v +} + +// GetCertificateFingerprint returns the CertificateFingerprint field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprint() string { + if o == nil || IsNil(o.CertificateFingerprint.Get()) { + var ret string + return ret + } + return *o.CertificateFingerprint.Get() +} + +// GetCertificateFingerprintOk returns a tuple with the CertificateFingerprint 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 *RepositoryX509EcdsaCertificate) GetCertificateFingerprintOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CertificateFingerprint.Get(), o.CertificateFingerprint.IsSet() +} + +// HasCertificateFingerprint returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasCertificateFingerprint() bool { + if o != nil && o.CertificateFingerprint.IsSet() { + return true + } + + return false +} + +// SetCertificateFingerprint gets a reference to the given NullableString and assigns it to the CertificateFingerprint field. +func (o *RepositoryX509EcdsaCertificate) SetCertificateFingerprint(v string) { + o.CertificateFingerprint.Set(&v) +} + +// SetCertificateFingerprintNil sets the value for CertificateFingerprint to be an explicit nil +func (o *RepositoryX509EcdsaCertificate) SetCertificateFingerprintNil() { + o.CertificateFingerprint.Set(nil) +} + +// UnsetCertificateFingerprint ensures that no value is present for CertificateFingerprint, not even an explicit nil +func (o *RepositoryX509EcdsaCertificate) UnsetCertificateFingerprint() { + o.CertificateFingerprint.Unset() +} + +// GetCertificateFingerprintShort returns the CertificateFingerprintShort field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprintShort() string { + if o == nil || IsNil(o.CertificateFingerprintShort) { + var ret string + return ret + } + return *o.CertificateFingerprintShort +} + +// GetCertificateFingerprintShortOk returns a tuple with the CertificateFingerprintShort field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509EcdsaCertificate) GetCertificateFingerprintShortOk() (*string, bool) { + if o == nil || IsNil(o.CertificateFingerprintShort) { + return nil, false + } + return o.CertificateFingerprintShort, true +} + +// HasCertificateFingerprintShort returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasCertificateFingerprintShort() bool { + if o != nil && !IsNil(o.CertificateFingerprintShort) { + return true + } + + return false +} + +// SetCertificateFingerprintShort gets a reference to the given string and assigns it to the CertificateFingerprintShort field. +func (o *RepositoryX509EcdsaCertificate) SetCertificateFingerprintShort(v string) { + o.CertificateFingerprintShort = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) 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 *RepositoryX509EcdsaCertificate) 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 *RepositoryX509EcdsaCertificate) 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 *RepositoryX509EcdsaCertificate) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetDefault returns the Default field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) GetDefault() bool { + if o == nil || IsNil(o.Default) { + var ret bool + return ret + } + return *o.Default +} + +// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509EcdsaCertificate) GetDefaultOk() (*bool, bool) { + if o == nil || IsNil(o.Default) { + return nil, false + } + return o.Default, true +} + +// HasDefault returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasDefault() bool { + if o != nil && !IsNil(o.Default) { + return true + } + + return false +} + +// SetDefault gets a reference to the given bool and assigns it to the Default field. +func (o *RepositoryX509EcdsaCertificate) SetDefault(v bool) { + o.Default = &v +} + +// GetIssuingStatus returns the IssuingStatus field value if set, zero value otherwise. +func (o *RepositoryX509EcdsaCertificate) GetIssuingStatus() string { + if o == nil || IsNil(o.IssuingStatus) { + var ret string + return ret + } + return *o.IssuingStatus +} + +// GetIssuingStatusOk returns a tuple with the IssuingStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509EcdsaCertificate) GetIssuingStatusOk() (*string, bool) { + if o == nil || IsNil(o.IssuingStatus) { + return nil, false + } + return o.IssuingStatus, true +} + +// HasIssuingStatus returns a boolean if a field has been set. +func (o *RepositoryX509EcdsaCertificate) HasIssuingStatus() bool { + if o != nil && !IsNil(o.IssuingStatus) { + return true + } + + return false +} + +// SetIssuingStatus gets a reference to the given string and assigns it to the IssuingStatus field. +func (o *RepositoryX509EcdsaCertificate) SetIssuingStatus(v string) { + o.IssuingStatus = &v +} + +func (o RepositoryX509EcdsaCertificate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RepositoryX509EcdsaCertificate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Active) { + toSerialize["active"] = o.Active + } + if o.Certificate.IsSet() { + toSerialize["certificate"] = o.Certificate.Get() + } + if o.CertificateChain.IsSet() { + toSerialize["certificate_chain"] = o.CertificateChain.Get() + } + if !IsNil(o.CertificateChainFingerprint) { + toSerialize["certificate_chain_fingerprint"] = o.CertificateChainFingerprint + } + if !IsNil(o.CertificateChainFingerprintShort) { + toSerialize["certificate_chain_fingerprint_short"] = o.CertificateChainFingerprintShort + } + if o.CertificateFingerprint.IsSet() { + toSerialize["certificate_fingerprint"] = o.CertificateFingerprint.Get() + } + if !IsNil(o.CertificateFingerprintShort) { + toSerialize["certificate_fingerprint_short"] = o.CertificateFingerprintShort + } + if !IsNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !IsNil(o.Default) { + toSerialize["default"] = o.Default + } + if !IsNil(o.IssuingStatus) { + toSerialize["issuing_status"] = o.IssuingStatus + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RepositoryX509EcdsaCertificate) UnmarshalJSON(data []byte) (err error) { + varRepositoryX509EcdsaCertificate := _RepositoryX509EcdsaCertificate{} + + err = json.Unmarshal(data, &varRepositoryX509EcdsaCertificate) + + if err != nil { + return err + } + + *o = RepositoryX509EcdsaCertificate(varRepositoryX509EcdsaCertificate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "active") + delete(additionalProperties, "certificate") + delete(additionalProperties, "certificate_chain") + delete(additionalProperties, "certificate_chain_fingerprint") + delete(additionalProperties, "certificate_chain_fingerprint_short") + delete(additionalProperties, "certificate_fingerprint") + delete(additionalProperties, "certificate_fingerprint_short") + delete(additionalProperties, "created_at") + delete(additionalProperties, "default") + delete(additionalProperties, "issuing_status") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRepositoryX509EcdsaCertificate struct { + value *RepositoryX509EcdsaCertificate + isSet bool +} + +func (v NullableRepositoryX509EcdsaCertificate) Get() *RepositoryX509EcdsaCertificate { + return v.value +} + +func (v *NullableRepositoryX509EcdsaCertificate) Set(val *RepositoryX509EcdsaCertificate) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryX509EcdsaCertificate) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryX509EcdsaCertificate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryX509EcdsaCertificate(val *RepositoryX509EcdsaCertificate) *NullableRepositoryX509EcdsaCertificate { + return &NullableRepositoryX509EcdsaCertificate{value: val, isSet: true} +} + +func (v NullableRepositoryX509EcdsaCertificate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryX509EcdsaCertificate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_repository_x509_rsa_certificate.go b/model_repository_x509_rsa_certificate.go new file mode 100644 index 00000000..550dbd01 --- /dev/null +++ b/model_repository_x509_rsa_certificate.go @@ -0,0 +1,530 @@ +/* +Cloudsmith API (v1) + +The API to the Cloudsmith Service + +API version: 1.654.0 +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 RepositoryX509RsaCertificate type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &RepositoryX509RsaCertificate{} + +// RepositoryX509RsaCertificate struct for RepositoryX509RsaCertificate +type RepositoryX509RsaCertificate struct { + // If selected this is the active key for this repository. + Active *bool `json:"active,omitempty"` + // The issued certificate. + Certificate NullableString `json:"certificate,omitempty"` + // Base64 encoded CA certificate chain. + CertificateChain NullableString `json:"certificate_chain,omitempty"` + CertificateChainFingerprint *string `json:"certificate_chain_fingerprint,omitempty"` + CertificateChainFingerprintShort *string `json:"certificate_chain_fingerprint_short,omitempty"` + // The SHA-256 long identifier used + CertificateFingerprint NullableString `json:"certificate_fingerprint,omitempty"` + CertificateFingerprintShort *string `json:"certificate_fingerprint_short,omitempty"` + CreatedAt *time.Time `json:"created_at,omitempty"` + // If selected this is the default key for this repository. + Default *bool `json:"default,omitempty"` + IssuingStatus *string `json:"issuing_status,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _RepositoryX509RsaCertificate RepositoryX509RsaCertificate + +// NewRepositoryX509RsaCertificate instantiates a new RepositoryX509RsaCertificate 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 NewRepositoryX509RsaCertificate() *RepositoryX509RsaCertificate { + this := RepositoryX509RsaCertificate{} + var issuingStatus string = "Certificate is pending to be issued" + this.IssuingStatus = &issuingStatus + return &this +} + +// NewRepositoryX509RsaCertificateWithDefaults instantiates a new RepositoryX509RsaCertificate 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 NewRepositoryX509RsaCertificateWithDefaults() *RepositoryX509RsaCertificate { + this := RepositoryX509RsaCertificate{} + var issuingStatus string = "Certificate is pending to be issued" + this.IssuingStatus = &issuingStatus + return &this +} + +// GetActive returns the Active field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) GetActive() bool { + if o == nil || IsNil(o.Active) { + var ret bool + return ret + } + return *o.Active +} + +// GetActiveOk returns a tuple with the Active field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509RsaCertificate) GetActiveOk() (*bool, bool) { + if o == nil || IsNil(o.Active) { + return nil, false + } + return o.Active, true +} + +// HasActive returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasActive() bool { + if o != nil && !IsNil(o.Active) { + return true + } + + return false +} + +// SetActive gets a reference to the given bool and assigns it to the Active field. +func (o *RepositoryX509RsaCertificate) SetActive(v bool) { + o.Active = &v +} + +// GetCertificate returns the Certificate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryX509RsaCertificate) GetCertificate() string { + if o == nil || IsNil(o.Certificate.Get()) { + var ret string + return ret + } + return *o.Certificate.Get() +} + +// GetCertificateOk returns a tuple with the Certificate 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 *RepositoryX509RsaCertificate) GetCertificateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Certificate.Get(), o.Certificate.IsSet() +} + +// HasCertificate returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasCertificate() bool { + if o != nil && o.Certificate.IsSet() { + return true + } + + return false +} + +// SetCertificate gets a reference to the given NullableString and assigns it to the Certificate field. +func (o *RepositoryX509RsaCertificate) SetCertificate(v string) { + o.Certificate.Set(&v) +} + +// SetCertificateNil sets the value for Certificate to be an explicit nil +func (o *RepositoryX509RsaCertificate) SetCertificateNil() { + o.Certificate.Set(nil) +} + +// UnsetCertificate ensures that no value is present for Certificate, not even an explicit nil +func (o *RepositoryX509RsaCertificate) UnsetCertificate() { + o.Certificate.Unset() +} + +// GetCertificateChain returns the CertificateChain field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryX509RsaCertificate) GetCertificateChain() string { + if o == nil || IsNil(o.CertificateChain.Get()) { + var ret string + return ret + } + return *o.CertificateChain.Get() +} + +// GetCertificateChainOk returns a tuple with the CertificateChain 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 *RepositoryX509RsaCertificate) GetCertificateChainOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CertificateChain.Get(), o.CertificateChain.IsSet() +} + +// HasCertificateChain returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasCertificateChain() bool { + if o != nil && o.CertificateChain.IsSet() { + return true + } + + return false +} + +// SetCertificateChain gets a reference to the given NullableString and assigns it to the CertificateChain field. +func (o *RepositoryX509RsaCertificate) SetCertificateChain(v string) { + o.CertificateChain.Set(&v) +} + +// SetCertificateChainNil sets the value for CertificateChain to be an explicit nil +func (o *RepositoryX509RsaCertificate) SetCertificateChainNil() { + o.CertificateChain.Set(nil) +} + +// UnsetCertificateChain ensures that no value is present for CertificateChain, not even an explicit nil +func (o *RepositoryX509RsaCertificate) UnsetCertificateChain() { + o.CertificateChain.Unset() +} + +// GetCertificateChainFingerprint returns the CertificateChainFingerprint field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprint() string { + if o == nil || IsNil(o.CertificateChainFingerprint) { + var ret string + return ret + } + return *o.CertificateChainFingerprint +} + +// GetCertificateChainFingerprintOk returns a tuple with the CertificateChainFingerprint field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprintOk() (*string, bool) { + if o == nil || IsNil(o.CertificateChainFingerprint) { + return nil, false + } + return o.CertificateChainFingerprint, true +} + +// HasCertificateChainFingerprint returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasCertificateChainFingerprint() bool { + if o != nil && !IsNil(o.CertificateChainFingerprint) { + return true + } + + return false +} + +// SetCertificateChainFingerprint gets a reference to the given string and assigns it to the CertificateChainFingerprint field. +func (o *RepositoryX509RsaCertificate) SetCertificateChainFingerprint(v string) { + o.CertificateChainFingerprint = &v +} + +// GetCertificateChainFingerprintShort returns the CertificateChainFingerprintShort field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprintShort() string { + if o == nil || IsNil(o.CertificateChainFingerprintShort) { + var ret string + return ret + } + return *o.CertificateChainFingerprintShort +} + +// GetCertificateChainFingerprintShortOk returns a tuple with the CertificateChainFingerprintShort field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509RsaCertificate) GetCertificateChainFingerprintShortOk() (*string, bool) { + if o == nil || IsNil(o.CertificateChainFingerprintShort) { + return nil, false + } + return o.CertificateChainFingerprintShort, true +} + +// HasCertificateChainFingerprintShort returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasCertificateChainFingerprintShort() bool { + if o != nil && !IsNil(o.CertificateChainFingerprintShort) { + return true + } + + return false +} + +// SetCertificateChainFingerprintShort gets a reference to the given string and assigns it to the CertificateChainFingerprintShort field. +func (o *RepositoryX509RsaCertificate) SetCertificateChainFingerprintShort(v string) { + o.CertificateChainFingerprintShort = &v +} + +// GetCertificateFingerprint returns the CertificateFingerprint field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *RepositoryX509RsaCertificate) GetCertificateFingerprint() string { + if o == nil || IsNil(o.CertificateFingerprint.Get()) { + var ret string + return ret + } + return *o.CertificateFingerprint.Get() +} + +// GetCertificateFingerprintOk returns a tuple with the CertificateFingerprint 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 *RepositoryX509RsaCertificate) GetCertificateFingerprintOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.CertificateFingerprint.Get(), o.CertificateFingerprint.IsSet() +} + +// HasCertificateFingerprint returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasCertificateFingerprint() bool { + if o != nil && o.CertificateFingerprint.IsSet() { + return true + } + + return false +} + +// SetCertificateFingerprint gets a reference to the given NullableString and assigns it to the CertificateFingerprint field. +func (o *RepositoryX509RsaCertificate) SetCertificateFingerprint(v string) { + o.CertificateFingerprint.Set(&v) +} + +// SetCertificateFingerprintNil sets the value for CertificateFingerprint to be an explicit nil +func (o *RepositoryX509RsaCertificate) SetCertificateFingerprintNil() { + o.CertificateFingerprint.Set(nil) +} + +// UnsetCertificateFingerprint ensures that no value is present for CertificateFingerprint, not even an explicit nil +func (o *RepositoryX509RsaCertificate) UnsetCertificateFingerprint() { + o.CertificateFingerprint.Unset() +} + +// GetCertificateFingerprintShort returns the CertificateFingerprintShort field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) GetCertificateFingerprintShort() string { + if o == nil || IsNil(o.CertificateFingerprintShort) { + var ret string + return ret + } + return *o.CertificateFingerprintShort +} + +// GetCertificateFingerprintShortOk returns a tuple with the CertificateFingerprintShort field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509RsaCertificate) GetCertificateFingerprintShortOk() (*string, bool) { + if o == nil || IsNil(o.CertificateFingerprintShort) { + return nil, false + } + return o.CertificateFingerprintShort, true +} + +// HasCertificateFingerprintShort returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasCertificateFingerprintShort() bool { + if o != nil && !IsNil(o.CertificateFingerprintShort) { + return true + } + + return false +} + +// SetCertificateFingerprintShort gets a reference to the given string and assigns it to the CertificateFingerprintShort field. +func (o *RepositoryX509RsaCertificate) SetCertificateFingerprintShort(v string) { + o.CertificateFingerprintShort = &v +} + +// GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) 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 *RepositoryX509RsaCertificate) 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 *RepositoryX509RsaCertificate) 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 *RepositoryX509RsaCertificate) SetCreatedAt(v time.Time) { + o.CreatedAt = &v +} + +// GetDefault returns the Default field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) GetDefault() bool { + if o == nil || IsNil(o.Default) { + var ret bool + return ret + } + return *o.Default +} + +// GetDefaultOk returns a tuple with the Default field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509RsaCertificate) GetDefaultOk() (*bool, bool) { + if o == nil || IsNil(o.Default) { + return nil, false + } + return o.Default, true +} + +// HasDefault returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasDefault() bool { + if o != nil && !IsNil(o.Default) { + return true + } + + return false +} + +// SetDefault gets a reference to the given bool and assigns it to the Default field. +func (o *RepositoryX509RsaCertificate) SetDefault(v bool) { + o.Default = &v +} + +// GetIssuingStatus returns the IssuingStatus field value if set, zero value otherwise. +func (o *RepositoryX509RsaCertificate) GetIssuingStatus() string { + if o == nil || IsNil(o.IssuingStatus) { + var ret string + return ret + } + return *o.IssuingStatus +} + +// GetIssuingStatusOk returns a tuple with the IssuingStatus field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *RepositoryX509RsaCertificate) GetIssuingStatusOk() (*string, bool) { + if o == nil || IsNil(o.IssuingStatus) { + return nil, false + } + return o.IssuingStatus, true +} + +// HasIssuingStatus returns a boolean if a field has been set. +func (o *RepositoryX509RsaCertificate) HasIssuingStatus() bool { + if o != nil && !IsNil(o.IssuingStatus) { + return true + } + + return false +} + +// SetIssuingStatus gets a reference to the given string and assigns it to the IssuingStatus field. +func (o *RepositoryX509RsaCertificate) SetIssuingStatus(v string) { + o.IssuingStatus = &v +} + +func (o RepositoryX509RsaCertificate) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o RepositoryX509RsaCertificate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Active) { + toSerialize["active"] = o.Active + } + if o.Certificate.IsSet() { + toSerialize["certificate"] = o.Certificate.Get() + } + if o.CertificateChain.IsSet() { + toSerialize["certificate_chain"] = o.CertificateChain.Get() + } + if !IsNil(o.CertificateChainFingerprint) { + toSerialize["certificate_chain_fingerprint"] = o.CertificateChainFingerprint + } + if !IsNil(o.CertificateChainFingerprintShort) { + toSerialize["certificate_chain_fingerprint_short"] = o.CertificateChainFingerprintShort + } + if o.CertificateFingerprint.IsSet() { + toSerialize["certificate_fingerprint"] = o.CertificateFingerprint.Get() + } + if !IsNil(o.CertificateFingerprintShort) { + toSerialize["certificate_fingerprint_short"] = o.CertificateFingerprintShort + } + if !IsNil(o.CreatedAt) { + toSerialize["created_at"] = o.CreatedAt + } + if !IsNil(o.Default) { + toSerialize["default"] = o.Default + } + if !IsNil(o.IssuingStatus) { + toSerialize["issuing_status"] = o.IssuingStatus + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *RepositoryX509RsaCertificate) UnmarshalJSON(data []byte) (err error) { + varRepositoryX509RsaCertificate := _RepositoryX509RsaCertificate{} + + err = json.Unmarshal(data, &varRepositoryX509RsaCertificate) + + if err != nil { + return err + } + + *o = RepositoryX509RsaCertificate(varRepositoryX509RsaCertificate) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "active") + delete(additionalProperties, "certificate") + delete(additionalProperties, "certificate_chain") + delete(additionalProperties, "certificate_chain_fingerprint") + delete(additionalProperties, "certificate_chain_fingerprint_short") + delete(additionalProperties, "certificate_fingerprint") + delete(additionalProperties, "certificate_fingerprint_short") + delete(additionalProperties, "created_at") + delete(additionalProperties, "default") + delete(additionalProperties, "issuing_status") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableRepositoryX509RsaCertificate struct { + value *RepositoryX509RsaCertificate + isSet bool +} + +func (v NullableRepositoryX509RsaCertificate) Get() *RepositoryX509RsaCertificate { + return v.value +} + +func (v *NullableRepositoryX509RsaCertificate) Set(val *RepositoryX509RsaCertificate) { + v.value = val + v.isSet = true +} + +func (v NullableRepositoryX509RsaCertificate) IsSet() bool { + return v.isSet +} + +func (v *NullableRepositoryX509RsaCertificate) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableRepositoryX509RsaCertificate(val *RepositoryX509RsaCertificate) *NullableRepositoryX509RsaCertificate { + return &NullableRepositoryX509RsaCertificate{value: val, isSet: true} +} + +func (v NullableRepositoryX509RsaCertificate) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableRepositoryX509RsaCertificate) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/model_resources_rate_check.go b/model_resources_rate_check.go index 8e678773..11c80528 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload.go b/model_rpm_package_upload.go index bc637aaf..ff2ef053 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_package_upload_request.go b/model_rpm_package_upload_request.go index 6361d174..dae68ad2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream.go b/model_rpm_upstream.go index 6076558c..b7e60127 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request.go b/model_rpm_upstream_request.go index 3df452fa..1f7e8846 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_rpm_upstream_request_patch.go b/model_rpm_upstream_request_patch.go index b2c68cdc..4a86bda2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload.go b/model_ruby_package_upload.go index 8b07aa8d..b4026b03 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_package_upload_request.go b/model_ruby_package_upload_request.go index 30f1bbcf..c7eaaf90 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream.go b/model_ruby_upstream.go index 86a3e7f0..6bea02bd 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request.go b/model_ruby_upstream_request.go index f6aaf893..f8253a80 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_ruby_upstream_request_patch.go b/model_ruby_upstream_request_patch.go index 883e0986..591bb704 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_service.go b/model_service.go index b52dd51e..eb26a0a7 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_service_request.go b/model_service_request.go index 42d04f8c..48897f01 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_service_request_patch.go b/model_service_request_patch.go index 16b34317..19119371 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_service_teams.go b/model_service_teams.go index 5be3eff4..f3d1cf50 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_status_basic.go b/model_status_basic.go index 8da91e8d..66c0389b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit.go b/model_storage_allocated_limit.go index 1fd113f9..18172120 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_allocated_limit_raw.go b/model_storage_allocated_limit_raw.go index 5ca84cfc..d1ff94a6 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_region.go b/model_storage_region.go index 6d431cec..ac7a3917 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage.go b/model_storage_usage.go index a3f10598..a7eb535d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_storage_usage_raw.go b/model_storage_usage_raw.go index 30257b98..718706b6 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload.go b/model_swift_package_upload.go index 65469b86..902ee705 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_package_upload_request.go b/model_swift_package_upload_request.go index a0dc00fb..640c65c9 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream.go b/model_swift_upstream.go index 496724e4..f2bce1a4 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request.go b/model_swift_upstream_request.go index 394d80e4..0dfab6d2 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_swift_upstream_request_patch.go b/model_swift_upstream_request_patch.go index b2cf8912..9209705d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload.go b/model_terraform_package_upload.go index 2b3535e0..1f24af54 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_terraform_package_upload_request.go b/model_terraform_package_upload_request.go index 034b18f1..637e10eb 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_usage.go b/model_usage.go index 8cef1015..23a10493 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_fieldset.go b/model_usage_fieldset.go index e7256f1e..5e4a6d11 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits.go b/model_usage_limits.go index fd323c6c..5c3b1983 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_limits_raw.go b/model_usage_limits_raw.go index d6165138..c9b7b125 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_usage_raw.go b/model_usage_raw.go index f7f6dde2..9ee79b79 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token.go b/model_user_auth_token.go index e661d43f..09b297ac 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_user_auth_token_request.go b/model_user_auth_token_request.go index d1d9e192..2dc18168 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_user_brief.go b/model_user_brief.go index 14776f6c..bac20c9c 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_user_profile.go b/model_user_profile.go index 805e6fc1..5f6b58fb 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload.go b/model_vagrant_package_upload.go index f68efca7..6ad85248 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vagrant_package_upload_request.go b/model_vagrant_package_upload_request.go index 046b05b8..9f4cf76b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability.go b/model_vulnerability.go index 34ee5850..0af7bc7d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan.go b/model_vulnerability_scan.go index 0016b24c..dad3000e 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results.go b/model_vulnerability_scan_results.go index f4ab2043..6a3cc18b 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_results_list.go b/model_vulnerability_scan_results_list.go index 913e1366..e3152662 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_vulnerability_scan_version.go b/model_vulnerability_scan_version.go index f4e91551..4852f7a8 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/model_webhook_template.go b/model_webhook_template.go index 1ac276a1..e385ab7d 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.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/response.go b/response.go index 5bba6e70..85d15830 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */ diff --git a/utils.go b/utils.go index 22da67b9..99437a65 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ Cloudsmith API (v1) The API to the Cloudsmith Service -API version: 1.617.2 +API version: 1.654.0 Contact: support@cloudsmith.io */