From e544249a6d086df718a91b532d4d16b8e1781ed4 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Fri, 2 Oct 2026 15:12:13 +0000 Subject: [PATCH] Generate postgresflex --- services/postgresflex/go.mod | 2 +- services/postgresflex/go.sum | 4 +- services/postgresflex/oas_commit | 2 +- services/postgresflex/v1api/api_default.go | 479 +++++++++++++++++- .../postgresflex/v1api/api_default_mock.go | 23 +- services/postgresflex/v1api/client.go | 6 +- services/postgresflex/v1api/configuration.go | 11 +- services/postgresflex/v1api/model_acl.go | 4 +- .../v1api/model_api_configuration.go | 4 +- ...odel_api_extension_config_load_response.go | 155 ------ .../model_api_extension_configure_response.go | 155 ------ .../model_api_extension_delete_response.go | 154 ------ .../v1api/model_api_extension_list.go | 228 --------- .../model_api_extension_load_response.go | 154 ------ .../v1api/model_api_install_response.go | 154 ------ .../model_api_installed_list_response.go | 154 ------ services/postgresflex/v1api/model_backup.go | 16 +- .../v1api/model_clone_instance_payload.go | 16 +- .../v1api/model_clone_instance_response.go | 4 +- .../v1api/model_create_database_payload.go | 4 +- .../v1api/model_create_instance_payload.go | 50 +- .../v1api/model_create_instance_response.go | 4 +- .../v1api/model_create_user_payload.go | 4 +- .../v1api/model_create_user_response.go | 4 +- services/postgresflex/v1api/model_error.go | 4 +- .../v1api/model_extensions_configuration.go | 191 ------- ...odel_extensions_extension_list_response.go | 154 ------ .../v1api/model_extensions_new_config.go | 154 ------ services/postgresflex/v1api/model_flavor.go | 4 +- .../v1api/model_get_backup_response.go | 4 +- .../v1api/model_get_user_response.go | 4 +- services/postgresflex/v1api/model_instance.go | 4 +- ...model_instance_create_database_response.go | 4 +- .../v1api/model_instance_data_point.go | 4 +- .../v1api/model_instance_database.go | 4 +- .../postgresflex/v1api/model_instance_host.go | 4 +- .../v1api/model_instance_host_metric.go | 4 +- .../model_instance_list_databases_response.go | 4 +- .../v1api/model_instance_list_instance.go | 4 +- .../v1api/model_instance_metrics_response.go | 4 +- .../v1api/model_instance_response.go | 4 +- .../v1api/model_list_backups_response.go | 16 +- .../v1api/model_list_flavors_response.go | 4 +- .../v1api/model_list_instances_response.go | 16 +- .../v1api/model_list_storages_response.go | 4 +- .../v1api/model_list_users_response.go | 16 +- .../v1api/model_list_users_response_item.go | 4 +- .../v1api/model_list_versions_response.go | 4 +- .../model_partial_update_instance_payload.go | 4 +- .../model_partial_update_instance_response.go | 4 +- .../model_partial_update_user_payload.go | 4 +- .../model_postgres_database_parameter.go | 4 +- ...el_postgres_database_parameter_response.go | 4 +- .../v1api/model_reset_user_response.go | 4 +- services/postgresflex/v1api/model_storage.go | 4 +- .../postgresflex/v1api/model_storage_range.go | 28 +- .../v1api/model_storage_update.go | 8 +- .../model_update_backup_schedule_payload.go | 4 +- .../v1api/model_update_instance_payload.go | 4 +- .../v1api/model_update_user_payload.go | 4 +- services/postgresflex/v1api/model_user.go | 16 +- .../postgresflex/v1api/model_user_response.go | 16 +- services/postgresflex/v1api/response.go | 4 +- services/postgresflex/v1api/utils.go | 4 +- services/postgresflex/v2api/api_default.go | 6 +- .../postgresflex/v2api/api_default_mock.go | 2 +- services/postgresflex/v2api/client.go | 2 +- services/postgresflex/v2api/configuration.go | 2 +- services/postgresflex/v2api/model_acl.go | 2 +- .../v2api/model_api_configuration.go | 2 +- ...odel_api_extension_config_load_response.go | 2 +- .../model_api_extension_configure_response.go | 2 +- .../model_api_extension_delete_response.go | 2 +- .../v2api/model_api_extension_list.go | 2 +- .../model_api_extension_load_response.go | 2 +- .../v2api/model_api_install_response.go | 2 +- .../model_api_installed_list_response.go | 2 +- services/postgresflex/v2api/model_backup.go | 2 +- .../v2api/model_clone_instance_payload.go | 2 +- .../v2api/model_clone_instance_response.go | 2 +- .../v2api/model_create_database_payload.go | 2 +- .../v2api/model_create_instance_payload.go | 2 +- .../v2api/model_create_instance_response.go | 2 +- .../v2api/model_create_user_payload.go | 2 +- .../v2api/model_create_user_response.go | 2 +- services/postgresflex/v2api/model_error.go | 2 +- .../v2api/model_extensions_configuration.go | 2 +- ...odel_extensions_extension_list_response.go | 2 +- .../v2api/model_extensions_new_config.go | 2 +- services/postgresflex/v2api/model_flavor.go | 2 +- .../v2api/model_get_backup_response.go | 2 +- .../v2api/model_get_user_response.go | 2 +- services/postgresflex/v2api/model_instance.go | 2 +- ...model_instance_create_database_response.go | 2 +- .../v2api/model_instance_data_point.go | 2 +- .../v2api/model_instance_database.go | 2 +- .../postgresflex/v2api/model_instance_host.go | 2 +- .../v2api/model_instance_host_metric.go | 2 +- .../model_instance_list_databases_response.go | 2 +- .../v2api/model_instance_list_instance.go | 2 +- .../v2api/model_instance_metrics_response.go | 2 +- .../v2api/model_instance_response.go | 2 +- .../v2api/model_list_backups_response.go | 2 +- .../v2api/model_list_flavors_response.go | 2 +- .../v2api/model_list_instances_response.go | 2 +- .../v2api/model_list_storages_response.go | 2 +- .../v2api/model_list_users_response.go | 2 +- .../v2api/model_list_users_response_item.go | 2 +- .../v2api/model_list_versions_response.go | 2 +- .../model_partial_update_instance_payload.go | 2 +- .../model_partial_update_instance_response.go | 2 +- .../model_partial_update_user_payload.go | 2 +- .../model_postgres_database_parameter.go | 2 +- ...el_postgres_database_parameter_response.go | 2 +- .../v2api/model_reset_user_response.go | 2 +- services/postgresflex/v2api/model_storage.go | 2 +- .../postgresflex/v2api/model_storage_range.go | 2 +- .../v2api/model_storage_update.go | 6 +- .../model_update_backup_schedule_payload.go | 2 +- .../v2api/model_update_instance_payload.go | 2 +- .../v2api/model_update_user_payload.go | 2 +- services/postgresflex/v2api/model_user.go | 2 +- .../postgresflex/v2api/model_user_response.go | 2 +- services/postgresflex/v2api/response.go | 2 +- services/postgresflex/v2api/utils.go | 2 +- 125 files changed, 743 insertions(+), 1913 deletions(-) delete mode 100644 services/postgresflex/v1api/model_api_extension_config_load_response.go delete mode 100644 services/postgresflex/v1api/model_api_extension_configure_response.go delete mode 100644 services/postgresflex/v1api/model_api_extension_delete_response.go delete mode 100644 services/postgresflex/v1api/model_api_extension_list.go delete mode 100644 services/postgresflex/v1api/model_api_extension_load_response.go delete mode 100644 services/postgresflex/v1api/model_api_install_response.go delete mode 100644 services/postgresflex/v1api/model_api_installed_list_response.go delete mode 100644 services/postgresflex/v1api/model_extensions_configuration.go delete mode 100644 services/postgresflex/v1api/model_extensions_extension_list_response.go delete mode 100644 services/postgresflex/v1api/model_extensions_new_config.go diff --git a/services/postgresflex/go.mod b/services/postgresflex/go.mod index 46130c96a5..ba13748957 100644 --- a/services/postgresflex/go.mod +++ b/services/postgresflex/go.mod @@ -4,7 +4,7 @@ go 1.25 require ( github.com/google/go-cmp v0.7.0 - github.com/stackitcloud/stackit-sdk-go/core v0.27.0 + github.com/stackitcloud/stackit-sdk-go/core v0.27.1 ) require ( diff --git a/services/postgresflex/go.sum b/services/postgresflex/go.sum index 042f4a71a5..5bae1d1250 100644 --- a/services/postgresflex/go.sum +++ b/services/postgresflex/go.sum @@ -4,5 +4,5 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/stackitcloud/stackit-sdk-go/core v0.27.0 h1:7lc6qStcFDFf8zHP4ORPa9joybw+Sa2LtB6BVjKQ+ek= -github.com/stackitcloud/stackit-sdk-go/core v0.27.0/go.mod h1:WU1hhxnjXw2EV7CYa1nlEvNpMiRY6CvmIOaHuL3pOaA= +github.com/stackitcloud/stackit-sdk-go/core v0.27.1 h1:k7SrqqMoHjkvHbx6n6nV3Lt51itp8nNplht6vGHkPhw= +github.com/stackitcloud/stackit-sdk-go/core v0.27.1/go.mod h1:WU1hhxnjXw2EV7CYa1nlEvNpMiRY6CvmIOaHuL3pOaA= diff --git a/services/postgresflex/oas_commit b/services/postgresflex/oas_commit index 550a77c4e3..58cc8c279b 100644 --- a/services/postgresflex/oas_commit +++ b/services/postgresflex/oas_commit @@ -1 +1 @@ -46de1033aa6379af6341423c3ff0e4cfb54f8350 +297e51f3e00dd65ea87c68215459d6dc484a613f diff --git a/services/postgresflex/v1api/api_default.go b/services/postgresflex/v1api/api_default.go index 653f3f5e03..fc423f07e1 100644 --- a/services/postgresflex/v1api/api_default.go +++ b/services/postgresflex/v1api/api_default.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -135,6 +135,20 @@ type DefaultAPI interface { // DeleteUserExecute executes the request DeleteUserExecute(r ApiDeleteUserRequest) error + /* + DisableService Terminate the Project + + Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId Project ID + @return ApiDisableServiceRequest + */ + DisableService(ctx context.Context, projectId string) ApiDisableServiceRequest + + // DisableServiceExecute executes the request + DisableServiceExecute(r ApiDisableServiceRequest) error + /* ForceDeleteInstance Force delete instance @@ -345,7 +359,7 @@ type DefaultAPI interface { /* PartialUpdateInstance Update Instance - Update available instance of a postgres database. Supported Versions are 12, 13, 14, 15 -- only upgrades are allowed! + Update available instance of a postgres database. Supported Versions are 14, 15, 16, 17 -- only upgrades are allowed! @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @@ -409,7 +423,7 @@ type DefaultAPI interface { /* UpdateInstance Update Instance - Update available instance of a postgres database. Supported Versions are 12, 13, 14, 15 -- only upgrades are allowed! + Update available instance of a postgres database. Supported Versions are 14, 15, 16, 17 -- only upgrades are allowed! @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @@ -568,6 +582,17 @@ func (a *DefaultAPIService) CloneInstanceExecute(r ApiCloneInstanceRequest) (*Cl newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -711,6 +736,17 @@ func (a *DefaultAPIService) CreateDatabaseExecute(r ApiCreateDatabaseRequest) (* newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -849,6 +885,17 @@ func (a *DefaultAPIService) CreateInstanceExecute(r ApiCreateInstanceRequest) (* newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -991,6 +1038,17 @@ func (a *DefaultAPIService) CreateUserExecute(r ApiCreateUserRequest) (*CreateUs newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -1122,6 +1180,17 @@ func (a *DefaultAPIService) DeleteDatabaseExecute(r ApiDeleteDatabaseRequest) er newErr.Model = v return newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } return newErr } @@ -1239,6 +1308,17 @@ func (a *DefaultAPIService) DeleteInstanceExecute(r ApiDeleteInstanceRequest) er newErr.Model = v return newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } if localVarHTTPResponse.StatusCode == 404 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1381,6 +1461,151 @@ func (a *DefaultAPIService) DeleteUserExecute(r ApiDeleteUserRequest) error { newErr.Model = v return newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } + return newErr + } + + return nil +} + +type ApiDisableServiceRequest struct { + ctx context.Context + ApiService DefaultAPI + projectId string +} + +func (r ApiDisableServiceRequest) Execute() error { + return r.ApiService.DisableServiceExecute(r) +} + +/* +DisableService Terminate the Project + +Termination is the deletion of a whole project which causes the deletion of all instances for this project. Only System with permission system.databases-project.remove is able to call this resource + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param projectId Project ID + @return ApiDisableServiceRequest +*/ +func (a *DefaultAPIService) DisableService(ctx context.Context, projectId string) ApiDisableServiceRequest { + return ApiDisableServiceRequest{ + ApiService: a, + ctx: ctx, + projectId: projectId, + } +} + +// Execute executes the request +func (a *DefaultAPIService) DisableServiceExecute(r ApiDisableServiceRequest) error { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultAPIService.DisableService") + if err != nil { + return &oapierror.GenericOpenAPIError{ErrorMessage: err.Error()} + } + + localVarPath := localBasePath + "/v1/projects/{projectId}" + localVarPath = strings.Replace(localVarPath, "{"+"projectId"+"}", url.PathEscape(parameterValueToString(r.projectId, "projectId")), -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 + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return err + } + + contextHTTPRequest, ok := r.ctx.Value(config.ContextHTTPRequest).(**http.Request) + if ok { + *contextHTTPRequest = req + } + + localVarHTTPResponse, err := a.client.callAPI(req) + contextHTTPResponse, ok := r.ctx.Value(config.ContextHTTPResponse).(**http.Response) + if ok { + *contextHTTPResponse = localVarHTTPResponse + } + if err != nil || localVarHTTPResponse == nil { + return err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &oapierror.GenericOpenAPIError{ + Body: localVarBody, + ErrorMessage: localVarHTTPResponse.Status, + StatusCode: localVarHTTPResponse.StatusCode, + } + if localVarHTTPResponse.StatusCode == 400 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + } return newErr } @@ -1487,6 +1712,28 @@ func (a *DefaultAPIService) ForceDeleteInstanceExecute(r ApiForceDeleteInstanceR ErrorMessage: localVarHTTPResponse.Status, StatusCode: localVarHTTPResponse.StatusCode, } + if localVarHTTPResponse.StatusCode == 400 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } if localVarHTTPResponse.StatusCode == 406 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -1632,6 +1879,17 @@ func (a *DefaultAPIService) GetBackupExecute(r ApiGetBackupRequest) (*GetBackupR newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -1762,6 +2020,17 @@ func (a *DefaultAPIService) GetInstanceExecute(r ApiGetInstanceRequest) (*Instan newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -1896,6 +2165,17 @@ func (a *DefaultAPIService) GetUserExecute(r ApiGetUserRequest) (*GetUserRespons newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2026,6 +2306,17 @@ func (a *DefaultAPIService) ListBackupsExecute(r ApiListBackupsRequest) (*ListBa newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2156,6 +2447,17 @@ func (a *DefaultAPIService) ListDatabaseParametersExecute(r ApiListDatabaseParam newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2286,6 +2588,28 @@ func (a *DefaultAPIService) ListDatabasesExecute(r ApiListDatabasesRequest) (*In newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2412,6 +2736,17 @@ func (a *DefaultAPIService) ListFlavorsExecute(r ApiListFlavorsRequest) (*ListFl newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2538,6 +2873,17 @@ func (a *DefaultAPIService) ListInstancesExecute(r ApiListInstancesRequest) (*Li newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2713,6 +3059,17 @@ func (a *DefaultAPIService) ListMetricsExecute(r ApiListMetricsRequest) (*Instan newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } if localVarHTTPResponse.StatusCode == 405 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -2864,6 +3221,17 @@ func (a *DefaultAPIService) ListStoragesExecute(r ApiListStoragesRequest) (*List newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -2994,6 +3362,28 @@ func (a *DefaultAPIService) ListUsersExecute(r ApiListUsersRequest) (*ListUsersR newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } + if localVarHTTPResponse.StatusCode == 404 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -3130,6 +3520,17 @@ func (a *DefaultAPIService) ListVersionsExecute(r ApiListVersionsRequest) (*List newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -3167,7 +3568,7 @@ func (r ApiPartialUpdateInstanceRequest) Execute() (*PartialUpdateInstanceRespon /* PartialUpdateInstance Update Instance -Update available instance of a postgres database. Supported Versions are 12, 13, 14, 15 -- only upgrades are allowed! +Update available instance of a postgres database. Supported Versions are 14, 15, 16, 17 -- only upgrades are allowed! @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @@ -3272,6 +3673,17 @@ func (a *DefaultAPIService) PartialUpdateInstanceExecute(r ApiPartialUpdateInsta newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -3412,6 +3824,17 @@ func (a *DefaultAPIService) PartialUpdateUserExecute(r ApiPartialUpdateUserReque newErr.Model = v return newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } if localVarHTTPResponse.StatusCode == 500 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3546,6 +3969,17 @@ func (a *DefaultAPIService) ResetUserExecute(r ApiResetUserRequest) (*ResetUserR newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } if localVarHTTPResponse.StatusCode == 404 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) @@ -3706,6 +4140,17 @@ func (a *DefaultAPIService) UpdateBackupScheduleExecute(r ApiUpdateBackupSchedul newErr.Model = v return newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } return newErr } @@ -3733,7 +4178,7 @@ func (r ApiUpdateInstanceRequest) Execute() (*PartialUpdateInstanceResponse, err /* UpdateInstance Update Instance -Update available instance of a postgres database. Supported Versions are 12, 13, 14, 15 -- only upgrades are allowed! +Update available instance of a postgres database. Supported Versions are 14, 15, 16, 17 -- only upgrades are allowed! @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param projectId Project ID @@ -3838,6 +4283,17 @@ func (a *DefaultAPIService) UpdateInstanceExecute(r ApiUpdateInstanceRequest) (* newErr.Model = v return localVarReturnValue, newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return localVarReturnValue, newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return localVarReturnValue, newErr + } return localVarReturnValue, newErr } @@ -3978,6 +4434,17 @@ func (a *DefaultAPIService) UpdateUserExecute(r ApiUpdateUserRequest) error { newErr.Model = v return newErr } + if localVarHTTPResponse.StatusCode == 401 { + var v Error + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.ErrorMessage = err.Error() + return newErr + } + newErr.ErrorMessage = oapierror.FormatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.Model = v + return newErr + } if localVarHTTPResponse.StatusCode == 500 { var v Error err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) diff --git a/services/postgresflex/v1api/api_default_mock.go b/services/postgresflex/v1api/api_default_mock.go index e33909c66c..d2e0f49dce 100644 --- a/services/postgresflex/v1api/api_default_mock.go +++ b/services/postgresflex/v1api/api_default_mock.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -35,6 +35,8 @@ type DefaultAPIServiceMock struct { DeleteInstanceExecuteMock *func(r ApiDeleteInstanceRequest) error // DeleteUserExecuteMock can be populated to implement the behavior of the DeleteUserExecute function of this mock DeleteUserExecuteMock *func(r ApiDeleteUserRequest) error + // DisableServiceExecuteMock can be populated to implement the behavior of the DisableServiceExecute function of this mock + DisableServiceExecuteMock *func(r ApiDisableServiceRequest) error // ForceDeleteInstanceExecuteMock can be populated to implement the behavior of the ForceDeleteInstanceExecute function of this mock ForceDeleteInstanceExecuteMock *func(r ApiForceDeleteInstanceRequest) error // GetBackupExecuteMock can be populated to implement the behavior of the GetBackupExecute function of this mock @@ -206,6 +208,23 @@ func (a DefaultAPIServiceMock) DeleteUserExecute(r ApiDeleteUserRequest) error { return (*a.DeleteUserExecuteMock)(r) } +func (a DefaultAPIServiceMock) DisableService(ctx context.Context, projectId string) ApiDisableServiceRequest { + return ApiDisableServiceRequest{ + ApiService: a, + ctx: ctx, + projectId: projectId, + } +} + +// DisableServiceExecute is a no-op by default and will return only return nil values. Behavior can be controlled by populating the DisableServiceExecuteMock field in the DefaultAPIServiceMock struct. +func (a DefaultAPIServiceMock) DisableServiceExecute(r ApiDisableServiceRequest) error { + if a.DisableServiceExecuteMock == nil { + return nil + } + + return (*a.DisableServiceExecuteMock)(r) +} + func (a DefaultAPIServiceMock) ForceDeleteInstance(ctx context.Context, projectId string, instanceId string) ApiForceDeleteInstanceRequest { return ApiForceDeleteInstanceRequest{ ApiService: a, diff --git a/services/postgresflex/v1api/client.go b/services/postgresflex/v1api/client.go index f1e05d5ac2..239b8b9a2b 100644 --- a/services/postgresflex/v1api/client.go +++ b/services/postgresflex/v1api/client.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -43,7 +43,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the STACKIT PostgreSQL Flex API (deprecated) API v1.0.0 +// APIClient manages communication with the STACKIT PostgreSQL Flex API API v1.0.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *config.Configuration diff --git a/services/postgresflex/v1api/configuration.go b/services/postgresflex/v1api/configuration.go index 4befa1c48a..ab8ea92b84 100644 --- a/services/postgresflex/v1api/configuration.go +++ b/services/postgresflex/v1api/configuration.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -22,15 +22,12 @@ func NewConfiguration() *config.Configuration { Debug: false, Servers: config.ServerConfigurations{ { - URL: "https://postgres-flex-service.api.{region}stackit.cloud", + URL: "https://postgres-flex-service.api.stackit.cloud", Description: "No description provided", Variables: map[string]config.ServerVariable{ "region": { Description: "No description provided", - DefaultValue: "eu01.", - EnumValues: []string{ - "eu01.", - }, + DefaultValue: "global", }, }, }, diff --git a/services/postgresflex/v1api/model_acl.go b/services/postgresflex/v1api/model_acl.go index b7de719b8f..0e6c247941 100644 --- a/services/postgresflex/v1api/model_acl.go +++ b/services/postgresflex/v1api/model_acl.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_api_configuration.go b/services/postgresflex/v1api/model_api_configuration.go index 4d8d4d1bff..aac7630466 100644 --- a/services/postgresflex/v1api/model_api_configuration.go +++ b/services/postgresflex/v1api/model_api_configuration.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_api_extension_config_load_response.go b/services/postgresflex/v1api/model_api_extension_config_load_response.go deleted file mode 100644 index ccd0685517..0000000000 --- a/services/postgresflex/v1api/model_api_extension_config_load_response.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiExtensionConfigLoadResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiExtensionConfigLoadResponse{} - -// ApiExtensionConfigLoadResponse struct for ApiExtensionConfigLoadResponse -type ApiExtensionConfigLoadResponse struct { - // Returns marshalled JSON of the new configuration of whatever extension is called - Configuration []ApiConfiguration `json:"configuration,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiExtensionConfigLoadResponse ApiExtensionConfigLoadResponse - -// NewApiExtensionConfigLoadResponse instantiates a new ApiExtensionConfigLoadResponse 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 NewApiExtensionConfigLoadResponse() *ApiExtensionConfigLoadResponse { - this := ApiExtensionConfigLoadResponse{} - return &this -} - -// NewApiExtensionConfigLoadResponseWithDefaults instantiates a new ApiExtensionConfigLoadResponse 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 NewApiExtensionConfigLoadResponseWithDefaults() *ApiExtensionConfigLoadResponse { - this := ApiExtensionConfigLoadResponse{} - return &this -} - -// GetConfiguration returns the Configuration field value if set, zero value otherwise. -func (o *ApiExtensionConfigLoadResponse) GetConfiguration() []ApiConfiguration { - if o == nil || IsNil(o.Configuration) { - var ret []ApiConfiguration - return ret - } - return o.Configuration -} - -// GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionConfigLoadResponse) GetConfigurationOk() ([]ApiConfiguration, bool) { - if o == nil || IsNil(o.Configuration) { - return nil, false - } - return o.Configuration, true -} - -// HasConfiguration returns a boolean if a field has been set. -func (o *ApiExtensionConfigLoadResponse) HasConfiguration() bool { - if o != nil && !IsNil(o.Configuration) { - return true - } - - return false -} - -// SetConfiguration gets a reference to the given []ApiConfiguration and assigns it to the Configuration field. -func (o *ApiExtensionConfigLoadResponse) SetConfiguration(v []ApiConfiguration) { - o.Configuration = v -} - -func (o ApiExtensionConfigLoadResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiExtensionConfigLoadResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Configuration) { - toSerialize["configuration"] = o.Configuration - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiExtensionConfigLoadResponse) UnmarshalJSON(data []byte) (err error) { - varApiExtensionConfigLoadResponse := _ApiExtensionConfigLoadResponse{} - - err = json.Unmarshal(data, &varApiExtensionConfigLoadResponse) - - if err != nil { - return err - } - - *o = ApiExtensionConfigLoadResponse(varApiExtensionConfigLoadResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "configuration") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiExtensionConfigLoadResponse struct { - value *ApiExtensionConfigLoadResponse - isSet bool -} - -func (v NullableApiExtensionConfigLoadResponse) Get() *ApiExtensionConfigLoadResponse { - return v.value -} - -func (v *NullableApiExtensionConfigLoadResponse) Set(val *ApiExtensionConfigLoadResponse) { - v.value = val - v.isSet = true -} - -func (v NullableApiExtensionConfigLoadResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableApiExtensionConfigLoadResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiExtensionConfigLoadResponse(val *ApiExtensionConfigLoadResponse) *NullableApiExtensionConfigLoadResponse { - return &NullableApiExtensionConfigLoadResponse{value: val, isSet: true} -} - -func (v NullableApiExtensionConfigLoadResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiExtensionConfigLoadResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_api_extension_configure_response.go b/services/postgresflex/v1api/model_api_extension_configure_response.go deleted file mode 100644 index 4795aaa2f4..0000000000 --- a/services/postgresflex/v1api/model_api_extension_configure_response.go +++ /dev/null @@ -1,155 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiExtensionConfigureResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiExtensionConfigureResponse{} - -// ApiExtensionConfigureResponse struct for ApiExtensionConfigureResponse -type ApiExtensionConfigureResponse struct { - // Returns marshalled JSON of the new configuration of whatever extension is called - Configuration []ApiConfiguration `json:"configuration,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiExtensionConfigureResponse ApiExtensionConfigureResponse - -// NewApiExtensionConfigureResponse instantiates a new ApiExtensionConfigureResponse 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 NewApiExtensionConfigureResponse() *ApiExtensionConfigureResponse { - this := ApiExtensionConfigureResponse{} - return &this -} - -// NewApiExtensionConfigureResponseWithDefaults instantiates a new ApiExtensionConfigureResponse 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 NewApiExtensionConfigureResponseWithDefaults() *ApiExtensionConfigureResponse { - this := ApiExtensionConfigureResponse{} - return &this -} - -// GetConfiguration returns the Configuration field value if set, zero value otherwise. -func (o *ApiExtensionConfigureResponse) GetConfiguration() []ApiConfiguration { - if o == nil || IsNil(o.Configuration) { - var ret []ApiConfiguration - return ret - } - return o.Configuration -} - -// GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionConfigureResponse) GetConfigurationOk() ([]ApiConfiguration, bool) { - if o == nil || IsNil(o.Configuration) { - return nil, false - } - return o.Configuration, true -} - -// HasConfiguration returns a boolean if a field has been set. -func (o *ApiExtensionConfigureResponse) HasConfiguration() bool { - if o != nil && !IsNil(o.Configuration) { - return true - } - - return false -} - -// SetConfiguration gets a reference to the given []ApiConfiguration and assigns it to the Configuration field. -func (o *ApiExtensionConfigureResponse) SetConfiguration(v []ApiConfiguration) { - o.Configuration = v -} - -func (o ApiExtensionConfigureResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiExtensionConfigureResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Configuration) { - toSerialize["configuration"] = o.Configuration - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiExtensionConfigureResponse) UnmarshalJSON(data []byte) (err error) { - varApiExtensionConfigureResponse := _ApiExtensionConfigureResponse{} - - err = json.Unmarshal(data, &varApiExtensionConfigureResponse) - - if err != nil { - return err - } - - *o = ApiExtensionConfigureResponse(varApiExtensionConfigureResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "configuration") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiExtensionConfigureResponse struct { - value *ApiExtensionConfigureResponse - isSet bool -} - -func (v NullableApiExtensionConfigureResponse) Get() *ApiExtensionConfigureResponse { - return v.value -} - -func (v *NullableApiExtensionConfigureResponse) Set(val *ApiExtensionConfigureResponse) { - v.value = val - v.isSet = true -} - -func (v NullableApiExtensionConfigureResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableApiExtensionConfigureResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiExtensionConfigureResponse(val *ApiExtensionConfigureResponse) *NullableApiExtensionConfigureResponse { - return &NullableApiExtensionConfigureResponse{value: val, isSet: true} -} - -func (v NullableApiExtensionConfigureResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiExtensionConfigureResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_api_extension_delete_response.go b/services/postgresflex/v1api/model_api_extension_delete_response.go deleted file mode 100644 index d72f77cb77..0000000000 --- a/services/postgresflex/v1api/model_api_extension_delete_response.go +++ /dev/null @@ -1,154 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiExtensionDeleteResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiExtensionDeleteResponse{} - -// ApiExtensionDeleteResponse struct for ApiExtensionDeleteResponse -type ApiExtensionDeleteResponse struct { - IsSucceded *bool `json:"isSucceded,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiExtensionDeleteResponse ApiExtensionDeleteResponse - -// NewApiExtensionDeleteResponse instantiates a new ApiExtensionDeleteResponse 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 NewApiExtensionDeleteResponse() *ApiExtensionDeleteResponse { - this := ApiExtensionDeleteResponse{} - return &this -} - -// NewApiExtensionDeleteResponseWithDefaults instantiates a new ApiExtensionDeleteResponse 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 NewApiExtensionDeleteResponseWithDefaults() *ApiExtensionDeleteResponse { - this := ApiExtensionDeleteResponse{} - return &this -} - -// GetIsSucceded returns the IsSucceded field value if set, zero value otherwise. -func (o *ApiExtensionDeleteResponse) GetIsSucceded() bool { - if o == nil || IsNil(o.IsSucceded) { - var ret bool - return ret - } - return *o.IsSucceded -} - -// GetIsSuccededOk returns a tuple with the IsSucceded field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionDeleteResponse) GetIsSuccededOk() (*bool, bool) { - if o == nil || IsNil(o.IsSucceded) { - return nil, false - } - return o.IsSucceded, true -} - -// HasIsSucceded returns a boolean if a field has been set. -func (o *ApiExtensionDeleteResponse) HasIsSucceded() bool { - if o != nil && !IsNil(o.IsSucceded) { - return true - } - - return false -} - -// SetIsSucceded gets a reference to the given bool and assigns it to the IsSucceded field. -func (o *ApiExtensionDeleteResponse) SetIsSucceded(v bool) { - o.IsSucceded = &v -} - -func (o ApiExtensionDeleteResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiExtensionDeleteResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.IsSucceded) { - toSerialize["isSucceded"] = o.IsSucceded - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiExtensionDeleteResponse) UnmarshalJSON(data []byte) (err error) { - varApiExtensionDeleteResponse := _ApiExtensionDeleteResponse{} - - err = json.Unmarshal(data, &varApiExtensionDeleteResponse) - - if err != nil { - return err - } - - *o = ApiExtensionDeleteResponse(varApiExtensionDeleteResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "isSucceded") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiExtensionDeleteResponse struct { - value *ApiExtensionDeleteResponse - isSet bool -} - -func (v NullableApiExtensionDeleteResponse) Get() *ApiExtensionDeleteResponse { - return v.value -} - -func (v *NullableApiExtensionDeleteResponse) Set(val *ApiExtensionDeleteResponse) { - v.value = val - v.isSet = true -} - -func (v NullableApiExtensionDeleteResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableApiExtensionDeleteResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiExtensionDeleteResponse(val *ApiExtensionDeleteResponse) *NullableApiExtensionDeleteResponse { - return &NullableApiExtensionDeleteResponse{value: val, isSet: true} -} - -func (v NullableApiExtensionDeleteResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiExtensionDeleteResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_api_extension_list.go b/services/postgresflex/v1api/model_api_extension_list.go deleted file mode 100644 index 95f0222018..0000000000 --- a/services/postgresflex/v1api/model_api_extension_list.go +++ /dev/null @@ -1,228 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiExtensionList type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiExtensionList{} - -// ApiExtensionList struct for ApiExtensionList -type ApiExtensionList struct { - ID *int32 `json:"ID,omitempty"` - Description *string `json:"description,omitempty"` - Name *string `json:"name,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiExtensionList ApiExtensionList - -// NewApiExtensionList instantiates a new ApiExtensionList 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 NewApiExtensionList() *ApiExtensionList { - this := ApiExtensionList{} - return &this -} - -// NewApiExtensionListWithDefaults instantiates a new ApiExtensionList 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 NewApiExtensionListWithDefaults() *ApiExtensionList { - this := ApiExtensionList{} - return &this -} - -// GetID returns the ID field value if set, zero value otherwise. -func (o *ApiExtensionList) GetID() int32 { - if o == nil || IsNil(o.ID) { - var ret int32 - return ret - } - return *o.ID -} - -// GetIDOk returns a tuple with the ID field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionList) GetIDOk() (*int32, bool) { - if o == nil || IsNil(o.ID) { - return nil, false - } - return o.ID, true -} - -// HasID returns a boolean if a field has been set. -func (o *ApiExtensionList) HasID() bool { - if o != nil && !IsNil(o.ID) { - return true - } - - return false -} - -// SetID gets a reference to the given int32 and assigns it to the ID field. -func (o *ApiExtensionList) SetID(v int32) { - o.ID = &v -} - -// GetDescription returns the Description field value if set, zero value otherwise. -func (o *ApiExtensionList) GetDescription() string { - if o == nil || IsNil(o.Description) { - var ret string - return ret - } - return *o.Description -} - -// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionList) GetDescriptionOk() (*string, bool) { - if o == nil || IsNil(o.Description) { - return nil, false - } - return o.Description, true -} - -// HasDescription returns a boolean if a field has been set. -func (o *ApiExtensionList) HasDescription() bool { - if o != nil && !IsNil(o.Description) { - return true - } - - return false -} - -// SetDescription gets a reference to the given string and assigns it to the Description field. -func (o *ApiExtensionList) SetDescription(v string) { - o.Description = &v -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ApiExtensionList) GetName() string { - if o == nil || IsNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionList) GetNameOk() (*string, bool) { - if o == nil || IsNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ApiExtensionList) HasName() bool { - if o != nil && !IsNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ApiExtensionList) SetName(v string) { - o.Name = &v -} - -func (o ApiExtensionList) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiExtensionList) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.ID) { - toSerialize["ID"] = o.ID - } - if !IsNil(o.Description) { - toSerialize["description"] = o.Description - } - if !IsNil(o.Name) { - toSerialize["name"] = o.Name - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiExtensionList) UnmarshalJSON(data []byte) (err error) { - varApiExtensionList := _ApiExtensionList{} - - err = json.Unmarshal(data, &varApiExtensionList) - - if err != nil { - return err - } - - *o = ApiExtensionList(varApiExtensionList) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "ID") - delete(additionalProperties, "description") - delete(additionalProperties, "name") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiExtensionList struct { - value *ApiExtensionList - isSet bool -} - -func (v NullableApiExtensionList) Get() *ApiExtensionList { - return v.value -} - -func (v *NullableApiExtensionList) Set(val *ApiExtensionList) { - v.value = val - v.isSet = true -} - -func (v NullableApiExtensionList) IsSet() bool { - return v.isSet -} - -func (v *NullableApiExtensionList) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiExtensionList(val *ApiExtensionList) *NullableApiExtensionList { - return &NullableApiExtensionList{value: val, isSet: true} -} - -func (v NullableApiExtensionList) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiExtensionList) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_api_extension_load_response.go b/services/postgresflex/v1api/model_api_extension_load_response.go deleted file mode 100644 index 4725eecf34..0000000000 --- a/services/postgresflex/v1api/model_api_extension_load_response.go +++ /dev/null @@ -1,154 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiExtensionLoadResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiExtensionLoadResponse{} - -// ApiExtensionLoadResponse struct for ApiExtensionLoadResponse -type ApiExtensionLoadResponse struct { - Extension *ApiExtensionList `json:"extension,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiExtensionLoadResponse ApiExtensionLoadResponse - -// NewApiExtensionLoadResponse instantiates a new ApiExtensionLoadResponse 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 NewApiExtensionLoadResponse() *ApiExtensionLoadResponse { - this := ApiExtensionLoadResponse{} - return &this -} - -// NewApiExtensionLoadResponseWithDefaults instantiates a new ApiExtensionLoadResponse 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 NewApiExtensionLoadResponseWithDefaults() *ApiExtensionLoadResponse { - this := ApiExtensionLoadResponse{} - return &this -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *ApiExtensionLoadResponse) GetExtension() ApiExtensionList { - if o == nil || IsNil(o.Extension) { - var ret ApiExtensionList - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiExtensionLoadResponse) GetExtensionOk() (*ApiExtensionList, bool) { - if o == nil || IsNil(o.Extension) { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *ApiExtensionLoadResponse) HasExtension() bool { - if o != nil && !IsNil(o.Extension) { - return true - } - - return false -} - -// SetExtension gets a reference to the given ApiExtensionList and assigns it to the Extension field. -func (o *ApiExtensionLoadResponse) SetExtension(v ApiExtensionList) { - o.Extension = &v -} - -func (o ApiExtensionLoadResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiExtensionLoadResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Extension) { - toSerialize["extension"] = o.Extension - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiExtensionLoadResponse) UnmarshalJSON(data []byte) (err error) { - varApiExtensionLoadResponse := _ApiExtensionLoadResponse{} - - err = json.Unmarshal(data, &varApiExtensionLoadResponse) - - if err != nil { - return err - } - - *o = ApiExtensionLoadResponse(varApiExtensionLoadResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "extension") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiExtensionLoadResponse struct { - value *ApiExtensionLoadResponse - isSet bool -} - -func (v NullableApiExtensionLoadResponse) Get() *ApiExtensionLoadResponse { - return v.value -} - -func (v *NullableApiExtensionLoadResponse) Set(val *ApiExtensionLoadResponse) { - v.value = val - v.isSet = true -} - -func (v NullableApiExtensionLoadResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableApiExtensionLoadResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiExtensionLoadResponse(val *ApiExtensionLoadResponse) *NullableApiExtensionLoadResponse { - return &NullableApiExtensionLoadResponse{value: val, isSet: true} -} - -func (v NullableApiExtensionLoadResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiExtensionLoadResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_api_install_response.go b/services/postgresflex/v1api/model_api_install_response.go deleted file mode 100644 index dfadc1dcba..0000000000 --- a/services/postgresflex/v1api/model_api_install_response.go +++ /dev/null @@ -1,154 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiInstallResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiInstallResponse{} - -// ApiInstallResponse struct for ApiInstallResponse -type ApiInstallResponse struct { - Extension *ApiExtensionList `json:"extension,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiInstallResponse ApiInstallResponse - -// NewApiInstallResponse instantiates a new ApiInstallResponse 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 NewApiInstallResponse() *ApiInstallResponse { - this := ApiInstallResponse{} - return &this -} - -// NewApiInstallResponseWithDefaults instantiates a new ApiInstallResponse 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 NewApiInstallResponseWithDefaults() *ApiInstallResponse { - this := ApiInstallResponse{} - return &this -} - -// GetExtension returns the Extension field value if set, zero value otherwise. -func (o *ApiInstallResponse) GetExtension() ApiExtensionList { - if o == nil || IsNil(o.Extension) { - var ret ApiExtensionList - return ret - } - return *o.Extension -} - -// GetExtensionOk returns a tuple with the Extension field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiInstallResponse) GetExtensionOk() (*ApiExtensionList, bool) { - if o == nil || IsNil(o.Extension) { - return nil, false - } - return o.Extension, true -} - -// HasExtension returns a boolean if a field has been set. -func (o *ApiInstallResponse) HasExtension() bool { - if o != nil && !IsNil(o.Extension) { - return true - } - - return false -} - -// SetExtension gets a reference to the given ApiExtensionList and assigns it to the Extension field. -func (o *ApiInstallResponse) SetExtension(v ApiExtensionList) { - o.Extension = &v -} - -func (o ApiInstallResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiInstallResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Extension) { - toSerialize["extension"] = o.Extension - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiInstallResponse) UnmarshalJSON(data []byte) (err error) { - varApiInstallResponse := _ApiInstallResponse{} - - err = json.Unmarshal(data, &varApiInstallResponse) - - if err != nil { - return err - } - - *o = ApiInstallResponse(varApiInstallResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "extension") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiInstallResponse struct { - value *ApiInstallResponse - isSet bool -} - -func (v NullableApiInstallResponse) Get() *ApiInstallResponse { - return v.value -} - -func (v *NullableApiInstallResponse) Set(val *ApiInstallResponse) { - v.value = val - v.isSet = true -} - -func (v NullableApiInstallResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableApiInstallResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiInstallResponse(val *ApiInstallResponse) *NullableApiInstallResponse { - return &NullableApiInstallResponse{value: val, isSet: true} -} - -func (v NullableApiInstallResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiInstallResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_api_installed_list_response.go b/services/postgresflex/v1api/model_api_installed_list_response.go deleted file mode 100644 index 7e1e0d571b..0000000000 --- a/services/postgresflex/v1api/model_api_installed_list_response.go +++ /dev/null @@ -1,154 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ApiInstalledListResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ApiInstalledListResponse{} - -// ApiInstalledListResponse struct for ApiInstalledListResponse -type ApiInstalledListResponse struct { - Installed []ApiExtensionList `json:"installed,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ApiInstalledListResponse ApiInstalledListResponse - -// NewApiInstalledListResponse instantiates a new ApiInstalledListResponse 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 NewApiInstalledListResponse() *ApiInstalledListResponse { - this := ApiInstalledListResponse{} - return &this -} - -// NewApiInstalledListResponseWithDefaults instantiates a new ApiInstalledListResponse 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 NewApiInstalledListResponseWithDefaults() *ApiInstalledListResponse { - this := ApiInstalledListResponse{} - return &this -} - -// GetInstalled returns the Installed field value if set, zero value otherwise. -func (o *ApiInstalledListResponse) GetInstalled() []ApiExtensionList { - if o == nil || IsNil(o.Installed) { - var ret []ApiExtensionList - return ret - } - return o.Installed -} - -// GetInstalledOk returns a tuple with the Installed field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ApiInstalledListResponse) GetInstalledOk() ([]ApiExtensionList, bool) { - if o == nil || IsNil(o.Installed) { - return nil, false - } - return o.Installed, true -} - -// HasInstalled returns a boolean if a field has been set. -func (o *ApiInstalledListResponse) HasInstalled() bool { - if o != nil && !IsNil(o.Installed) { - return true - } - - return false -} - -// SetInstalled gets a reference to the given []ApiExtensionList and assigns it to the Installed field. -func (o *ApiInstalledListResponse) SetInstalled(v []ApiExtensionList) { - o.Installed = v -} - -func (o ApiInstalledListResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ApiInstalledListResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Installed) { - toSerialize["installed"] = o.Installed - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ApiInstalledListResponse) UnmarshalJSON(data []byte) (err error) { - varApiInstalledListResponse := _ApiInstalledListResponse{} - - err = json.Unmarshal(data, &varApiInstalledListResponse) - - if err != nil { - return err - } - - *o = ApiInstalledListResponse(varApiInstalledListResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "installed") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableApiInstalledListResponse struct { - value *ApiInstalledListResponse - isSet bool -} - -func (v NullableApiInstalledListResponse) Get() *ApiInstalledListResponse { - return v.value -} - -func (v *NullableApiInstalledListResponse) Set(val *ApiInstalledListResponse) { - v.value = val - v.isSet = true -} - -func (v NullableApiInstalledListResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableApiInstalledListResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableApiInstalledListResponse(val *ApiInstalledListResponse) *NullableApiInstalledListResponse { - return &NullableApiInstalledListResponse{value: val, isSet: true} -} - -func (v NullableApiInstalledListResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableApiInstalledListResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_backup.go b/services/postgresflex/v1api/model_backup.go index c6698fa104..a6c7d5d8ff 100644 --- a/services/postgresflex/v1api/model_backup.go +++ b/services/postgresflex/v1api/model_backup.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -26,7 +26,7 @@ type Backup struct { Labels []string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` Options *map[string]string `json:"options,omitempty"` - Size *int32 `json:"size,omitempty"` + Size *int64 `json:"size,omitempty"` StartTime *string `json:"startTime,omitempty"` AdditionalProperties map[string]interface{} } @@ -243,9 +243,9 @@ func (o *Backup) SetOptions(v map[string]string) { } // GetSize returns the Size field value if set, zero value otherwise. -func (o *Backup) GetSize() int32 { +func (o *Backup) GetSize() int64 { if o == nil || IsNil(o.Size) { - var ret int32 + var ret int64 return ret } return *o.Size @@ -253,7 +253,7 @@ func (o *Backup) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *Backup) GetSizeOk() (*int32, bool) { +func (o *Backup) GetSizeOk() (*int64, bool) { if o == nil || IsNil(o.Size) { return nil, false } @@ -269,8 +269,8 @@ func (o *Backup) HasSize() bool { return false } -// SetSize gets a reference to the given int32 and assigns it to the Size field. -func (o *Backup) SetSize(v int32) { +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *Backup) SetSize(v int64) { o.Size = &v } diff --git a/services/postgresflex/v1api/model_clone_instance_payload.go b/services/postgresflex/v1api/model_clone_instance_payload.go index 46adab9dd1..01e416cd26 100644 --- a/services/postgresflex/v1api/model_clone_instance_payload.go +++ b/services/postgresflex/v1api/model_clone_instance_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -21,7 +21,7 @@ var _ MappedNullable = &CloneInstancePayload{} // CloneInstancePayload struct for CloneInstancePayload type CloneInstancePayload struct { Class *string `json:"class,omitempty"` - Size *int32 `json:"size,omitempty"` + Size *int64 `json:"size,omitempty"` // The timestamp should be specified in UTC time following the format provided in the example. Timestamp *string `json:"timestamp,omitempty"` AdditionalProperties map[string]interface{} @@ -79,9 +79,9 @@ func (o *CloneInstancePayload) SetClass(v string) { } // GetSize returns the Size field value if set, zero value otherwise. -func (o *CloneInstancePayload) GetSize() int32 { +func (o *CloneInstancePayload) GetSize() int64 { if o == nil || IsNil(o.Size) { - var ret int32 + var ret int64 return ret } return *o.Size @@ -89,7 +89,7 @@ func (o *CloneInstancePayload) GetSize() int32 { // GetSizeOk returns a tuple with the Size field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *CloneInstancePayload) GetSizeOk() (*int32, bool) { +func (o *CloneInstancePayload) GetSizeOk() (*int64, bool) { if o == nil || IsNil(o.Size) { return nil, false } @@ -105,8 +105,8 @@ func (o *CloneInstancePayload) HasSize() bool { return false } -// SetSize gets a reference to the given int32 and assigns it to the Size field. -func (o *CloneInstancePayload) SetSize(v int32) { +// SetSize gets a reference to the given int64 and assigns it to the Size field. +func (o *CloneInstancePayload) SetSize(v int64) { o.Size = &v } diff --git a/services/postgresflex/v1api/model_clone_instance_response.go b/services/postgresflex/v1api/model_clone_instance_response.go index dbca412113..c0859d3c72 100644 --- a/services/postgresflex/v1api/model_clone_instance_response.go +++ b/services/postgresflex/v1api/model_clone_instance_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_create_database_payload.go b/services/postgresflex/v1api/model_create_database_payload.go index d0307856fe..d868e443ee 100644 --- a/services/postgresflex/v1api/model_create_database_payload.go +++ b/services/postgresflex/v1api/model_create_database_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_create_instance_payload.go b/services/postgresflex/v1api/model_create_instance_payload.go index 877474d7f4..e7c27370db 100644 --- a/services/postgresflex/v1api/model_create_instance_payload.go +++ b/services/postgresflex/v1api/model_create_instance_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -27,8 +27,8 @@ type CreateInstancePayload struct { // Labels field is not certain/clear Labels *map[string]string `json:"labels,omitempty"` Name string `json:"name"` - Options map[string]string `json:"options"` - Replicas int32 `json:"replicas"` + Options *map[string]string `json:"options,omitempty"` + Replicas int64 `json:"replicas"` Storage Storage `json:"storage"` Version string `json:"version"` AdditionalProperties map[string]interface{} @@ -40,13 +40,12 @@ type _CreateInstancePayload CreateInstancePayload // 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 NewCreateInstancePayload(acl ACL, backupSchedule string, flavorId string, name string, options map[string]string, replicas int32, storage Storage, version string) *CreateInstancePayload { +func NewCreateInstancePayload(acl ACL, backupSchedule string, flavorId string, name string, replicas int64, storage Storage, version string) *CreateInstancePayload { this := CreateInstancePayload{} this.Acl = acl this.BackupSchedule = backupSchedule this.FlavorId = flavorId this.Name = name - this.Options = options this.Replicas = replicas this.Storage = storage this.Version = version @@ -189,34 +188,42 @@ func (o *CreateInstancePayload) SetName(v string) { o.Name = v } -// GetOptions returns the Options field value +// GetOptions returns the Options field value if set, zero value otherwise. func (o *CreateInstancePayload) GetOptions() map[string]string { - if o == nil { + if o == nil || IsNil(o.Options) { var ret map[string]string return ret } - - return o.Options + return *o.Options } -// GetOptionsOk returns a tuple with the Options field value +// GetOptionsOk returns a tuple with the Options field value if set, nil otherwise // and a boolean to check if the value has been set. func (o *CreateInstancePayload) GetOptionsOk() (*map[string]string, bool) { - if o == nil { + if o == nil || IsNil(o.Options) { return nil, false } - return &o.Options, true + return o.Options, true +} + +// HasOptions returns a boolean if a field has been set. +func (o *CreateInstancePayload) HasOptions() bool { + if o != nil && !IsNil(o.Options) { + return true + } + + return false } -// SetOptions sets field value +// SetOptions gets a reference to the given map[string]string and assigns it to the Options field. func (o *CreateInstancePayload) SetOptions(v map[string]string) { - o.Options = v + o.Options = &v } // GetReplicas returns the Replicas field value -func (o *CreateInstancePayload) GetReplicas() int32 { +func (o *CreateInstancePayload) GetReplicas() int64 { if o == nil { - var ret int32 + var ret int64 return ret } @@ -225,7 +232,7 @@ func (o *CreateInstancePayload) GetReplicas() int32 { // GetReplicasOk returns a tuple with the Replicas field value // and a boolean to check if the value has been set. -func (o *CreateInstancePayload) GetReplicasOk() (*int32, bool) { +func (o *CreateInstancePayload) GetReplicasOk() (*int64, bool) { if o == nil { return nil, false } @@ -233,7 +240,7 @@ func (o *CreateInstancePayload) GetReplicasOk() (*int32, bool) { } // SetReplicas sets field value -func (o *CreateInstancePayload) SetReplicas(v int32) { +func (o *CreateInstancePayload) SetReplicas(v int64) { o.Replicas = v } @@ -302,7 +309,9 @@ func (o CreateInstancePayload) ToMap() (map[string]interface{}, error) { toSerialize["labels"] = o.Labels } toSerialize["name"] = o.Name - toSerialize["options"] = o.Options + if !IsNil(o.Options) { + toSerialize["options"] = o.Options + } toSerialize["replicas"] = o.Replicas toSerialize["storage"] = o.Storage toSerialize["version"] = o.Version @@ -323,7 +332,6 @@ func (o *CreateInstancePayload) UnmarshalJSON(data []byte) (err error) { "backupSchedule", "flavorId", "name", - "options", "replicas", "storage", "version", diff --git a/services/postgresflex/v1api/model_create_instance_response.go b/services/postgresflex/v1api/model_create_instance_response.go index 9ddded44bd..f67e88ad93 100644 --- a/services/postgresflex/v1api/model_create_instance_response.go +++ b/services/postgresflex/v1api/model_create_instance_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_create_user_payload.go b/services/postgresflex/v1api/model_create_user_payload.go index 76e5edcaba..fe7a34613b 100644 --- a/services/postgresflex/v1api/model_create_user_payload.go +++ b/services/postgresflex/v1api/model_create_user_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_create_user_response.go b/services/postgresflex/v1api/model_create_user_response.go index 688f551b2c..86388a4607 100644 --- a/services/postgresflex/v1api/model_create_user_response.go +++ b/services/postgresflex/v1api/model_create_user_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_error.go b/services/postgresflex/v1api/model_error.go index e8d2c6b88d..f7f5c7b7a4 100644 --- a/services/postgresflex/v1api/model_error.go +++ b/services/postgresflex/v1api/model_error.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_extensions_configuration.go b/services/postgresflex/v1api/model_extensions_configuration.go deleted file mode 100644 index 86d93d0f07..0000000000 --- a/services/postgresflex/v1api/model_extensions_configuration.go +++ /dev/null @@ -1,191 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ExtensionsConfiguration type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ExtensionsConfiguration{} - -// ExtensionsConfiguration struct for ExtensionsConfiguration -type ExtensionsConfiguration struct { - Name *string `json:"name,omitempty"` - Setting *string `json:"setting,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ExtensionsConfiguration ExtensionsConfiguration - -// NewExtensionsConfiguration instantiates a new ExtensionsConfiguration 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 NewExtensionsConfiguration() *ExtensionsConfiguration { - this := ExtensionsConfiguration{} - return &this -} - -// NewExtensionsConfigurationWithDefaults instantiates a new ExtensionsConfiguration 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 NewExtensionsConfigurationWithDefaults() *ExtensionsConfiguration { - this := ExtensionsConfiguration{} - return &this -} - -// GetName returns the Name field value if set, zero value otherwise. -func (o *ExtensionsConfiguration) GetName() string { - if o == nil || IsNil(o.Name) { - var ret string - return ret - } - return *o.Name -} - -// GetNameOk returns a tuple with the Name field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ExtensionsConfiguration) GetNameOk() (*string, bool) { - if o == nil || IsNil(o.Name) { - return nil, false - } - return o.Name, true -} - -// HasName returns a boolean if a field has been set. -func (o *ExtensionsConfiguration) HasName() bool { - if o != nil && !IsNil(o.Name) { - return true - } - - return false -} - -// SetName gets a reference to the given string and assigns it to the Name field. -func (o *ExtensionsConfiguration) SetName(v string) { - o.Name = &v -} - -// GetSetting returns the Setting field value if set, zero value otherwise. -func (o *ExtensionsConfiguration) GetSetting() string { - if o == nil || IsNil(o.Setting) { - var ret string - return ret - } - return *o.Setting -} - -// GetSettingOk returns a tuple with the Setting field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ExtensionsConfiguration) GetSettingOk() (*string, bool) { - if o == nil || IsNil(o.Setting) { - return nil, false - } - return o.Setting, true -} - -// HasSetting returns a boolean if a field has been set. -func (o *ExtensionsConfiguration) HasSetting() bool { - if o != nil && !IsNil(o.Setting) { - return true - } - - return false -} - -// SetSetting gets a reference to the given string and assigns it to the Setting field. -func (o *ExtensionsConfiguration) SetSetting(v string) { - o.Setting = &v -} - -func (o ExtensionsConfiguration) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ExtensionsConfiguration) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Name) { - toSerialize["name"] = o.Name - } - if !IsNil(o.Setting) { - toSerialize["setting"] = o.Setting - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ExtensionsConfiguration) UnmarshalJSON(data []byte) (err error) { - varExtensionsConfiguration := _ExtensionsConfiguration{} - - err = json.Unmarshal(data, &varExtensionsConfiguration) - - if err != nil { - return err - } - - *o = ExtensionsConfiguration(varExtensionsConfiguration) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "name") - delete(additionalProperties, "setting") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableExtensionsConfiguration struct { - value *ExtensionsConfiguration - isSet bool -} - -func (v NullableExtensionsConfiguration) Get() *ExtensionsConfiguration { - return v.value -} - -func (v *NullableExtensionsConfiguration) Set(val *ExtensionsConfiguration) { - v.value = val - v.isSet = true -} - -func (v NullableExtensionsConfiguration) IsSet() bool { - return v.isSet -} - -func (v *NullableExtensionsConfiguration) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableExtensionsConfiguration(val *ExtensionsConfiguration) *NullableExtensionsConfiguration { - return &NullableExtensionsConfiguration{value: val, isSet: true} -} - -func (v NullableExtensionsConfiguration) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableExtensionsConfiguration) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_extensions_extension_list_response.go b/services/postgresflex/v1api/model_extensions_extension_list_response.go deleted file mode 100644 index 5e48e6ab0f..0000000000 --- a/services/postgresflex/v1api/model_extensions_extension_list_response.go +++ /dev/null @@ -1,154 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ExtensionsExtensionListResponse type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ExtensionsExtensionListResponse{} - -// ExtensionsExtensionListResponse struct for ExtensionsExtensionListResponse -type ExtensionsExtensionListResponse struct { - List []ApiExtensionList `json:"list,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ExtensionsExtensionListResponse ExtensionsExtensionListResponse - -// NewExtensionsExtensionListResponse instantiates a new ExtensionsExtensionListResponse 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 NewExtensionsExtensionListResponse() *ExtensionsExtensionListResponse { - this := ExtensionsExtensionListResponse{} - return &this -} - -// NewExtensionsExtensionListResponseWithDefaults instantiates a new ExtensionsExtensionListResponse 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 NewExtensionsExtensionListResponseWithDefaults() *ExtensionsExtensionListResponse { - this := ExtensionsExtensionListResponse{} - return &this -} - -// GetList returns the List field value if set, zero value otherwise. -func (o *ExtensionsExtensionListResponse) GetList() []ApiExtensionList { - if o == nil || IsNil(o.List) { - var ret []ApiExtensionList - return ret - } - return o.List -} - -// GetListOk returns a tuple with the List field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ExtensionsExtensionListResponse) GetListOk() ([]ApiExtensionList, bool) { - if o == nil || IsNil(o.List) { - return nil, false - } - return o.List, true -} - -// HasList returns a boolean if a field has been set. -func (o *ExtensionsExtensionListResponse) HasList() bool { - if o != nil && !IsNil(o.List) { - return true - } - - return false -} - -// SetList gets a reference to the given []ApiExtensionList and assigns it to the List field. -func (o *ExtensionsExtensionListResponse) SetList(v []ApiExtensionList) { - o.List = v -} - -func (o ExtensionsExtensionListResponse) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ExtensionsExtensionListResponse) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.List) { - toSerialize["list"] = o.List - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ExtensionsExtensionListResponse) UnmarshalJSON(data []byte) (err error) { - varExtensionsExtensionListResponse := _ExtensionsExtensionListResponse{} - - err = json.Unmarshal(data, &varExtensionsExtensionListResponse) - - if err != nil { - return err - } - - *o = ExtensionsExtensionListResponse(varExtensionsExtensionListResponse) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "list") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableExtensionsExtensionListResponse struct { - value *ExtensionsExtensionListResponse - isSet bool -} - -func (v NullableExtensionsExtensionListResponse) Get() *ExtensionsExtensionListResponse { - return v.value -} - -func (v *NullableExtensionsExtensionListResponse) Set(val *ExtensionsExtensionListResponse) { - v.value = val - v.isSet = true -} - -func (v NullableExtensionsExtensionListResponse) IsSet() bool { - return v.isSet -} - -func (v *NullableExtensionsExtensionListResponse) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableExtensionsExtensionListResponse(val *ExtensionsExtensionListResponse) *NullableExtensionsExtensionListResponse { - return &NullableExtensionsExtensionListResponse{value: val, isSet: true} -} - -func (v NullableExtensionsExtensionListResponse) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableExtensionsExtensionListResponse) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_extensions_new_config.go b/services/postgresflex/v1api/model_extensions_new_config.go deleted file mode 100644 index 8a6264669e..0000000000 --- a/services/postgresflex/v1api/model_extensions_new_config.go +++ /dev/null @@ -1,154 +0,0 @@ -/* -STACKIT PostgreSQL Flex API (deprecated) - -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. - -API version: 1.0.0 -Contact: support@stackit.cloud -*/ - -// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. - -package v1api - -import ( - "encoding/json" -) - -// checks if the ExtensionsNewConfig type satisfies the MappedNullable interface at compile time -var _ MappedNullable = &ExtensionsNewConfig{} - -// ExtensionsNewConfig struct for ExtensionsNewConfig -type ExtensionsNewConfig struct { - Configuration []ExtensionsConfiguration `json:"configuration,omitempty"` - AdditionalProperties map[string]interface{} -} - -type _ExtensionsNewConfig ExtensionsNewConfig - -// NewExtensionsNewConfig instantiates a new ExtensionsNewConfig 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 NewExtensionsNewConfig() *ExtensionsNewConfig { - this := ExtensionsNewConfig{} - return &this -} - -// NewExtensionsNewConfigWithDefaults instantiates a new ExtensionsNewConfig 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 NewExtensionsNewConfigWithDefaults() *ExtensionsNewConfig { - this := ExtensionsNewConfig{} - return &this -} - -// GetConfiguration returns the Configuration field value if set, zero value otherwise. -func (o *ExtensionsNewConfig) GetConfiguration() []ExtensionsConfiguration { - if o == nil || IsNil(o.Configuration) { - var ret []ExtensionsConfiguration - return ret - } - return o.Configuration -} - -// GetConfigurationOk returns a tuple with the Configuration field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ExtensionsNewConfig) GetConfigurationOk() ([]ExtensionsConfiguration, bool) { - if o == nil || IsNil(o.Configuration) { - return nil, false - } - return o.Configuration, true -} - -// HasConfiguration returns a boolean if a field has been set. -func (o *ExtensionsNewConfig) HasConfiguration() bool { - if o != nil && !IsNil(o.Configuration) { - return true - } - - return false -} - -// SetConfiguration gets a reference to the given []ExtensionsConfiguration and assigns it to the Configuration field. -func (o *ExtensionsNewConfig) SetConfiguration(v []ExtensionsConfiguration) { - o.Configuration = v -} - -func (o ExtensionsNewConfig) MarshalJSON() ([]byte, error) { - toSerialize, err := o.ToMap() - if err != nil { - return []byte{}, err - } - return json.Marshal(toSerialize) -} - -func (o ExtensionsNewConfig) ToMap() (map[string]interface{}, error) { - toSerialize := map[string]interface{}{} - if !IsNil(o.Configuration) { - toSerialize["configuration"] = o.Configuration - } - - for key, value := range o.AdditionalProperties { - toSerialize[key] = value - } - - return toSerialize, nil -} - -func (o *ExtensionsNewConfig) UnmarshalJSON(data []byte) (err error) { - varExtensionsNewConfig := _ExtensionsNewConfig{} - - err = json.Unmarshal(data, &varExtensionsNewConfig) - - if err != nil { - return err - } - - *o = ExtensionsNewConfig(varExtensionsNewConfig) - - additionalProperties := make(map[string]interface{}) - - if err = json.Unmarshal(data, &additionalProperties); err == nil { - delete(additionalProperties, "configuration") - o.AdditionalProperties = additionalProperties - } - - return err -} - -type NullableExtensionsNewConfig struct { - value *ExtensionsNewConfig - isSet bool -} - -func (v NullableExtensionsNewConfig) Get() *ExtensionsNewConfig { - return v.value -} - -func (v *NullableExtensionsNewConfig) Set(val *ExtensionsNewConfig) { - v.value = val - v.isSet = true -} - -func (v NullableExtensionsNewConfig) IsSet() bool { - return v.isSet -} - -func (v *NullableExtensionsNewConfig) Unset() { - v.value = nil - v.isSet = false -} - -func NewNullableExtensionsNewConfig(val *ExtensionsNewConfig) *NullableExtensionsNewConfig { - return &NullableExtensionsNewConfig{value: val, isSet: true} -} - -func (v NullableExtensionsNewConfig) MarshalJSON() ([]byte, error) { - return json.Marshal(v.value) -} - -func (v *NullableExtensionsNewConfig) UnmarshalJSON(src []byte) error { - v.isSet = true - return json.Unmarshal(src, &v.value) -} diff --git a/services/postgresflex/v1api/model_flavor.go b/services/postgresflex/v1api/model_flavor.go index 13fba34a42..ed9fc739ff 100644 --- a/services/postgresflex/v1api/model_flavor.go +++ b/services/postgresflex/v1api/model_flavor.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_get_backup_response.go b/services/postgresflex/v1api/model_get_backup_response.go index 7f8d70ea32..3cc81b4d23 100644 --- a/services/postgresflex/v1api/model_get_backup_response.go +++ b/services/postgresflex/v1api/model_get_backup_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_get_user_response.go b/services/postgresflex/v1api/model_get_user_response.go index db593a43c7..361e744da9 100644 --- a/services/postgresflex/v1api/model_get_user_response.go +++ b/services/postgresflex/v1api/model_get_user_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance.go b/services/postgresflex/v1api/model_instance.go index 34dcdb1736..598e1e8a67 100644 --- a/services/postgresflex/v1api/model_instance.go +++ b/services/postgresflex/v1api/model_instance.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_create_database_response.go b/services/postgresflex/v1api/model_instance_create_database_response.go index 0a2cdfa141..ee698198ec 100644 --- a/services/postgresflex/v1api/model_instance_create_database_response.go +++ b/services/postgresflex/v1api/model_instance_create_database_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_data_point.go b/services/postgresflex/v1api/model_instance_data_point.go index 64e3ddc645..89b1f7d272 100644 --- a/services/postgresflex/v1api/model_instance_data_point.go +++ b/services/postgresflex/v1api/model_instance_data_point.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_database.go b/services/postgresflex/v1api/model_instance_database.go index b548fc22f2..9ac7aea5c8 100644 --- a/services/postgresflex/v1api/model_instance_database.go +++ b/services/postgresflex/v1api/model_instance_database.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_host.go b/services/postgresflex/v1api/model_instance_host.go index a4d3e57979..78fc1059fb 100644 --- a/services/postgresflex/v1api/model_instance_host.go +++ b/services/postgresflex/v1api/model_instance_host.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_host_metric.go b/services/postgresflex/v1api/model_instance_host_metric.go index 85c263be60..bfc793ae5e 100644 --- a/services/postgresflex/v1api/model_instance_host_metric.go +++ b/services/postgresflex/v1api/model_instance_host_metric.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_list_databases_response.go b/services/postgresflex/v1api/model_instance_list_databases_response.go index acda24814b..67f42bd43e 100644 --- a/services/postgresflex/v1api/model_instance_list_databases_response.go +++ b/services/postgresflex/v1api/model_instance_list_databases_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_list_instance.go b/services/postgresflex/v1api/model_instance_list_instance.go index ffe8605a92..c2dfd65037 100644 --- a/services/postgresflex/v1api/model_instance_list_instance.go +++ b/services/postgresflex/v1api/model_instance_list_instance.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_metrics_response.go b/services/postgresflex/v1api/model_instance_metrics_response.go index 5812d515ca..d88086579b 100644 --- a/services/postgresflex/v1api/model_instance_metrics_response.go +++ b/services/postgresflex/v1api/model_instance_metrics_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_instance_response.go b/services/postgresflex/v1api/model_instance_response.go index 36a8fa5984..730e43181a 100644 --- a/services/postgresflex/v1api/model_instance_response.go +++ b/services/postgresflex/v1api/model_instance_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_list_backups_response.go b/services/postgresflex/v1api/model_list_backups_response.go index 2e8db4d18d..4f2ed3a8ec 100644 --- a/services/postgresflex/v1api/model_list_backups_response.go +++ b/services/postgresflex/v1api/model_list_backups_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -20,7 +20,7 @@ var _ MappedNullable = &ListBackupsResponse{} // ListBackupsResponse struct for ListBackupsResponse type ListBackupsResponse struct { - Count *int32 `json:"count,omitempty"` + Count *int64 `json:"count,omitempty"` Items []Backup `json:"items,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,9 +45,9 @@ func NewListBackupsResponseWithDefaults() *ListBackupsResponse { } // GetCount returns the Count field value if set, zero value otherwise. -func (o *ListBackupsResponse) GetCount() int32 { +func (o *ListBackupsResponse) GetCount() int64 { if o == nil || IsNil(o.Count) { - var ret int32 + var ret int64 return ret } return *o.Count @@ -55,7 +55,7 @@ func (o *ListBackupsResponse) GetCount() int32 { // GetCountOk returns a tuple with the Count field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListBackupsResponse) GetCountOk() (*int32, bool) { +func (o *ListBackupsResponse) GetCountOk() (*int64, bool) { if o == nil || IsNil(o.Count) { return nil, false } @@ -71,8 +71,8 @@ func (o *ListBackupsResponse) HasCount() bool { return false } -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *ListBackupsResponse) SetCount(v int32) { +// SetCount gets a reference to the given int64 and assigns it to the Count field. +func (o *ListBackupsResponse) SetCount(v int64) { o.Count = &v } diff --git a/services/postgresflex/v1api/model_list_flavors_response.go b/services/postgresflex/v1api/model_list_flavors_response.go index b48ef0185a..d58c51970e 100644 --- a/services/postgresflex/v1api/model_list_flavors_response.go +++ b/services/postgresflex/v1api/model_list_flavors_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_list_instances_response.go b/services/postgresflex/v1api/model_list_instances_response.go index 63308763b3..0d33aacc23 100644 --- a/services/postgresflex/v1api/model_list_instances_response.go +++ b/services/postgresflex/v1api/model_list_instances_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -20,7 +20,7 @@ var _ MappedNullable = &ListInstancesResponse{} // ListInstancesResponse struct for ListInstancesResponse type ListInstancesResponse struct { - Count *int32 `json:"count,omitempty"` + Count *int64 `json:"count,omitempty"` Items []InstanceListInstance `json:"items,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,9 +45,9 @@ func NewListInstancesResponseWithDefaults() *ListInstancesResponse { } // GetCount returns the Count field value if set, zero value otherwise. -func (o *ListInstancesResponse) GetCount() int32 { +func (o *ListInstancesResponse) GetCount() int64 { if o == nil || IsNil(o.Count) { - var ret int32 + var ret int64 return ret } return *o.Count @@ -55,7 +55,7 @@ func (o *ListInstancesResponse) GetCount() int32 { // GetCountOk returns a tuple with the Count field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListInstancesResponse) GetCountOk() (*int32, bool) { +func (o *ListInstancesResponse) GetCountOk() (*int64, bool) { if o == nil || IsNil(o.Count) { return nil, false } @@ -71,8 +71,8 @@ func (o *ListInstancesResponse) HasCount() bool { return false } -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *ListInstancesResponse) SetCount(v int32) { +// SetCount gets a reference to the given int64 and assigns it to the Count field. +func (o *ListInstancesResponse) SetCount(v int64) { o.Count = &v } diff --git a/services/postgresflex/v1api/model_list_storages_response.go b/services/postgresflex/v1api/model_list_storages_response.go index f6b8a3caf3..fd7fd50a66 100644 --- a/services/postgresflex/v1api/model_list_storages_response.go +++ b/services/postgresflex/v1api/model_list_storages_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_list_users_response.go b/services/postgresflex/v1api/model_list_users_response.go index 2aa81b94a6..e118764aa2 100644 --- a/services/postgresflex/v1api/model_list_users_response.go +++ b/services/postgresflex/v1api/model_list_users_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -20,7 +20,7 @@ var _ MappedNullable = &ListUsersResponse{} // ListUsersResponse struct for ListUsersResponse type ListUsersResponse struct { - Count *int32 `json:"count,omitempty"` + Count *int64 `json:"count,omitempty"` Items []ListUsersResponseItem `json:"items,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,9 +45,9 @@ func NewListUsersResponseWithDefaults() *ListUsersResponse { } // GetCount returns the Count field value if set, zero value otherwise. -func (o *ListUsersResponse) GetCount() int32 { +func (o *ListUsersResponse) GetCount() int64 { if o == nil || IsNil(o.Count) { - var ret int32 + var ret int64 return ret } return *o.Count @@ -55,7 +55,7 @@ func (o *ListUsersResponse) GetCount() int32 { // GetCountOk returns a tuple with the Count field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListUsersResponse) GetCountOk() (*int32, bool) { +func (o *ListUsersResponse) GetCountOk() (*int64, bool) { if o == nil || IsNil(o.Count) { return nil, false } @@ -71,8 +71,8 @@ func (o *ListUsersResponse) HasCount() bool { return false } -// SetCount gets a reference to the given int32 and assigns it to the Count field. -func (o *ListUsersResponse) SetCount(v int32) { +// SetCount gets a reference to the given int64 and assigns it to the Count field. +func (o *ListUsersResponse) SetCount(v int64) { o.Count = &v } diff --git a/services/postgresflex/v1api/model_list_users_response_item.go b/services/postgresflex/v1api/model_list_users_response_item.go index e216ba1c5a..3f3c649801 100644 --- a/services/postgresflex/v1api/model_list_users_response_item.go +++ b/services/postgresflex/v1api/model_list_users_response_item.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_list_versions_response.go b/services/postgresflex/v1api/model_list_versions_response.go index cec8e5dae9..50b8f540bc 100644 --- a/services/postgresflex/v1api/model_list_versions_response.go +++ b/services/postgresflex/v1api/model_list_versions_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_partial_update_instance_payload.go b/services/postgresflex/v1api/model_partial_update_instance_payload.go index 350a507388..89e29f1b21 100644 --- a/services/postgresflex/v1api/model_partial_update_instance_payload.go +++ b/services/postgresflex/v1api/model_partial_update_instance_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_partial_update_instance_response.go b/services/postgresflex/v1api/model_partial_update_instance_response.go index 9bda4f607c..e8c22c6eb4 100644 --- a/services/postgresflex/v1api/model_partial_update_instance_response.go +++ b/services/postgresflex/v1api/model_partial_update_instance_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_partial_update_user_payload.go b/services/postgresflex/v1api/model_partial_update_user_payload.go index e310319e24..0ea319465f 100644 --- a/services/postgresflex/v1api/model_partial_update_user_payload.go +++ b/services/postgresflex/v1api/model_partial_update_user_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_postgres_database_parameter.go b/services/postgresflex/v1api/model_postgres_database_parameter.go index 573920a8ae..e9942877d3 100644 --- a/services/postgresflex/v1api/model_postgres_database_parameter.go +++ b/services/postgresflex/v1api/model_postgres_database_parameter.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_postgres_database_parameter_response.go b/services/postgresflex/v1api/model_postgres_database_parameter_response.go index 3f24aca092..da016e618f 100644 --- a/services/postgresflex/v1api/model_postgres_database_parameter_response.go +++ b/services/postgresflex/v1api/model_postgres_database_parameter_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_reset_user_response.go b/services/postgresflex/v1api/model_reset_user_response.go index 90cede8792..42858a5751 100644 --- a/services/postgresflex/v1api/model_reset_user_response.go +++ b/services/postgresflex/v1api/model_reset_user_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_storage.go b/services/postgresflex/v1api/model_storage.go index be183ec1cb..de34c8446b 100644 --- a/services/postgresflex/v1api/model_storage.go +++ b/services/postgresflex/v1api/model_storage.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_storage_range.go b/services/postgresflex/v1api/model_storage_range.go index 48b7b48878..a5517b7215 100644 --- a/services/postgresflex/v1api/model_storage_range.go +++ b/services/postgresflex/v1api/model_storage_range.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -20,8 +20,8 @@ var _ MappedNullable = &StorageRange{} // StorageRange struct for StorageRange type StorageRange struct { - Max *int32 `json:"max,omitempty"` - Min *int32 `json:"min,omitempty"` + Max *int64 `json:"max,omitempty"` + Min *int64 `json:"min,omitempty"` AdditionalProperties map[string]interface{} } @@ -45,9 +45,9 @@ func NewStorageRangeWithDefaults() *StorageRange { } // GetMax returns the Max field value if set, zero value otherwise. -func (o *StorageRange) GetMax() int32 { +func (o *StorageRange) GetMax() int64 { if o == nil || IsNil(o.Max) { - var ret int32 + var ret int64 return ret } return *o.Max @@ -55,7 +55,7 @@ func (o *StorageRange) GetMax() int32 { // GetMaxOk returns a tuple with the Max field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *StorageRange) GetMaxOk() (*int32, bool) { +func (o *StorageRange) GetMaxOk() (*int64, bool) { if o == nil || IsNil(o.Max) { return nil, false } @@ -71,15 +71,15 @@ func (o *StorageRange) HasMax() bool { return false } -// SetMax gets a reference to the given int32 and assigns it to the Max field. -func (o *StorageRange) SetMax(v int32) { +// SetMax gets a reference to the given int64 and assigns it to the Max field. +func (o *StorageRange) SetMax(v int64) { o.Max = &v } // GetMin returns the Min field value if set, zero value otherwise. -func (o *StorageRange) GetMin() int32 { +func (o *StorageRange) GetMin() int64 { if o == nil || IsNil(o.Min) { - var ret int32 + var ret int64 return ret } return *o.Min @@ -87,7 +87,7 @@ func (o *StorageRange) GetMin() int32 { // GetMinOk returns a tuple with the Min field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *StorageRange) GetMinOk() (*int32, bool) { +func (o *StorageRange) GetMinOk() (*int64, bool) { if o == nil || IsNil(o.Min) { return nil, false } @@ -103,8 +103,8 @@ func (o *StorageRange) HasMin() bool { return false } -// SetMin gets a reference to the given int32 and assigns it to the Min field. -func (o *StorageRange) SetMin(v int32) { +// SetMin gets a reference to the given int64 and assigns it to the Min field. +func (o *StorageRange) SetMin(v int64) { o.Min = &v } diff --git a/services/postgresflex/v1api/model_storage_update.go b/services/postgresflex/v1api/model_storage_update.go index f277a58b7a..33bd8fbe1e 100644 --- a/services/postgresflex/v1api/model_storage_update.go +++ b/services/postgresflex/v1api/model_storage_update.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -21,7 +21,6 @@ var _ MappedNullable = &StorageUpdate{} // StorageUpdate struct for StorageUpdate type StorageUpdate struct { // ⚠️ **DEPRECATED AND NON-FUNCTIONAL:** Updating the performance class field is not possible. - // Deprecated Class *string `json:"class,omitempty"` Size *int64 `json:"size,omitempty"` AdditionalProperties map[string]interface{} @@ -47,7 +46,6 @@ func NewStorageUpdateWithDefaults() *StorageUpdate { } // GetClass returns the Class field value if set, zero value otherwise. -// Deprecated func (o *StorageUpdate) GetClass() string { if o == nil || IsNil(o.Class) { var ret string @@ -58,7 +56,6 @@ func (o *StorageUpdate) GetClass() string { // GetClassOk returns a tuple with the Class field value if set, nil otherwise // and a boolean to check if the value has been set. -// Deprecated func (o *StorageUpdate) GetClassOk() (*string, bool) { if o == nil || IsNil(o.Class) { return nil, false @@ -76,7 +73,6 @@ func (o *StorageUpdate) HasClass() bool { } // SetClass gets a reference to the given string and assigns it to the Class field. -// Deprecated func (o *StorageUpdate) SetClass(v string) { o.Class = &v } diff --git a/services/postgresflex/v1api/model_update_backup_schedule_payload.go b/services/postgresflex/v1api/model_update_backup_schedule_payload.go index 3e2345e1dd..402aa829d7 100644 --- a/services/postgresflex/v1api/model_update_backup_schedule_payload.go +++ b/services/postgresflex/v1api/model_update_backup_schedule_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_update_instance_payload.go b/services/postgresflex/v1api/model_update_instance_payload.go index 980c4e68f9..1b16b63cf6 100644 --- a/services/postgresflex/v1api/model_update_instance_payload.go +++ b/services/postgresflex/v1api/model_update_instance_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_update_user_payload.go b/services/postgresflex/v1api/model_update_user_payload.go index 97e2c5b74f..7c4093803c 100644 --- a/services/postgresflex/v1api/model_update_user_payload.go +++ b/services/postgresflex/v1api/model_update_user_payload.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/model_user.go b/services/postgresflex/v1api/model_user.go index 9db9bc72f6..be685c84e7 100644 --- a/services/postgresflex/v1api/model_user.go +++ b/services/postgresflex/v1api/model_user.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -24,7 +24,7 @@ type User struct { Host *string `json:"host,omitempty"` Id *string `json:"id,omitempty"` Password *string `json:"password,omitempty"` - Port *int32 `json:"port,omitempty"` + Port *int64 `json:"port,omitempty"` Roles []string `json:"roles,omitempty"` Uri *string `json:"uri,omitempty"` Username *string `json:"username,omitempty"` @@ -179,9 +179,9 @@ func (o *User) SetPassword(v string) { } // GetPort returns the Port field value if set, zero value otherwise. -func (o *User) GetPort() int32 { +func (o *User) GetPort() int64 { if o == nil || IsNil(o.Port) { - var ret int32 + var ret int64 return ret } return *o.Port @@ -189,7 +189,7 @@ func (o *User) GetPort() int32 { // GetPortOk returns a tuple with the Port field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *User) GetPortOk() (*int32, bool) { +func (o *User) GetPortOk() (*int64, bool) { if o == nil || IsNil(o.Port) { return nil, false } @@ -205,8 +205,8 @@ func (o *User) HasPort() bool { return false } -// SetPort gets a reference to the given int32 and assigns it to the Port field. -func (o *User) SetPort(v int32) { +// SetPort gets a reference to the given int64 and assigns it to the Port field. +func (o *User) SetPort(v int64) { o.Port = &v } diff --git a/services/postgresflex/v1api/model_user_response.go b/services/postgresflex/v1api/model_user_response.go index fbbd4a3a3a..bccd3adfc8 100644 --- a/services/postgresflex/v1api/model_user_response.go +++ b/services/postgresflex/v1api/model_user_response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud @@ -22,7 +22,7 @@ var _ MappedNullable = &UserResponse{} type UserResponse struct { Host *string `json:"host,omitempty"` Id *string `json:"id,omitempty"` - Port *int32 `json:"port,omitempty"` + Port *int64 `json:"port,omitempty"` Roles []string `json:"roles,omitempty"` Username *string `json:"username,omitempty"` AdditionalProperties map[string]interface{} @@ -112,9 +112,9 @@ func (o *UserResponse) SetId(v string) { } // GetPort returns the Port field value if set, zero value otherwise. -func (o *UserResponse) GetPort() int32 { +func (o *UserResponse) GetPort() int64 { if o == nil || IsNil(o.Port) { - var ret int32 + var ret int64 return ret } return *o.Port @@ -122,7 +122,7 @@ func (o *UserResponse) GetPort() int32 { // GetPortOk returns a tuple with the Port field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *UserResponse) GetPortOk() (*int32, bool) { +func (o *UserResponse) GetPortOk() (*int64, bool) { if o == nil || IsNil(o.Port) { return nil, false } @@ -138,8 +138,8 @@ func (o *UserResponse) HasPort() bool { return false } -// SetPort gets a reference to the given int32 and assigns it to the Port field. -func (o *UserResponse) SetPort(v int32) { +// SetPort gets a reference to the given int64 and assigns it to the Port field. +func (o *UserResponse) SetPort(v int64) { o.Port = &v } diff --git a/services/postgresflex/v1api/response.go b/services/postgresflex/v1api/response.go index 3d52748d84..9c609bfe5f 100644 --- a/services/postgresflex/v1api/response.go +++ b/services/postgresflex/v1api/response.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v1api/utils.go b/services/postgresflex/v1api/utils.go index 0ea859d504..c63f198b7a 100644 --- a/services/postgresflex/v1api/utils.go +++ b/services/postgresflex/v1api/utils.go @@ -1,7 +1,7 @@ /* -STACKIT PostgreSQL Flex API (deprecated) +STACKIT PostgreSQL Flex API -⚠️ This API is deprecated. It will be retired on 01.07.2027. Please use the STACKIT PostgreSQL Flex API v2 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 1.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/api_default.go b/services/postgresflex/v2api/api_default.go index 428e75ee94..4ecab42001 100644 --- a/services/postgresflex/v2api/api_default.go +++ b/services/postgresflex/v2api/api_default.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud @@ -303,7 +303,7 @@ type DefaultAPI interface { @param projectId The UUID of the project. @param region The region which should be addressed @param instanceId The UUID of the instance. - @param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. + @param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. @return ApiListMetricsRequest */ ListMetrics(ctx context.Context, projectId string, region string, instanceId string, metric string) ApiListMetricsRequest @@ -2881,7 +2881,7 @@ Returns a metric for an instance. The metric will only be for the master pod if @param projectId The UUID of the project. @param region The region which should be addressed @param instanceId The UUID of the instance. - @param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'max-connections', 'connections' and 'disk-use'. + @param metric The name of the metric. Valid metrics are 'cpu', 'memory', 'disk-use', 'disk-size' and 'connections'. @return ApiListMetricsRequest */ func (a *DefaultAPIService) ListMetrics(ctx context.Context, projectId string, region string, instanceId string, metric string) ApiListMetricsRequest { diff --git a/services/postgresflex/v2api/api_default_mock.go b/services/postgresflex/v2api/api_default_mock.go index fabb3151dc..d438a6c507 100644 --- a/services/postgresflex/v2api/api_default_mock.go +++ b/services/postgresflex/v2api/api_default_mock.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/client.go b/services/postgresflex/v2api/client.go index f4bffb7fa9..2be8d367be 100644 --- a/services/postgresflex/v2api/client.go +++ b/services/postgresflex/v2api/client.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/configuration.go b/services/postgresflex/v2api/configuration.go index 73f1e531c3..82bb3453c0 100644 --- a/services/postgresflex/v2api/configuration.go +++ b/services/postgresflex/v2api/configuration.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_acl.go b/services/postgresflex/v2api/model_acl.go index 7253e860fb..487e5bb216 100644 --- a/services/postgresflex/v2api/model_acl.go +++ b/services/postgresflex/v2api/model_acl.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_configuration.go b/services/postgresflex/v2api/model_api_configuration.go index 850e463b85..462bcaf146 100644 --- a/services/postgresflex/v2api/model_api_configuration.go +++ b/services/postgresflex/v2api/model_api_configuration.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_extension_config_load_response.go b/services/postgresflex/v2api/model_api_extension_config_load_response.go index 03b7e61f0d..0e72ecde15 100644 --- a/services/postgresflex/v2api/model_api_extension_config_load_response.go +++ b/services/postgresflex/v2api/model_api_extension_config_load_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_extension_configure_response.go b/services/postgresflex/v2api/model_api_extension_configure_response.go index a13cab34e9..b2d79f1a9a 100644 --- a/services/postgresflex/v2api/model_api_extension_configure_response.go +++ b/services/postgresflex/v2api/model_api_extension_configure_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_extension_delete_response.go b/services/postgresflex/v2api/model_api_extension_delete_response.go index f3f60c25e9..4d08bc29f7 100644 --- a/services/postgresflex/v2api/model_api_extension_delete_response.go +++ b/services/postgresflex/v2api/model_api_extension_delete_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_extension_list.go b/services/postgresflex/v2api/model_api_extension_list.go index 7537ca9ef6..b6e526db84 100644 --- a/services/postgresflex/v2api/model_api_extension_list.go +++ b/services/postgresflex/v2api/model_api_extension_list.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_extension_load_response.go b/services/postgresflex/v2api/model_api_extension_load_response.go index e694d052e6..52be3099fa 100644 --- a/services/postgresflex/v2api/model_api_extension_load_response.go +++ b/services/postgresflex/v2api/model_api_extension_load_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_install_response.go b/services/postgresflex/v2api/model_api_install_response.go index 063e9ceb12..d5feb17ce0 100644 --- a/services/postgresflex/v2api/model_api_install_response.go +++ b/services/postgresflex/v2api/model_api_install_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_api_installed_list_response.go b/services/postgresflex/v2api/model_api_installed_list_response.go index 665ec01127..86e1e348a6 100644 --- a/services/postgresflex/v2api/model_api_installed_list_response.go +++ b/services/postgresflex/v2api/model_api_installed_list_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_backup.go b/services/postgresflex/v2api/model_backup.go index 963a16dd63..9286853592 100644 --- a/services/postgresflex/v2api/model_backup.go +++ b/services/postgresflex/v2api/model_backup.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_clone_instance_payload.go b/services/postgresflex/v2api/model_clone_instance_payload.go index f4ac2ceef8..c44b2ce0e7 100644 --- a/services/postgresflex/v2api/model_clone_instance_payload.go +++ b/services/postgresflex/v2api/model_clone_instance_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_clone_instance_response.go b/services/postgresflex/v2api/model_clone_instance_response.go index 8044f7be7b..b9dce5f46f 100644 --- a/services/postgresflex/v2api/model_clone_instance_response.go +++ b/services/postgresflex/v2api/model_clone_instance_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_create_database_payload.go b/services/postgresflex/v2api/model_create_database_payload.go index 59e841f513..6264ebf015 100644 --- a/services/postgresflex/v2api/model_create_database_payload.go +++ b/services/postgresflex/v2api/model_create_database_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_create_instance_payload.go b/services/postgresflex/v2api/model_create_instance_payload.go index b5bc3512c3..aa4fdc1834 100644 --- a/services/postgresflex/v2api/model_create_instance_payload.go +++ b/services/postgresflex/v2api/model_create_instance_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_create_instance_response.go b/services/postgresflex/v2api/model_create_instance_response.go index a29421ec50..2c3e72c919 100644 --- a/services/postgresflex/v2api/model_create_instance_response.go +++ b/services/postgresflex/v2api/model_create_instance_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_create_user_payload.go b/services/postgresflex/v2api/model_create_user_payload.go index b085a31168..a558c906c8 100644 --- a/services/postgresflex/v2api/model_create_user_payload.go +++ b/services/postgresflex/v2api/model_create_user_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_create_user_response.go b/services/postgresflex/v2api/model_create_user_response.go index 27c0702ce5..fc2d0728e8 100644 --- a/services/postgresflex/v2api/model_create_user_response.go +++ b/services/postgresflex/v2api/model_create_user_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_error.go b/services/postgresflex/v2api/model_error.go index 81cd91da8d..cc8ea47cca 100644 --- a/services/postgresflex/v2api/model_error.go +++ b/services/postgresflex/v2api/model_error.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_extensions_configuration.go b/services/postgresflex/v2api/model_extensions_configuration.go index 4acf6a1fc6..c41d046875 100644 --- a/services/postgresflex/v2api/model_extensions_configuration.go +++ b/services/postgresflex/v2api/model_extensions_configuration.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_extensions_extension_list_response.go b/services/postgresflex/v2api/model_extensions_extension_list_response.go index 644b03e045..d4b4a6140c 100644 --- a/services/postgresflex/v2api/model_extensions_extension_list_response.go +++ b/services/postgresflex/v2api/model_extensions_extension_list_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_extensions_new_config.go b/services/postgresflex/v2api/model_extensions_new_config.go index 767b66bbaf..b89b0c7577 100644 --- a/services/postgresflex/v2api/model_extensions_new_config.go +++ b/services/postgresflex/v2api/model_extensions_new_config.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_flavor.go b/services/postgresflex/v2api/model_flavor.go index 5451dd2e83..e95043c257 100644 --- a/services/postgresflex/v2api/model_flavor.go +++ b/services/postgresflex/v2api/model_flavor.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_get_backup_response.go b/services/postgresflex/v2api/model_get_backup_response.go index 1f5f6a963d..6ac8ad8228 100644 --- a/services/postgresflex/v2api/model_get_backup_response.go +++ b/services/postgresflex/v2api/model_get_backup_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_get_user_response.go b/services/postgresflex/v2api/model_get_user_response.go index 7587a78150..f5f5d00979 100644 --- a/services/postgresflex/v2api/model_get_user_response.go +++ b/services/postgresflex/v2api/model_get_user_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance.go b/services/postgresflex/v2api/model_instance.go index d6ffeb5044..c17a452dfe 100644 --- a/services/postgresflex/v2api/model_instance.go +++ b/services/postgresflex/v2api/model_instance.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_create_database_response.go b/services/postgresflex/v2api/model_instance_create_database_response.go index 8e97ce4fb8..cf2dfe973f 100644 --- a/services/postgresflex/v2api/model_instance_create_database_response.go +++ b/services/postgresflex/v2api/model_instance_create_database_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_data_point.go b/services/postgresflex/v2api/model_instance_data_point.go index 80b8896e58..4c8926f6d1 100644 --- a/services/postgresflex/v2api/model_instance_data_point.go +++ b/services/postgresflex/v2api/model_instance_data_point.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_database.go b/services/postgresflex/v2api/model_instance_database.go index daa25970da..13e0d0752c 100644 --- a/services/postgresflex/v2api/model_instance_database.go +++ b/services/postgresflex/v2api/model_instance_database.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_host.go b/services/postgresflex/v2api/model_instance_host.go index bf0c87e623..25597b6540 100644 --- a/services/postgresflex/v2api/model_instance_host.go +++ b/services/postgresflex/v2api/model_instance_host.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_host_metric.go b/services/postgresflex/v2api/model_instance_host_metric.go index c82aade6f3..0f0c1dc3bb 100644 --- a/services/postgresflex/v2api/model_instance_host_metric.go +++ b/services/postgresflex/v2api/model_instance_host_metric.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_list_databases_response.go b/services/postgresflex/v2api/model_instance_list_databases_response.go index b181af3439..814f2a73b5 100644 --- a/services/postgresflex/v2api/model_instance_list_databases_response.go +++ b/services/postgresflex/v2api/model_instance_list_databases_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_list_instance.go b/services/postgresflex/v2api/model_instance_list_instance.go index e62625da13..19d46676c6 100644 --- a/services/postgresflex/v2api/model_instance_list_instance.go +++ b/services/postgresflex/v2api/model_instance_list_instance.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_metrics_response.go b/services/postgresflex/v2api/model_instance_metrics_response.go index adcbc4e39e..243e9eb3fa 100644 --- a/services/postgresflex/v2api/model_instance_metrics_response.go +++ b/services/postgresflex/v2api/model_instance_metrics_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_instance_response.go b/services/postgresflex/v2api/model_instance_response.go index d73a174e21..162942d787 100644 --- a/services/postgresflex/v2api/model_instance_response.go +++ b/services/postgresflex/v2api/model_instance_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_backups_response.go b/services/postgresflex/v2api/model_list_backups_response.go index 8d5b2e0e96..2dd7d54ea6 100644 --- a/services/postgresflex/v2api/model_list_backups_response.go +++ b/services/postgresflex/v2api/model_list_backups_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_flavors_response.go b/services/postgresflex/v2api/model_list_flavors_response.go index 3f53139415..189a4ca005 100644 --- a/services/postgresflex/v2api/model_list_flavors_response.go +++ b/services/postgresflex/v2api/model_list_flavors_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_instances_response.go b/services/postgresflex/v2api/model_list_instances_response.go index 08c4799cf5..676070f040 100644 --- a/services/postgresflex/v2api/model_list_instances_response.go +++ b/services/postgresflex/v2api/model_list_instances_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_storages_response.go b/services/postgresflex/v2api/model_list_storages_response.go index 4410a39a3c..9836bde56f 100644 --- a/services/postgresflex/v2api/model_list_storages_response.go +++ b/services/postgresflex/v2api/model_list_storages_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_users_response.go b/services/postgresflex/v2api/model_list_users_response.go index e45589dcd3..3ed050ccb5 100644 --- a/services/postgresflex/v2api/model_list_users_response.go +++ b/services/postgresflex/v2api/model_list_users_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_users_response_item.go b/services/postgresflex/v2api/model_list_users_response_item.go index 75bb675ce2..62de90a853 100644 --- a/services/postgresflex/v2api/model_list_users_response_item.go +++ b/services/postgresflex/v2api/model_list_users_response_item.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_list_versions_response.go b/services/postgresflex/v2api/model_list_versions_response.go index 9dd084629e..db781529f8 100644 --- a/services/postgresflex/v2api/model_list_versions_response.go +++ b/services/postgresflex/v2api/model_list_versions_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_partial_update_instance_payload.go b/services/postgresflex/v2api/model_partial_update_instance_payload.go index e20f5488a6..625706a28c 100644 --- a/services/postgresflex/v2api/model_partial_update_instance_payload.go +++ b/services/postgresflex/v2api/model_partial_update_instance_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_partial_update_instance_response.go b/services/postgresflex/v2api/model_partial_update_instance_response.go index 8a7e37a58e..6bda60e715 100644 --- a/services/postgresflex/v2api/model_partial_update_instance_response.go +++ b/services/postgresflex/v2api/model_partial_update_instance_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_partial_update_user_payload.go b/services/postgresflex/v2api/model_partial_update_user_payload.go index f13b133385..103bb4021c 100644 --- a/services/postgresflex/v2api/model_partial_update_user_payload.go +++ b/services/postgresflex/v2api/model_partial_update_user_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_postgres_database_parameter.go b/services/postgresflex/v2api/model_postgres_database_parameter.go index 63df858458..30f0b0c057 100644 --- a/services/postgresflex/v2api/model_postgres_database_parameter.go +++ b/services/postgresflex/v2api/model_postgres_database_parameter.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_postgres_database_parameter_response.go b/services/postgresflex/v2api/model_postgres_database_parameter_response.go index d3df75a117..5c5b42918e 100644 --- a/services/postgresflex/v2api/model_postgres_database_parameter_response.go +++ b/services/postgresflex/v2api/model_postgres_database_parameter_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_reset_user_response.go b/services/postgresflex/v2api/model_reset_user_response.go index 82b3118399..269328e23f 100644 --- a/services/postgresflex/v2api/model_reset_user_response.go +++ b/services/postgresflex/v2api/model_reset_user_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_storage.go b/services/postgresflex/v2api/model_storage.go index 72a0a69592..9da22b68d9 100644 --- a/services/postgresflex/v2api/model_storage.go +++ b/services/postgresflex/v2api/model_storage.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_storage_range.go b/services/postgresflex/v2api/model_storage_range.go index c3eb59e51a..9a0fe77f52 100644 --- a/services/postgresflex/v2api/model_storage_range.go +++ b/services/postgresflex/v2api/model_storage_range.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_storage_update.go b/services/postgresflex/v2api/model_storage_update.go index e09d1475af..266a8ee14f 100644 --- a/services/postgresflex/v2api/model_storage_update.go +++ b/services/postgresflex/v2api/model_storage_update.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud @@ -21,7 +21,6 @@ var _ MappedNullable = &StorageUpdate{} // StorageUpdate struct for StorageUpdate type StorageUpdate struct { // ⚠️ **DEPRECATED AND NON-FUNCTIONAL:** Updating the performance class field is not possible. - // Deprecated Class *string `json:"class,omitempty"` Size *int64 `json:"size,omitempty"` AdditionalProperties map[string]interface{} @@ -47,7 +46,6 @@ func NewStorageUpdateWithDefaults() *StorageUpdate { } // GetClass returns the Class field value if set, zero value otherwise. -// Deprecated func (o *StorageUpdate) GetClass() string { if o == nil || IsNil(o.Class) { var ret string @@ -58,7 +56,6 @@ func (o *StorageUpdate) GetClass() string { // GetClassOk returns a tuple with the Class field value if set, nil otherwise // and a boolean to check if the value has been set. -// Deprecated func (o *StorageUpdate) GetClassOk() (*string, bool) { if o == nil || IsNil(o.Class) { return nil, false @@ -76,7 +73,6 @@ func (o *StorageUpdate) HasClass() bool { } // SetClass gets a reference to the given string and assigns it to the Class field. -// Deprecated func (o *StorageUpdate) SetClass(v string) { o.Class = &v } diff --git a/services/postgresflex/v2api/model_update_backup_schedule_payload.go b/services/postgresflex/v2api/model_update_backup_schedule_payload.go index 63d0735999..c20383ccd3 100644 --- a/services/postgresflex/v2api/model_update_backup_schedule_payload.go +++ b/services/postgresflex/v2api/model_update_backup_schedule_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_update_instance_payload.go b/services/postgresflex/v2api/model_update_instance_payload.go index 1e84279132..dc1e4c1841 100644 --- a/services/postgresflex/v2api/model_update_instance_payload.go +++ b/services/postgresflex/v2api/model_update_instance_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_update_user_payload.go b/services/postgresflex/v2api/model_update_user_payload.go index f6d0e7a1ff..44ffdbbb99 100644 --- a/services/postgresflex/v2api/model_update_user_payload.go +++ b/services/postgresflex/v2api/model_update_user_payload.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_user.go b/services/postgresflex/v2api/model_user.go index e05e6298b4..170098e443 100644 --- a/services/postgresflex/v2api/model_user.go +++ b/services/postgresflex/v2api/model_user.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/model_user_response.go b/services/postgresflex/v2api/model_user_response.go index 65da0d981c..5809aed088 100644 --- a/services/postgresflex/v2api/model_user_response.go +++ b/services/postgresflex/v2api/model_user_response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/response.go b/services/postgresflex/v2api/response.go index 8c5f647975..9dcdc3bb2c 100644 --- a/services/postgresflex/v2api/response.go +++ b/services/postgresflex/v2api/response.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud diff --git a/services/postgresflex/v2api/utils.go b/services/postgresflex/v2api/utils.go index b455ded95e..acb7bc86a3 100644 --- a/services/postgresflex/v2api/utils.go +++ b/services/postgresflex/v2api/utils.go @@ -1,7 +1,7 @@ /* STACKIT PostgreSQL Flex API (deprecated) -⚠️ This API is deprecated. It will be retired on 01.08.2027. Please use the STACKIT PostgreSQL Flex API v3 instead. +> This is the documentation for the STACKIT postgres service > **DEPRECATED & EOL NOTICE** > This api is deprecated as of **30-09-2026** and will reach End of Life (EOL) on **30-09-2027** > Please migrate to [`{api_url}/v3/`]. API version: 2.0.0 Contact: support@stackit.cloud