|
12 | 12 | Generated by OpenAPI Generator (https://openapi-generator.tech)
|
13 | 13 |
|
14 | 14 | Do not edit the class manually.
|
15 |
| -""" # noqa: E501 docstring might be too long |
| 15 | +""" # noqa: E501 |
16 | 16 |
|
17 | 17 |
|
18 | 18 | __version__ = "1.0.0"
|
19 | 19 |
|
| 20 | +# Define package exports |
| 21 | +__all__ = [ |
| 22 | + "DefaultApi", |
| 23 | + "ApiResponse", |
| 24 | + "ApiClient", |
| 25 | + "HostConfiguration", |
| 26 | + "OpenApiException", |
| 27 | + "ApiTypeError", |
| 28 | + "ApiValueError", |
| 29 | + "ApiKeyError", |
| 30 | + "ApiAttributeError", |
| 31 | + "ApiException", |
| 32 | + "ACL", |
| 33 | + "ApiConfiguration", |
| 34 | + "ApiExtensionConfigLoadResponse", |
| 35 | + "ApiExtensionConfigureResponse", |
| 36 | + "ApiExtensionDeleteResponse", |
| 37 | + "ApiExtensionList", |
| 38 | + "ApiExtensionLoadResponse", |
| 39 | + "ApiInstallResponse", |
| 40 | + "ApiInstalledListResponse", |
| 41 | + "Backup", |
| 42 | + "CloneInstancePayload", |
| 43 | + "CloneInstanceResponse", |
| 44 | + "CreateDatabasePayload", |
| 45 | + "CreateInstancePayload", |
| 46 | + "CreateInstanceResponse", |
| 47 | + "CreateUserPayload", |
| 48 | + "CreateUserResponse", |
| 49 | + "Error", |
| 50 | + "ExtensionsConfiguration", |
| 51 | + "ExtensionsExtensionListResponse", |
| 52 | + "ExtensionsNewConfig", |
| 53 | + "Flavor", |
| 54 | + "GetBackupResponse", |
| 55 | + "GetUserResponse", |
| 56 | + "Instance", |
| 57 | + "InstanceCreateDatabaseResponse", |
| 58 | + "InstanceDataPoint", |
| 59 | + "InstanceDatabase", |
| 60 | + "InstanceHost", |
| 61 | + "InstanceHostMetric", |
| 62 | + "InstanceListDatabasesResponse", |
| 63 | + "InstanceListInstance", |
| 64 | + "InstanceMetricsResponse", |
| 65 | + "InstanceResponse", |
| 66 | + "ListBackupsResponse", |
| 67 | + "ListFlavorsResponse", |
| 68 | + "ListInstancesResponse", |
| 69 | + "ListStoragesResponse", |
| 70 | + "ListUsersResponse", |
| 71 | + "ListUsersResponseItem", |
| 72 | + "ListVersionsResponse", |
| 73 | + "PartialUpdateInstancePayload", |
| 74 | + "PartialUpdateInstanceResponse", |
| 75 | + "PartialUpdateUserPayload", |
| 76 | + "PostgresDatabaseParameter", |
| 77 | + "PostgresDatabaseParameterResponse", |
| 78 | + "ResetUserResponse", |
| 79 | + "Storage", |
| 80 | + "StorageRange", |
| 81 | + "UpdateBackupSchedulePayload", |
| 82 | + "UpdateInstancePayload", |
| 83 | + "UpdateUserPayload", |
| 84 | + "User", |
| 85 | + "UserResponse", |
| 86 | +] |
| 87 | + |
20 | 88 | # import apis into sdk package
|
21 |
| -from stackit.postgresflex.api.default_api import DefaultApi |
22 |
| -from stackit.postgresflex.api_client import ApiClient |
| 89 | +from stackit.postgresflex.api.default_api import DefaultApi as DefaultApi |
| 90 | +from stackit.postgresflex.api_client import ApiClient as ApiClient |
23 | 91 |
|
24 | 92 | # import ApiClient
|
25 |
| -from stackit.postgresflex.api_response import ApiResponse |
26 |
| -from stackit.postgresflex.configuration import HostConfiguration |
27 |
| -from stackit.postgresflex.exceptions import ( |
28 |
| - ApiAttributeError, |
29 |
| - ApiException, |
30 |
| - ApiKeyError, |
31 |
| - ApiTypeError, |
32 |
| - ApiValueError, |
33 |
| - OpenApiException, |
34 |
| -) |
| 93 | +from stackit.postgresflex.api_response import ApiResponse as ApiResponse |
| 94 | +from stackit.postgresflex.configuration import HostConfiguration as HostConfiguration |
| 95 | +from stackit.postgresflex.exceptions import ApiAttributeError as ApiAttributeError |
| 96 | +from stackit.postgresflex.exceptions import ApiException as ApiException |
| 97 | +from stackit.postgresflex.exceptions import ApiKeyError as ApiKeyError |
| 98 | +from stackit.postgresflex.exceptions import ApiTypeError as ApiTypeError |
| 99 | +from stackit.postgresflex.exceptions import ApiValueError as ApiValueError |
| 100 | +from stackit.postgresflex.exceptions import OpenApiException as OpenApiException |
35 | 101 |
|
36 | 102 | # import models into sdk package
|
37 |
| -from stackit.postgresflex.models.acl import ACL |
38 |
| -from stackit.postgresflex.models.api_configuration import ApiConfiguration |
| 103 | +from stackit.postgresflex.models.acl import ACL as ACL |
| 104 | +from stackit.postgresflex.models.api_configuration import ( |
| 105 | + ApiConfiguration as ApiConfiguration, |
| 106 | +) |
39 | 107 | from stackit.postgresflex.models.api_extension_config_load_response import (
|
40 |
| - ApiExtensionConfigLoadResponse, |
| 108 | + ApiExtensionConfigLoadResponse as ApiExtensionConfigLoadResponse, |
41 | 109 | )
|
42 | 110 | from stackit.postgresflex.models.api_extension_configure_response import (
|
43 |
| - ApiExtensionConfigureResponse, |
| 111 | + ApiExtensionConfigureResponse as ApiExtensionConfigureResponse, |
44 | 112 | )
|
45 | 113 | from stackit.postgresflex.models.api_extension_delete_response import (
|
46 |
| - ApiExtensionDeleteResponse, |
| 114 | + ApiExtensionDeleteResponse as ApiExtensionDeleteResponse, |
| 115 | +) |
| 116 | +from stackit.postgresflex.models.api_extension_list import ( |
| 117 | + ApiExtensionList as ApiExtensionList, |
47 | 118 | )
|
48 |
| -from stackit.postgresflex.models.api_extension_list import ApiExtensionList |
49 | 119 | from stackit.postgresflex.models.api_extension_load_response import (
|
50 |
| - ApiExtensionLoadResponse, |
| 120 | + ApiExtensionLoadResponse as ApiExtensionLoadResponse, |
| 121 | +) |
| 122 | +from stackit.postgresflex.models.api_install_response import ( |
| 123 | + ApiInstallResponse as ApiInstallResponse, |
51 | 124 | )
|
52 |
| -from stackit.postgresflex.models.api_install_response import ApiInstallResponse |
53 | 125 | from stackit.postgresflex.models.api_installed_list_response import (
|
54 |
| - ApiInstalledListResponse, |
55 |
| -) |
56 |
| -from stackit.postgresflex.models.backup import Backup |
57 |
| -from stackit.postgresflex.models.clone_instance_payload import CloneInstancePayload |
58 |
| -from stackit.postgresflex.models.clone_instance_response import CloneInstanceResponse |
59 |
| -from stackit.postgresflex.models.create_database_payload import CreateDatabasePayload |
60 |
| -from stackit.postgresflex.models.create_instance_payload import CreateInstancePayload |
61 |
| -from stackit.postgresflex.models.create_instance_response import CreateInstanceResponse |
62 |
| -from stackit.postgresflex.models.create_user_payload import CreateUserPayload |
63 |
| -from stackit.postgresflex.models.create_user_response import CreateUserResponse |
64 |
| -from stackit.postgresflex.models.error import Error |
65 |
| -from stackit.postgresflex.models.extensions_configuration import ExtensionsConfiguration |
| 126 | + ApiInstalledListResponse as ApiInstalledListResponse, |
| 127 | +) |
| 128 | +from stackit.postgresflex.models.backup import Backup as Backup |
| 129 | +from stackit.postgresflex.models.clone_instance_payload import ( |
| 130 | + CloneInstancePayload as CloneInstancePayload, |
| 131 | +) |
| 132 | +from stackit.postgresflex.models.clone_instance_response import ( |
| 133 | + CloneInstanceResponse as CloneInstanceResponse, |
| 134 | +) |
| 135 | +from stackit.postgresflex.models.create_database_payload import ( |
| 136 | + CreateDatabasePayload as CreateDatabasePayload, |
| 137 | +) |
| 138 | +from stackit.postgresflex.models.create_instance_payload import ( |
| 139 | + CreateInstancePayload as CreateInstancePayload, |
| 140 | +) |
| 141 | +from stackit.postgresflex.models.create_instance_response import ( |
| 142 | + CreateInstanceResponse as CreateInstanceResponse, |
| 143 | +) |
| 144 | +from stackit.postgresflex.models.create_user_payload import ( |
| 145 | + CreateUserPayload as CreateUserPayload, |
| 146 | +) |
| 147 | +from stackit.postgresflex.models.create_user_response import ( |
| 148 | + CreateUserResponse as CreateUserResponse, |
| 149 | +) |
| 150 | +from stackit.postgresflex.models.error import Error as Error |
| 151 | +from stackit.postgresflex.models.extensions_configuration import ( |
| 152 | + ExtensionsConfiguration as ExtensionsConfiguration, |
| 153 | +) |
66 | 154 | from stackit.postgresflex.models.extensions_extension_list_response import (
|
67 |
| - ExtensionsExtensionListResponse, |
| 155 | + ExtensionsExtensionListResponse as ExtensionsExtensionListResponse, |
| 156 | +) |
| 157 | +from stackit.postgresflex.models.extensions_new_config import ( |
| 158 | + ExtensionsNewConfig as ExtensionsNewConfig, |
| 159 | +) |
| 160 | +from stackit.postgresflex.models.flavor import Flavor as Flavor |
| 161 | +from stackit.postgresflex.models.get_backup_response import ( |
| 162 | + GetBackupResponse as GetBackupResponse, |
| 163 | +) |
| 164 | +from stackit.postgresflex.models.get_user_response import ( |
| 165 | + GetUserResponse as GetUserResponse, |
68 | 166 | )
|
69 |
| -from stackit.postgresflex.models.extensions_new_config import ExtensionsNewConfig |
70 |
| -from stackit.postgresflex.models.flavor import Flavor |
71 |
| -from stackit.postgresflex.models.get_backup_response import GetBackupResponse |
72 |
| -from stackit.postgresflex.models.get_user_response import GetUserResponse |
73 |
| -from stackit.postgresflex.models.instance import Instance |
| 167 | +from stackit.postgresflex.models.instance import Instance as Instance |
74 | 168 | from stackit.postgresflex.models.instance_create_database_response import (
|
75 |
| - InstanceCreateDatabaseResponse, |
| 169 | + InstanceCreateDatabaseResponse as InstanceCreateDatabaseResponse, |
| 170 | +) |
| 171 | +from stackit.postgresflex.models.instance_data_point import ( |
| 172 | + InstanceDataPoint as InstanceDataPoint, |
| 173 | +) |
| 174 | +from stackit.postgresflex.models.instance_database import ( |
| 175 | + InstanceDatabase as InstanceDatabase, |
| 176 | +) |
| 177 | +from stackit.postgresflex.models.instance_host import InstanceHost as InstanceHost |
| 178 | +from stackit.postgresflex.models.instance_host_metric import ( |
| 179 | + InstanceHostMetric as InstanceHostMetric, |
76 | 180 | )
|
77 |
| -from stackit.postgresflex.models.instance_data_point import InstanceDataPoint |
78 |
| -from stackit.postgresflex.models.instance_database import InstanceDatabase |
79 |
| -from stackit.postgresflex.models.instance_host import InstanceHost |
80 |
| -from stackit.postgresflex.models.instance_host_metric import InstanceHostMetric |
81 | 181 | from stackit.postgresflex.models.instance_list_databases_response import (
|
82 |
| - InstanceListDatabasesResponse, |
| 182 | + InstanceListDatabasesResponse as InstanceListDatabasesResponse, |
| 183 | +) |
| 184 | +from stackit.postgresflex.models.instance_list_instance import ( |
| 185 | + InstanceListInstance as InstanceListInstance, |
83 | 186 | )
|
84 |
| -from stackit.postgresflex.models.instance_list_instance import InstanceListInstance |
85 | 187 | from stackit.postgresflex.models.instance_metrics_response import (
|
86 |
| - InstanceMetricsResponse, |
87 |
| -) |
88 |
| -from stackit.postgresflex.models.instance_response import InstanceResponse |
89 |
| -from stackit.postgresflex.models.list_backups_response import ListBackupsResponse |
90 |
| -from stackit.postgresflex.models.list_flavors_response import ListFlavorsResponse |
91 |
| -from stackit.postgresflex.models.list_instances_response import ListInstancesResponse |
92 |
| -from stackit.postgresflex.models.list_storages_response import ListStoragesResponse |
93 |
| -from stackit.postgresflex.models.list_users_response import ListUsersResponse |
94 |
| -from stackit.postgresflex.models.list_users_response_item import ListUsersResponseItem |
95 |
| -from stackit.postgresflex.models.list_versions_response import ListVersionsResponse |
| 188 | + InstanceMetricsResponse as InstanceMetricsResponse, |
| 189 | +) |
| 190 | +from stackit.postgresflex.models.instance_response import ( |
| 191 | + InstanceResponse as InstanceResponse, |
| 192 | +) |
| 193 | +from stackit.postgresflex.models.list_backups_response import ( |
| 194 | + ListBackupsResponse as ListBackupsResponse, |
| 195 | +) |
| 196 | +from stackit.postgresflex.models.list_flavors_response import ( |
| 197 | + ListFlavorsResponse as ListFlavorsResponse, |
| 198 | +) |
| 199 | +from stackit.postgresflex.models.list_instances_response import ( |
| 200 | + ListInstancesResponse as ListInstancesResponse, |
| 201 | +) |
| 202 | +from stackit.postgresflex.models.list_storages_response import ( |
| 203 | + ListStoragesResponse as ListStoragesResponse, |
| 204 | +) |
| 205 | +from stackit.postgresflex.models.list_users_response import ( |
| 206 | + ListUsersResponse as ListUsersResponse, |
| 207 | +) |
| 208 | +from stackit.postgresflex.models.list_users_response_item import ( |
| 209 | + ListUsersResponseItem as ListUsersResponseItem, |
| 210 | +) |
| 211 | +from stackit.postgresflex.models.list_versions_response import ( |
| 212 | + ListVersionsResponse as ListVersionsResponse, |
| 213 | +) |
96 | 214 | from stackit.postgresflex.models.partial_update_instance_payload import (
|
97 |
| - PartialUpdateInstancePayload, |
| 215 | + PartialUpdateInstancePayload as PartialUpdateInstancePayload, |
98 | 216 | )
|
99 | 217 | from stackit.postgresflex.models.partial_update_instance_response import (
|
100 |
| - PartialUpdateInstanceResponse, |
| 218 | + PartialUpdateInstanceResponse as PartialUpdateInstanceResponse, |
101 | 219 | )
|
102 | 220 | from stackit.postgresflex.models.partial_update_user_payload import (
|
103 |
| - PartialUpdateUserPayload, |
| 221 | + PartialUpdateUserPayload as PartialUpdateUserPayload, |
104 | 222 | )
|
105 | 223 | from stackit.postgresflex.models.postgres_database_parameter import (
|
106 |
| - PostgresDatabaseParameter, |
| 224 | + PostgresDatabaseParameter as PostgresDatabaseParameter, |
107 | 225 | )
|
108 | 226 | from stackit.postgresflex.models.postgres_database_parameter_response import (
|
109 |
| - PostgresDatabaseParameterResponse, |
| 227 | + PostgresDatabaseParameterResponse as PostgresDatabaseParameterResponse, |
| 228 | +) |
| 229 | +from stackit.postgresflex.models.reset_user_response import ( |
| 230 | + ResetUserResponse as ResetUserResponse, |
110 | 231 | )
|
111 |
| -from stackit.postgresflex.models.reset_user_response import ResetUserResponse |
112 |
| -from stackit.postgresflex.models.storage import Storage |
113 |
| -from stackit.postgresflex.models.storage_range import StorageRange |
| 232 | +from stackit.postgresflex.models.storage import Storage as Storage |
| 233 | +from stackit.postgresflex.models.storage_range import StorageRange as StorageRange |
114 | 234 | from stackit.postgresflex.models.update_backup_schedule_payload import (
|
115 |
| - UpdateBackupSchedulePayload, |
| 235 | + UpdateBackupSchedulePayload as UpdateBackupSchedulePayload, |
| 236 | +) |
| 237 | +from stackit.postgresflex.models.update_instance_payload import ( |
| 238 | + UpdateInstancePayload as UpdateInstancePayload, |
| 239 | +) |
| 240 | +from stackit.postgresflex.models.update_user_payload import ( |
| 241 | + UpdateUserPayload as UpdateUserPayload, |
116 | 242 | )
|
117 |
| -from stackit.postgresflex.models.update_instance_payload import UpdateInstancePayload |
118 |
| -from stackit.postgresflex.models.update_user_payload import UpdateUserPayload |
119 |
| -from stackit.postgresflex.models.user import User |
120 |
| -from stackit.postgresflex.models.user_response import UserResponse |
| 243 | +from stackit.postgresflex.models.user import User as User |
| 244 | +from stackit.postgresflex.models.user_response import UserResponse as UserResponse |
0 commit comments