2525
2626from stackit .opensearch .api_client import ApiClient , RequestSerialized
2727from stackit .opensearch .api_response import ApiResponse
28+ from stackit .opensearch .models .backup import Backup
2829from stackit .opensearch .models .create_backup_response_item import (
2930 CreateBackupResponseItem ,
3031)
3637from stackit .opensearch .models .credentials_response import CredentialsResponse
3738from stackit .opensearch .models .get_metrics_response import GetMetricsResponse
3839from stackit .opensearch .models .instance import Instance
39- from stackit .opensearch .models .list_backups_response import ListBackupsResponse
4040from stackit .opensearch .models .list_credentials_response import ListCredentialsResponse
4141from stackit .opensearch .models .list_instances_response import ListInstancesResponse
4242from stackit .opensearch .models .list_offerings_response import ListOfferingsResponse
@@ -2554,7 +2554,7 @@ def list_backups(
25542554 _content_type : Optional [StrictStr ] = None ,
25552555 _headers : Optional [Dict [StrictStr , Any ]] = None ,
25562556 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
2557- ) -> ListBackupsResponse :
2557+ ) -> List [ Backup ] :
25582558 """get latest backup information for provided instanceId
25592559
25602560
@@ -2597,7 +2597,7 @@ def list_backups(
25972597 )
25982598
25992599 _response_types_map : Dict [str , Optional [str ]] = {
2600- "200" : "ListBackupsResponse " ,
2600+ "200" : "List[Backup] " ,
26012601 "400" : "Error" ,
26022602 "401" : "Error" ,
26032603 "404" : "Error" ,
@@ -2624,7 +2624,7 @@ def list_backups_with_http_info(
26242624 _content_type : Optional [StrictStr ] = None ,
26252625 _headers : Optional [Dict [StrictStr , Any ]] = None ,
26262626 _host_index : Annotated [StrictInt , Field (ge = 0 , le = 0 )] = 0 ,
2627- ) -> ApiResponse [ListBackupsResponse ]:
2627+ ) -> ApiResponse [List [ Backup ] ]:
26282628 """get latest backup information for provided instanceId
26292629
26302630
@@ -2667,7 +2667,7 @@ def list_backups_with_http_info(
26672667 )
26682668
26692669 _response_types_map : Dict [str , Optional [str ]] = {
2670- "200" : "ListBackupsResponse " ,
2670+ "200" : "List[Backup] " ,
26712671 "400" : "Error" ,
26722672 "401" : "Error" ,
26732673 "404" : "Error" ,
@@ -2737,7 +2737,7 @@ def list_backups_without_preload_content(
27372737 )
27382738
27392739 _response_types_map : Dict [str , Optional [str ]] = {
2740- "200" : "ListBackupsResponse " ,
2740+ "200" : "List[Backup] " ,
27412741 "400" : "Error" ,
27422742 "401" : "Error" ,
27432743 "404" : "Error" ,
0 commit comments