ionoscloud-dbaas-postgres 2.0.0b1__tar.gz → 3.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/PKG-INFO +3 -2
  2. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/README.md +2 -1
  3. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/__init__.py +2 -1
  4. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/backups_api.py +21 -12
  5. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/clusters_api.py +56 -32
  6. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/databases_api.py +28 -16
  7. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/logs_api.py +7 -4
  8. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/metadata_api.py +21 -12
  9. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/restores_api.py +7 -4
  10. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/users_api.py +35 -20
  11. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api_client.py +1 -1
  12. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/configuration.py +1 -1
  13. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/__init__.py +1 -0
  14. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_properties.py +2 -2
  15. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/create_cluster_properties.py +4 -4
  16. ionoscloud_dbaas_postgres-3.0.0/ionoscloud_dbaas_postgres/models/create_synchronization_mode.py +37 -0
  17. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/patch_cluster_properties.py +7 -4
  18. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/synchronization_mode.py +1 -1
  19. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/pyproject.toml +1 -1
  20. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/LICENSE +0 -0
  21. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api/__init__.py +0 -0
  22. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/api_response.py +0 -0
  23. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/exceptions.py +0 -0
  24. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/api_version.py +0 -0
  25. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/backup_metadata.py +0 -0
  26. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/backup_response.py +0 -0
  27. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_backup.py +0 -0
  28. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_backup_list.py +0 -0
  29. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_list.py +0 -0
  30. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_logs.py +0 -0
  31. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_logs_instances_inner.py +0 -0
  32. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_logs_instances_inner_messages_inner.py +0 -0
  33. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_metadata.py +0 -0
  34. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/cluster_response.py +0 -0
  35. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/connection.py +0 -0
  36. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/connection_pooler.py +0 -0
  37. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/create_cluster_request.py +0 -0
  38. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/create_restore_request.py +0 -0
  39. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/database.py +0 -0
  40. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/database_items.py +0 -0
  41. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/database_list.py +0 -0
  42. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/database_properties.py +0 -0
  43. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/database_resource.py +0 -0
  44. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/day_of_the_week.py +0 -0
  45. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/db_user.py +0 -0
  46. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/deprecated_pagination.py +0 -0
  47. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/error_message.py +0 -0
  48. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/error_response.py +0 -0
  49. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/maintenance_window.py +0 -0
  50. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/metadata.py +0 -0
  51. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/pagination.py +0 -0
  52. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/pagination_links.py +0 -0
  53. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/patch_cluster_request.py +0 -0
  54. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/patch_user_properties.py +0 -0
  55. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/pool_mode.py +0 -0
  56. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/postgres_version_list.py +0 -0
  57. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/postgres_version_list_data_inner.py +0 -0
  58. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/resource.py +0 -0
  59. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/resource_metadata.py +0 -0
  60. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/resource_type.py +0 -0
  61. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/state.py +0 -0
  62. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/storage_type.py +0 -0
  63. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/user.py +0 -0
  64. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/user_items.py +0 -0
  65. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/user_list.py +0 -0
  66. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/user_properties.py +0 -0
  67. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/user_resource.py +0 -0
  68. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/models/users_patch_request.py +0 -0
  69. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/py.typed +0 -0
  70. {ionoscloud_dbaas_postgres-2.0.0b1 → ionoscloud_dbaas_postgres-3.0.0}/ionoscloud_dbaas_postgres/rest.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ionoscloud_dbaas_postgres
3
- Version: 2.0.0b1
3
+ Version: 3.0.0
4
4
  Summary: IONOS DBaaS PostgreSQL REST API
5
5
  License: NoLicense
6
6
  License-File: LICENSE
@@ -37,7 +37,7 @@ their concepts and lend well to making the experience smooth and intuitive.
37
37
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
38
38
 
39
39
  - API version: 1.0.0
40
- - Package version: 2.0.0-beta.1
40
+ - Package version: 3.0.0
41
41
  - Generator version: 7.13.0-SNAPSHOT
42
42
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
43
43
 
@@ -183,6 +183,7 @@ Class | Method | HTTP request | Description
183
183
  - [CreateClusterProperties](docs/models/CreateClusterProperties.md)
184
184
  - [CreateClusterRequest](docs/models/CreateClusterRequest.md)
185
185
  - [CreateRestoreRequest](docs/models/CreateRestoreRequest.md)
186
+ - [CreateSynchronizationMode](docs/models/CreateSynchronizationMode.md)
186
187
  - [DBUser](docs/models/DBUser.md)
187
188
  - [Database](docs/models/Database.md)
188
189
  - [DatabaseItems](docs/models/DatabaseItems.md)
@@ -12,7 +12,7 @@ their concepts and lend well to making the experience smooth and intuitive.
12
12
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
13
13
 
14
14
  - API version: 1.0.0
15
- - Package version: 2.0.0-beta.1
15
+ - Package version: 3.0.0
16
16
  - Generator version: 7.13.0-SNAPSHOT
17
17
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
18
18
 
@@ -158,6 +158,7 @@ Class | Method | HTTP request | Description
158
158
  - [CreateClusterProperties](docs/models/CreateClusterProperties.md)
159
159
  - [CreateClusterRequest](docs/models/CreateClusterRequest.md)
160
160
  - [CreateRestoreRequest](docs/models/CreateRestoreRequest.md)
161
+ - [CreateSynchronizationMode](docs/models/CreateSynchronizationMode.md)
161
162
  - [DBUser](docs/models/DBUser.md)
162
163
  - [Database](docs/models/Database.md)
163
164
  - [DatabaseItems](docs/models/DatabaseItems.md)
@@ -14,7 +14,7 @@
14
14
  """ # noqa: E501
15
15
 
16
16
 
17
- __version__ = "2.0.0-beta.1"
17
+ __version__ = "3.0.0"
18
18
 
19
19
  # import apis into sdk package
20
20
  from ionoscloud_dbaas_postgres.api.backups_api import BackupsApi
@@ -54,6 +54,7 @@ from ionoscloud_dbaas_postgres.models.connection_pooler import ConnectionPooler
54
54
  from ionoscloud_dbaas_postgres.models.create_cluster_properties import CreateClusterProperties
55
55
  from ionoscloud_dbaas_postgres.models.create_cluster_request import CreateClusterRequest
56
56
  from ionoscloud_dbaas_postgres.models.create_restore_request import CreateRestoreRequest
57
+ from ionoscloud_dbaas_postgres.models.create_synchronization_mode import CreateSynchronizationMode
57
58
  from ionoscloud_dbaas_postgres.models.db_user import DBUser
58
59
  from ionoscloud_dbaas_postgres.models.database import Database
59
60
  from ionoscloud_dbaas_postgres.models.database_items import DatabaseItems
@@ -46,7 +46,7 @@ class BackupsApi:
46
46
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
47
47
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
48
48
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
49
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
49
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
50
50
  _request_timeout: Union[
51
51
  None,
52
52
  Annotated[StrictFloat, Field(gt=0)],
@@ -124,7 +124,7 @@ class BackupsApi:
124
124
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
125
125
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
126
126
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
127
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
127
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
128
128
  _request_timeout: Union[
129
129
  None,
130
130
  Annotated[StrictFloat, Field(gt=0)],
@@ -202,7 +202,7 @@ class BackupsApi:
202
202
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
203
203
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
204
204
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
205
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
205
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
206
206
  _request_timeout: Union[
207
207
  None,
208
208
  Annotated[StrictFloat, Field(gt=0)],
@@ -290,7 +290,10 @@ class BackupsApi:
290
290
  _path_params: Dict[str, str] = {}
291
291
  _query_params: List[Tuple[str, str]] = []
292
292
  if query_params is not None:
293
- _query_params = query_params
293
+ if isinstance(query_params, dict):
294
+ _query_params = list(query_params.items())
295
+ else:
296
+ _query_params = list(query_params)
294
297
  _header_params: Dict[str, Optional[str]] = _headers or {}
295
298
  _form_params: List[Tuple[str, str]] = []
296
299
  _files: Dict[
@@ -352,7 +355,7 @@ class BackupsApi:
352
355
  def clusters_backups_find_by_id(
353
356
  self,
354
357
  backup_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the backup.")],
355
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
358
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
356
359
  _request_timeout: Union[
357
360
  None,
358
361
  Annotated[StrictFloat, Field(gt=0)],
@@ -422,7 +425,7 @@ class BackupsApi:
422
425
  def clusters_backups_find_by_id_with_http_info(
423
426
  self,
424
427
  backup_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the backup.")],
425
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
428
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
426
429
  _request_timeout: Union[
427
430
  None,
428
431
  Annotated[StrictFloat, Field(gt=0)],
@@ -492,7 +495,7 @@ class BackupsApi:
492
495
  def clusters_backups_find_by_id_without_preload_content(
493
496
  self,
494
497
  backup_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the backup.")],
495
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
498
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
496
499
  _request_timeout: Union[
497
500
  None,
498
501
  Annotated[StrictFloat, Field(gt=0)],
@@ -572,7 +575,10 @@ class BackupsApi:
572
575
  _path_params: Dict[str, str] = {}
573
576
  _query_params: List[Tuple[str, str]] = []
574
577
  if query_params is not None:
575
- _query_params = query_params
578
+ if isinstance(query_params, dict):
579
+ _query_params = list(query_params.items())
580
+ else:
581
+ _query_params = list(query_params)
576
582
  _header_params: Dict[str, Optional[str]] = _headers or {}
577
583
  _form_params: List[Tuple[str, str]] = []
578
584
  _files: Dict[
@@ -627,7 +633,7 @@ class BackupsApi:
627
633
  self,
628
634
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
629
635
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
630
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
636
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
631
637
  _request_timeout: Union[
632
638
  None,
633
639
  Annotated[StrictFloat, Field(gt=0)],
@@ -701,7 +707,7 @@ class BackupsApi:
701
707
  self,
702
708
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
703
709
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
704
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
710
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
705
711
  _request_timeout: Union[
706
712
  None,
707
713
  Annotated[StrictFloat, Field(gt=0)],
@@ -775,7 +781,7 @@ class BackupsApi:
775
781
  self,
776
782
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
777
783
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
778
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
784
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
779
785
  _request_timeout: Union[
780
786
  None,
781
787
  Annotated[StrictFloat, Field(gt=0)],
@@ -859,7 +865,10 @@ class BackupsApi:
859
865
  _path_params: Dict[str, str] = {}
860
866
  _query_params: List[Tuple[str, str]] = []
861
867
  if query_params is not None:
862
- _query_params = query_params
868
+ if isinstance(query_params, dict):
869
+ _query_params = list(query_params.items())
870
+ else:
871
+ _query_params = list(query_params)
863
872
  _header_params: Dict[str, Optional[str]] = _headers or {}
864
873
  _form_params: List[Tuple[str, str]] = []
865
874
  _files: Dict[
@@ -47,7 +47,7 @@ class ClustersApi:
47
47
  def cluster_postgres_versions_get(
48
48
  self,
49
49
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
50
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
50
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
51
51
  _request_timeout: Union[
52
52
  None,
53
53
  Annotated[StrictFloat, Field(gt=0)],
@@ -118,7 +118,7 @@ class ClustersApi:
118
118
  def cluster_postgres_versions_get_with_http_info(
119
119
  self,
120
120
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
121
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
121
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
122
122
  _request_timeout: Union[
123
123
  None,
124
124
  Annotated[StrictFloat, Field(gt=0)],
@@ -189,7 +189,7 @@ class ClustersApi:
189
189
  def cluster_postgres_versions_get_without_preload_content(
190
190
  self,
191
191
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
192
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
192
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
193
193
  _request_timeout: Union[
194
194
  None,
195
195
  Annotated[StrictFloat, Field(gt=0)],
@@ -270,7 +270,10 @@ class ClustersApi:
270
270
  _path_params: Dict[str, str] = {}
271
271
  _query_params: List[Tuple[str, str]] = []
272
272
  if query_params is not None:
273
- _query_params = query_params
273
+ if isinstance(query_params, dict):
274
+ _query_params = list(query_params.items())
275
+ else:
276
+ _query_params = list(query_params)
274
277
  _header_params: Dict[str, Optional[str]] = _headers or {}
275
278
  _form_params: List[Tuple[str, str]] = []
276
279
  _files: Dict[
@@ -324,7 +327,7 @@ class ClustersApi:
324
327
  def clusters_delete(
325
328
  self,
326
329
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
327
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
330
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
328
331
  _request_timeout: Union[
329
332
  None,
330
333
  Annotated[StrictFloat, Field(gt=0)],
@@ -394,7 +397,7 @@ class ClustersApi:
394
397
  def clusters_delete_with_http_info(
395
398
  self,
396
399
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
397
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
400
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
398
401
  _request_timeout: Union[
399
402
  None,
400
403
  Annotated[StrictFloat, Field(gt=0)],
@@ -464,7 +467,7 @@ class ClustersApi:
464
467
  def clusters_delete_without_preload_content(
465
468
  self,
466
469
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
467
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
470
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
468
471
  _request_timeout: Union[
469
472
  None,
470
473
  Annotated[StrictFloat, Field(gt=0)],
@@ -544,7 +547,10 @@ class ClustersApi:
544
547
  _path_params: Dict[str, str] = {}
545
548
  _query_params: List[Tuple[str, str]] = []
546
549
  if query_params is not None:
547
- _query_params = query_params
550
+ if isinstance(query_params, dict):
551
+ _query_params = list(query_params.items())
552
+ else:
553
+ _query_params = list(query_params)
548
554
  _header_params: Dict[str, Optional[str]] = _headers or {}
549
555
  _form_params: List[Tuple[str, str]] = []
550
556
  _files: Dict[
@@ -598,7 +604,7 @@ class ClustersApi:
598
604
  def clusters_find_by_id(
599
605
  self,
600
606
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
601
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
607
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
602
608
  _request_timeout: Union[
603
609
  None,
604
610
  Annotated[StrictFloat, Field(gt=0)],
@@ -668,7 +674,7 @@ class ClustersApi:
668
674
  def clusters_find_by_id_with_http_info(
669
675
  self,
670
676
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
671
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
677
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
672
678
  _request_timeout: Union[
673
679
  None,
674
680
  Annotated[StrictFloat, Field(gt=0)],
@@ -738,7 +744,7 @@ class ClustersApi:
738
744
  def clusters_find_by_id_without_preload_content(
739
745
  self,
740
746
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
741
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
747
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
742
748
  _request_timeout: Union[
743
749
  None,
744
750
  Annotated[StrictFloat, Field(gt=0)],
@@ -818,7 +824,10 @@ class ClustersApi:
818
824
  _path_params: Dict[str, str] = {}
819
825
  _query_params: List[Tuple[str, str]] = []
820
826
  if query_params is not None:
821
- _query_params = query_params
827
+ if isinstance(query_params, dict):
828
+ _query_params = list(query_params.items())
829
+ else:
830
+ _query_params = list(query_params)
822
831
  _header_params: Dict[str, Optional[str]] = _headers or {}
823
832
  _form_params: List[Tuple[str, str]] = []
824
833
  _files: Dict[
@@ -874,7 +883,7 @@ class ClustersApi:
874
883
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
875
884
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
876
885
  filter_name: Annotated[Optional[StrictStr], Field(description="Response filter to list only the PostgreSQL clusters that contain the specified name. The value is case insensitive and matched on the 'displayName' field. ")] = None,
877
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
886
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
878
887
  _request_timeout: Union[
879
888
  None,
880
889
  Annotated[StrictFloat, Field(gt=0)],
@@ -952,7 +961,7 @@ class ClustersApi:
952
961
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
953
962
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
954
963
  filter_name: Annotated[Optional[StrictStr], Field(description="Response filter to list only the PostgreSQL clusters that contain the specified name. The value is case insensitive and matched on the 'displayName' field. ")] = None,
955
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
964
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
956
965
  _request_timeout: Union[
957
966
  None,
958
967
  Annotated[StrictFloat, Field(gt=0)],
@@ -1030,7 +1039,7 @@ class ClustersApi:
1030
1039
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
1031
1040
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
1032
1041
  filter_name: Annotated[Optional[StrictStr], Field(description="Response filter to list only the PostgreSQL clusters that contain the specified name. The value is case insensitive and matched on the 'displayName' field. ")] = None,
1033
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1042
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1034
1043
  _request_timeout: Union[
1035
1044
  None,
1036
1045
  Annotated[StrictFloat, Field(gt=0)],
@@ -1118,7 +1127,10 @@ class ClustersApi:
1118
1127
  _path_params: Dict[str, str] = {}
1119
1128
  _query_params: List[Tuple[str, str]] = []
1120
1129
  if query_params is not None:
1121
- _query_params = query_params
1130
+ if isinstance(query_params, dict):
1131
+ _query_params = list(query_params.items())
1132
+ else:
1133
+ _query_params = list(query_params)
1122
1134
  _header_params: Dict[str, Optional[str]] = _headers or {}
1123
1135
  _form_params: List[Tuple[str, str]] = []
1124
1136
  _files: Dict[
@@ -1183,7 +1195,7 @@ class ClustersApi:
1183
1195
  self,
1184
1196
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1185
1197
  patch_cluster_request: Annotated[Optional[PatchClusterRequest], Field(description="Part of the cluster which should be modified.")],
1186
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1198
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1187
1199
  _request_timeout: Union[
1188
1200
  None,
1189
1201
  Annotated[StrictFloat, Field(gt=0)],
@@ -1257,7 +1269,7 @@ class ClustersApi:
1257
1269
  self,
1258
1270
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1259
1271
  patch_cluster_request: Annotated[Optional[PatchClusterRequest], Field(description="Part of the cluster which should be modified.")],
1260
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1272
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1261
1273
  _request_timeout: Union[
1262
1274
  None,
1263
1275
  Annotated[StrictFloat, Field(gt=0)],
@@ -1331,7 +1343,7 @@ class ClustersApi:
1331
1343
  self,
1332
1344
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1333
1345
  patch_cluster_request: Annotated[Optional[PatchClusterRequest], Field(description="Part of the cluster which should be modified.")],
1334
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1346
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1335
1347
  _request_timeout: Union[
1336
1348
  None,
1337
1349
  Annotated[StrictFloat, Field(gt=0)],
@@ -1415,7 +1427,10 @@ class ClustersApi:
1415
1427
  _path_params: Dict[str, str] = {}
1416
1428
  _query_params: List[Tuple[str, str]] = []
1417
1429
  if query_params is not None:
1418
- _query_params = query_params
1430
+ if isinstance(query_params, dict):
1431
+ _query_params = list(query_params.items())
1432
+ else:
1433
+ _query_params = list(query_params)
1419
1434
  _header_params: Dict[str, Optional[str]] = _headers or {}
1420
1435
  _form_params: List[Tuple[str, str]] = []
1421
1436
  _files: Dict[
@@ -1484,7 +1499,7 @@ class ClustersApi:
1484
1499
  def clusters_post(
1485
1500
  self,
1486
1501
  create_cluster_request: Annotated[Optional[CreateClusterRequest], Field(description="The cluster to be created.")],
1487
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1502
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1488
1503
  _request_timeout: Union[
1489
1504
  None,
1490
1505
  Annotated[StrictFloat, Field(gt=0)],
@@ -1554,7 +1569,7 @@ class ClustersApi:
1554
1569
  def clusters_post_with_http_info(
1555
1570
  self,
1556
1571
  create_cluster_request: Annotated[Optional[CreateClusterRequest], Field(description="The cluster to be created.")],
1557
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1572
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1558
1573
  _request_timeout: Union[
1559
1574
  None,
1560
1575
  Annotated[StrictFloat, Field(gt=0)],
@@ -1624,7 +1639,7 @@ class ClustersApi:
1624
1639
  def clusters_post_without_preload_content(
1625
1640
  self,
1626
1641
  create_cluster_request: Annotated[Optional[CreateClusterRequest], Field(description="The cluster to be created.")],
1627
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1642
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1628
1643
  _request_timeout: Union[
1629
1644
  None,
1630
1645
  Annotated[StrictFloat, Field(gt=0)],
@@ -1704,7 +1719,10 @@ class ClustersApi:
1704
1719
  _path_params: Dict[str, str] = {}
1705
1720
  _query_params: List[Tuple[str, str]] = []
1706
1721
  if query_params is not None:
1707
- _query_params = query_params
1722
+ if isinstance(query_params, dict):
1723
+ _query_params = list(query_params.items())
1724
+ else:
1725
+ _query_params = list(query_params)
1708
1726
  _header_params: Dict[str, Optional[str]] = _headers or {}
1709
1727
  _form_params: List[Tuple[str, str]] = []
1710
1728
  _files: Dict[
@@ -1771,7 +1789,7 @@ class ClustersApi:
1771
1789
  def clusters_versions_get(
1772
1790
  self,
1773
1791
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1774
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1792
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1775
1793
  _request_timeout: Union[
1776
1794
  None,
1777
1795
  Annotated[StrictFloat, Field(gt=0)],
@@ -1841,7 +1859,7 @@ class ClustersApi:
1841
1859
  def clusters_versions_get_with_http_info(
1842
1860
  self,
1843
1861
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1844
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1862
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1845
1863
  _request_timeout: Union[
1846
1864
  None,
1847
1865
  Annotated[StrictFloat, Field(gt=0)],
@@ -1911,7 +1929,7 @@ class ClustersApi:
1911
1929
  def clusters_versions_get_without_preload_content(
1912
1930
  self,
1913
1931
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1914
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1932
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1915
1933
  _request_timeout: Union[
1916
1934
  None,
1917
1935
  Annotated[StrictFloat, Field(gt=0)],
@@ -1991,7 +2009,10 @@ class ClustersApi:
1991
2009
  _path_params: Dict[str, str] = {}
1992
2010
  _query_params: List[Tuple[str, str]] = []
1993
2011
  if query_params is not None:
1994
- _query_params = query_params
2012
+ if isinstance(query_params, dict):
2013
+ _query_params = list(query_params.items())
2014
+ else:
2015
+ _query_params = list(query_params)
1995
2016
  _header_params: Dict[str, Optional[str]] = _headers or {}
1996
2017
  _form_params: List[Tuple[str, str]] = []
1997
2018
  _files: Dict[
@@ -2044,7 +2065,7 @@ class ClustersApi:
2044
2065
  @validate_call
2045
2066
  def postgres_versions_get(
2046
2067
  self,
2047
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
2068
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
2048
2069
  _request_timeout: Union[
2049
2070
  None,
2050
2071
  Annotated[StrictFloat, Field(gt=0)],
@@ -2111,7 +2132,7 @@ class ClustersApi:
2111
2132
  @validate_call
2112
2133
  def postgres_versions_get_with_http_info(
2113
2134
  self,
2114
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
2135
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
2115
2136
  _request_timeout: Union[
2116
2137
  None,
2117
2138
  Annotated[StrictFloat, Field(gt=0)],
@@ -2178,7 +2199,7 @@ class ClustersApi:
2178
2199
  @validate_call
2179
2200
  def postgres_versions_get_without_preload_content(
2180
2201
  self,
2181
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
2202
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
2182
2203
  _request_timeout: Union[
2183
2204
  None,
2184
2205
  Annotated[StrictFloat, Field(gt=0)],
@@ -2255,7 +2276,10 @@ class ClustersApi:
2255
2276
  _path_params: Dict[str, str] = {}
2256
2277
  _query_params: List[Tuple[str, str]] = []
2257
2278
  if query_params is not None:
2258
- _query_params = query_params
2279
+ if isinstance(query_params, dict):
2280
+ _query_params = list(query_params.items())
2281
+ else:
2282
+ _query_params = list(query_params)
2259
2283
  _header_params: Dict[str, Optional[str]] = _headers or {}
2260
2284
  _form_params: List[Tuple[str, str]] = []
2261
2285
  _files: Dict[
@@ -46,7 +46,7 @@ class DatabasesApi:
46
46
  self,
47
47
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
48
48
  databasename: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]], Field(description="The database name.")],
49
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
49
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
50
50
  _request_timeout: Union[
51
51
  None,
52
52
  Annotated[StrictFloat, Field(gt=0)],
@@ -119,7 +119,7 @@ class DatabasesApi:
119
119
  self,
120
120
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
121
121
  databasename: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]], Field(description="The database name.")],
122
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
122
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
123
123
  _request_timeout: Union[
124
124
  None,
125
125
  Annotated[StrictFloat, Field(gt=0)],
@@ -192,7 +192,7 @@ class DatabasesApi:
192
192
  self,
193
193
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
194
194
  databasename: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]], Field(description="The database name.")],
195
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
195
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
196
196
  _request_timeout: Union[
197
197
  None,
198
198
  Annotated[StrictFloat, Field(gt=0)],
@@ -275,7 +275,10 @@ class DatabasesApi:
275
275
  _path_params: Dict[str, str] = {}
276
276
  _query_params: List[Tuple[str, str]] = []
277
277
  if query_params is not None:
278
- _query_params = query_params
278
+ if isinstance(query_params, dict):
279
+ _query_params = list(query_params.items())
280
+ else:
281
+ _query_params = list(query_params)
279
282
  _header_params: Dict[str, Optional[str]] = _headers or {}
280
283
  _form_params: List[Tuple[str, str]] = []
281
284
  _files: Dict[
@@ -332,7 +335,7 @@ class DatabasesApi:
332
335
  self,
333
336
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
334
337
  databasename: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]], Field(description="The database name.")],
335
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
338
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
336
339
  _request_timeout: Union[
337
340
  None,
338
341
  Annotated[StrictFloat, Field(gt=0)],
@@ -406,7 +409,7 @@ class DatabasesApi:
406
409
  self,
407
410
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
408
411
  databasename: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]], Field(description="The database name.")],
409
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
412
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
410
413
  _request_timeout: Union[
411
414
  None,
412
415
  Annotated[StrictFloat, Field(gt=0)],
@@ -480,7 +483,7 @@ class DatabasesApi:
480
483
  self,
481
484
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
482
485
  databasename: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True, max_length=63)]], Field(description="The database name.")],
483
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
486
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
484
487
  _request_timeout: Union[
485
488
  None,
486
489
  Annotated[StrictFloat, Field(gt=0)],
@@ -564,7 +567,10 @@ class DatabasesApi:
564
567
  _path_params: Dict[str, str] = {}
565
568
  _query_params: List[Tuple[str, str]] = []
566
569
  if query_params is not None:
567
- _query_params = query_params
570
+ if isinstance(query_params, dict):
571
+ _query_params = list(query_params.items())
572
+ else:
573
+ _query_params = list(query_params)
568
574
  _header_params: Dict[str, Optional[str]] = _headers or {}
569
575
  _form_params: List[Tuple[str, str]] = []
570
576
  _files: Dict[
@@ -622,7 +628,7 @@ class DatabasesApi:
622
628
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
623
629
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
624
630
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
625
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
631
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
626
632
  _request_timeout: Union[
627
633
  None,
628
634
  Annotated[StrictFloat, Field(gt=0)],
@@ -700,7 +706,7 @@ class DatabasesApi:
700
706
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
701
707
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
702
708
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
703
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
709
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
704
710
  _request_timeout: Union[
705
711
  None,
706
712
  Annotated[StrictFloat, Field(gt=0)],
@@ -778,7 +784,7 @@ class DatabasesApi:
778
784
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
779
785
  limit: Annotated[Optional[Annotated[int, Field(le=1000, strict=True, ge=1)]], Field(description="The maximum number of elements to return. Use together with 'offset' for pagination.")] = None,
780
786
  offset: Annotated[Optional[StrictInt], Field(description="The first element to return. Use together with 'limit' for pagination.")] = None,
781
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
787
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
782
788
  _request_timeout: Union[
783
789
  None,
784
790
  Annotated[StrictFloat, Field(gt=0)],
@@ -866,7 +872,10 @@ class DatabasesApi:
866
872
  _path_params: Dict[str, str] = {}
867
873
  _query_params: List[Tuple[str, str]] = []
868
874
  if query_params is not None:
869
- _query_params = query_params
875
+ if isinstance(query_params, dict):
876
+ _query_params = list(query_params.items())
877
+ else:
878
+ _query_params = list(query_params)
870
879
  _header_params: Dict[str, Optional[str]] = _headers or {}
871
880
  _form_params: List[Tuple[str, str]] = []
872
881
  _files: Dict[
@@ -929,7 +938,7 @@ class DatabasesApi:
929
938
  self,
930
939
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
931
940
  database: Annotated[Optional[Database], Field(description="a database to create")],
932
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
941
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
933
942
  _request_timeout: Union[
934
943
  None,
935
944
  Annotated[StrictFloat, Field(gt=0)],
@@ -1003,7 +1012,7 @@ class DatabasesApi:
1003
1012
  self,
1004
1013
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1005
1014
  database: Annotated[Optional[Database], Field(description="a database to create")],
1006
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1015
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1007
1016
  _request_timeout: Union[
1008
1017
  None,
1009
1018
  Annotated[StrictFloat, Field(gt=0)],
@@ -1077,7 +1086,7 @@ class DatabasesApi:
1077
1086
  self,
1078
1087
  cluster_id: Annotated[Optional[StrictStr], Field(description="The unique ID of the cluster.")],
1079
1088
  database: Annotated[Optional[Database], Field(description="a database to create")],
1080
- query_params: Annotated[Optional[List[Tuple[str, str]]], Field(description="Query parameters to be sent on the request.")] = None,
1089
+ query_params: Annotated[Optional[Union[Dict[str, str], List[Tuple[str, str]]]], Field(description="Query parameters to be sent on the request.")] = None,
1081
1090
  _request_timeout: Union[
1082
1091
  None,
1083
1092
  Annotated[StrictFloat, Field(gt=0)],
@@ -1161,7 +1170,10 @@ class DatabasesApi:
1161
1170
  _path_params: Dict[str, str] = {}
1162
1171
  _query_params: List[Tuple[str, str]] = []
1163
1172
  if query_params is not None:
1164
- _query_params = query_params
1173
+ if isinstance(query_params, dict):
1174
+ _query_params = list(query_params.items())
1175
+ else:
1176
+ _query_params = list(query_params)
1165
1177
  _header_params: Dict[str, Optional[str]] = _headers or {}
1166
1178
  _form_params: List[Tuple[str, str]] = []
1167
1179
  _files: Dict[