|
11 | 11 | Generated by OpenAPI Generator (https://openapi-generator.tech) |
12 | 12 |
|
13 | 13 | Do not edit the class manually. |
14 | | -"""# noqa: E501 docstring might be too long |
| 14 | +"""# noqa: E501 |
15 | 15 |
|
16 | 16 |
|
17 | 17 | __version__="1.0.0" |
18 | 18 |
|
| 19 | +# Define package exports |
| 20 | +__all__= [ |
| 21 | +"DefaultApi", |
| 22 | +"ApiResponse", |
| 23 | +"ApiClient", |
| 24 | +"HostConfiguration", |
| 25 | +"OpenApiException", |
| 26 | +"ApiTypeError", |
| 27 | +"ApiValueError", |
| 28 | +"ApiKeyError", |
| 29 | +"ApiAttributeError", |
| 30 | +"ApiException", |
| 31 | +"Backup", |
| 32 | +"CreateBackupResponseItem", |
| 33 | +"CreateInstancePayload", |
| 34 | +"CreateInstanceResponse", |
| 35 | +"Credentials", |
| 36 | +"CredentialsListItem", |
| 37 | +"CredentialsResponse", |
| 38 | +"Error", |
| 39 | +"GetMetricsResponse", |
| 40 | +"Instance", |
| 41 | +"InstanceLastOperation", |
| 42 | +"InstanceParameters", |
| 43 | +"InstanceSchema", |
| 44 | +"ListBackupsResponse", |
| 45 | +"ListCredentialsResponse", |
| 46 | +"ListInstancesResponse", |
| 47 | +"ListOfferingsResponse", |
| 48 | +"ListRestoresResponse", |
| 49 | +"ModelSchema", |
| 50 | +"Offering", |
| 51 | +"PartialUpdateInstancePayload", |
| 52 | +"Plan", |
| 53 | +"RawCredentials", |
| 54 | +"Restore", |
| 55 | +"TriggerRestoreResponse", |
| 56 | +"UpdateBackupsConfigPayload", |
| 57 | +"UpdateBackupsConfigResponse", |
| 58 | +] |
| 59 | + |
19 | 60 | # import apis into sdk package |
20 | | -fromstackit.opensearch.api.default_apiimportDefaultApi |
21 | | -fromstackit.opensearch.api_clientimportApiClient |
| 61 | +fromstackit.opensearch.api.default_apiimportDefaultApiasDefaultApi |
| 62 | +fromstackit.opensearch.api_clientimportApiClientasApiClient |
22 | 63 |
|
23 | 64 | # import ApiClient |
24 | | -fromstackit.opensearch.api_responseimportApiResponse |
25 | | -fromstackit.opensearch.configurationimportHostConfiguration |
26 | | -fromstackit.opensearch.exceptionsimport ( |
27 | | -ApiAttributeError, |
28 | | -ApiException, |
29 | | -ApiKeyError, |
30 | | -ApiTypeError, |
31 | | -ApiValueError, |
32 | | -OpenApiException, |
33 | | -) |
| 65 | +fromstackit.opensearch.api_responseimportApiResponseasApiResponse |
| 66 | +fromstackit.opensearch.configurationimportHostConfigurationasHostConfiguration |
| 67 | +fromstackit.opensearch.exceptionsimportApiAttributeErrorasApiAttributeError |
| 68 | +fromstackit.opensearch.exceptionsimportApiExceptionasApiException |
| 69 | +fromstackit.opensearch.exceptionsimportApiKeyErrorasApiKeyError |
| 70 | +fromstackit.opensearch.exceptionsimportApiTypeErrorasApiTypeError |
| 71 | +fromstackit.opensearch.exceptionsimportApiValueErrorasApiValueError |
| 72 | +fromstackit.opensearch.exceptionsimportOpenApiExceptionasOpenApiException |
34 | 73 |
|
35 | 74 | # import models into sdk package |
36 | | -fromstackit.opensearch.models.backupimportBackup |
| 75 | +fromstackit.opensearch.models.backupimportBackupasBackup |
37 | 76 | fromstackit.opensearch.models.create_backup_response_itemimport ( |
38 | | -CreateBackupResponseItem, |
39 | | -) |
40 | | -fromstackit.opensearch.models.create_instance_payloadimportCreateInstancePayload |
41 | | -fromstackit.opensearch.models.create_instance_responseimportCreateInstanceResponse |
42 | | -fromstackit.opensearch.models.credentialsimportCredentials |
43 | | -fromstackit.opensearch.models.credentials_list_itemimportCredentialsListItem |
44 | | -fromstackit.opensearch.models.credentials_responseimportCredentialsResponse |
45 | | -fromstackit.opensearch.models.errorimportError |
46 | | -fromstackit.opensearch.models.get_metrics_responseimportGetMetricsResponse |
47 | | -fromstackit.opensearch.models.instanceimportInstance |
48 | | -fromstackit.opensearch.models.instance_last_operationimportInstanceLastOperation |
49 | | -fromstackit.opensearch.models.instance_parametersimportInstanceParameters |
50 | | -fromstackit.opensearch.models.instance_schemaimportInstanceSchema |
51 | | -fromstackit.opensearch.models.list_backups_responseimportListBackupsResponse |
52 | | -fromstackit.opensearch.models.list_credentials_responseimportListCredentialsResponse |
53 | | -fromstackit.opensearch.models.list_instances_responseimportListInstancesResponse |
54 | | -fromstackit.opensearch.models.list_offerings_responseimportListOfferingsResponse |
55 | | -fromstackit.opensearch.models.list_restores_responseimportListRestoresResponse |
56 | | -fromstackit.opensearch.models.model_schemaimportModelSchema |
57 | | -fromstackit.opensearch.models.offeringimportOffering |
| 77 | +CreateBackupResponseItemasCreateBackupResponseItem, |
| 78 | +) |
| 79 | +fromstackit.opensearch.models.create_instance_payloadimport ( |
| 80 | +CreateInstancePayloadasCreateInstancePayload, |
| 81 | +) |
| 82 | +fromstackit.opensearch.models.create_instance_responseimport ( |
| 83 | +CreateInstanceResponseasCreateInstanceResponse, |
| 84 | +) |
| 85 | +fromstackit.opensearch.models.credentialsimportCredentialsasCredentials |
| 86 | +fromstackit.opensearch.models.credentials_list_itemimport ( |
| 87 | +CredentialsListItemasCredentialsListItem, |
| 88 | +) |
| 89 | +fromstackit.opensearch.models.credentials_responseimport ( |
| 90 | +CredentialsResponseasCredentialsResponse, |
| 91 | +) |
| 92 | +fromstackit.opensearch.models.errorimportErrorasError |
| 93 | +fromstackit.opensearch.models.get_metrics_responseimport ( |
| 94 | +GetMetricsResponseasGetMetricsResponse, |
| 95 | +) |
| 96 | +fromstackit.opensearch.models.instanceimportInstanceasInstance |
| 97 | +fromstackit.opensearch.models.instance_last_operationimport ( |
| 98 | +InstanceLastOperationasInstanceLastOperation, |
| 99 | +) |
| 100 | +fromstackit.opensearch.models.instance_parametersimport ( |
| 101 | +InstanceParametersasInstanceParameters, |
| 102 | +) |
| 103 | +fromstackit.opensearch.models.instance_schemaimportInstanceSchemaasInstanceSchema |
| 104 | +fromstackit.opensearch.models.list_backups_responseimport ( |
| 105 | +ListBackupsResponseasListBackupsResponse, |
| 106 | +) |
| 107 | +fromstackit.opensearch.models.list_credentials_responseimport ( |
| 108 | +ListCredentialsResponseasListCredentialsResponse, |
| 109 | +) |
| 110 | +fromstackit.opensearch.models.list_instances_responseimport ( |
| 111 | +ListInstancesResponseasListInstancesResponse, |
| 112 | +) |
| 113 | +fromstackit.opensearch.models.list_offerings_responseimport ( |
| 114 | +ListOfferingsResponseasListOfferingsResponse, |
| 115 | +) |
| 116 | +fromstackit.opensearch.models.list_restores_responseimport ( |
| 117 | +ListRestoresResponseasListRestoresResponse, |
| 118 | +) |
| 119 | +fromstackit.opensearch.models.model_schemaimportModelSchemaasModelSchema |
| 120 | +fromstackit.opensearch.models.offeringimportOfferingasOffering |
58 | 121 | fromstackit.opensearch.models.partial_update_instance_payloadimport ( |
59 | | -PartialUpdateInstancePayload, |
| 122 | +PartialUpdateInstancePayloadasPartialUpdateInstancePayload, |
| 123 | +) |
| 124 | +fromstackit.opensearch.models.planimportPlanasPlan |
| 125 | +fromstackit.opensearch.models.raw_credentialsimportRawCredentialsasRawCredentials |
| 126 | +fromstackit.opensearch.models.restoreimportRestoreasRestore |
| 127 | +fromstackit.opensearch.models.trigger_restore_responseimport ( |
| 128 | +TriggerRestoreResponseasTriggerRestoreResponse, |
60 | 129 | ) |
61 | | -fromstackit.opensearch.models.planimportPlan |
62 | | -fromstackit.opensearch.models.raw_credentialsimportRawCredentials |
63 | | -fromstackit.opensearch.models.restoreimportRestore |
64 | | -fromstackit.opensearch.models.trigger_restore_responseimportTriggerRestoreResponse |
65 | 130 | fromstackit.opensearch.models.update_backups_config_payloadimport ( |
66 | | -UpdateBackupsConfigPayload, |
| 131 | +UpdateBackupsConfigPayloadasUpdateBackupsConfigPayload, |
67 | 132 | ) |
68 | 133 | fromstackit.opensearch.models.update_backups_config_responseimport ( |
69 | | -UpdateBackupsConfigResponse, |
| 134 | +UpdateBackupsConfigResponseasUpdateBackupsConfigResponse, |
70 | 135 | ) |