11# coding: utf-8
22
33"""
4- STACKIT Redis API
4+ STACKIT Redis API
55
6- The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+ The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8- The version of the OpenAPI document: 2.1.0
9- Generated by OpenAPI Generator (https://openapi-generator.tech)
8+ The version of the OpenAPI document: 2.1.0
9+ Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11- Do not edit the class manually.
11+ Do not edit the class manually.
1212""" # noqa: E501
1313
1414from typing import Any , Dict , List , Optional , Tuple , Union
2525
2626from stackit .redis .api_client import ApiClient , RequestSerialized
2727from stackit .redis .api_response import ApiResponse
28+ from stackit .redis .models .backup import Backup
2829from stackit .redis .models .create_backup_response_item import CreateBackupResponseItem
2930from stackit .redis .models .create_credentials_payload import CreateCredentialsPayload
3031from stackit .redis .models .create_instance_payload import CreateInstancePayload
3132from stackit .redis .models .create_instance_response import CreateInstanceResponse
3233from stackit .redis .models .credentials_response import CredentialsResponse
3334from stackit .redis .models .get_metrics_response import GetMetricsResponse
3435from stackit .redis .models .instance import Instance
35- from stackit .redis .models .list_backups_response import ListBackupsResponse
3636from stackit .redis .models .list_credentials_response import ListCredentialsResponse
3737from stackit .redis .models .list_instances_response import ListInstancesResponse
3838from stackit .redis .models .list_offerings_response import ListOfferingsResponse
@@ -2550,7 +2550,7 @@ def list_backups(
25502550 _content_type : Optional [StrictStr ] = None ,
25512551 _headers : Optional [Dict [StrictStr , Any ]] = None ,
25522552 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
2553- ) -> ListBackupsResponse :
2553+ ) -> List [ Backup ] :
25542554 """get latest backup information for provided instanceId
25552555
25562556
@@ -2593,7 +2593,7 @@ def list_backups(
25932593 )
25942594
25952595 _response_types_map : Dict [str , Optional [str ]] = {
2596- "200" : "ListBackupsResponse " ,
2596+ "200" : "List[Backup] " ,
25972597 "400" : "Error" ,
25982598 "401" : "Error" ,
25992599 "404" : "Error" ,
@@ -2620,7 +2620,7 @@ def list_backups_with_http_info(
26202620 _content_type : Optional [StrictStr ] = None ,
26212621 _headers : Optional [Dict [StrictStr , Any ]] = None ,
26222622 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
2623- ) -> ApiResponse [ListBackupsResponse ]:
2623+ ) -> ApiResponse [List [ Backup ] ]:
26242624 """get latest backup information for provided instanceId
26252625
26262626
@@ -2663,7 +2663,7 @@ def list_backups_with_http_info(
26632663 )
26642664
26652665 _response_types_map : Dict [str , Optional [str ]] = {
2666- "200" : "ListBackupsResponse " ,
2666+ "200" : "List[Backup] " ,
26672667 "400" : "Error" ,
26682668 "401" : "Error" ,
26692669 "404" : "Error" ,
@@ -2733,7 +2733,7 @@ def list_backups_without_preload_content(
27332733 )
27342734
27352735 _response_types_map : Dict [str , Optional [str ]] = {
2736- "200" : "ListBackupsResponse " ,
2736+ "200" : "List[Backup] " ,
27372737 "400" : "Error" ,
27382738 "401" : "Error" ,
27392739 "404" : "Error" ,
0 commit comments