stackit-opensearch 1.0.0__tar.gz → 1.2.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.
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/PKG-INFO +3 -4
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/pyproject.toml +7 -7
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/__init__.py +5 -10
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/api/default_api.py +11 -11
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/api_client.py +5 -6
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/api_response.py +0 -1
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/configuration.py +5 -6
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/exceptions.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/__init__.py +5 -6
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/backup.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/create_backup_response_item.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/create_credentials_payload.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/create_instance_payload.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/create_instance_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/credentials.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/credentials_list_item.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/credentials_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/error.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/get_metrics_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/instance.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/instance_last_operation.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/instance_parameters.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/instance_schema.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/list_credentials_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/list_instances_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/list_offerings_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/list_restores_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/model_schema.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/offering.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/partial_update_instance_payload.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/plan.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/raw_credentials.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/restore.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/trigger_restore_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/update_backups_config_payload.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/update_backups_config_response.py +5 -5
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/rest.py +5 -6
- stackit_opensearch-1.0.0/src/stackit/opensearch/models/list_backups_response.py +0 -99
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/.gitignore +0 -0
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/LICENSE.md +0 -0
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/NOTICE.txt +0 -0
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/README.md +0 -0
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/api/__init__.py +0 -0
- {stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stackit-opensearch
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: STACKIT Opensearch API
|
|
5
5
|
Project-URL: Homepage, https://github.com/stackitcloud/stackit-sdk-python
|
|
6
6
|
Project-URL: Issues, https://github.com/stackitcloud/stackit-sdk-python/issues
|
|
@@ -10,16 +10,15 @@ License-File: NOTICE.txt
|
|
|
10
10
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
16
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
17
|
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
-
Requires-Python: <4.0,>=3.
|
|
18
|
+
Requires-Python: <4.0,>=3.10
|
|
20
19
|
Requires-Dist: pydantic>=2.9.2
|
|
21
20
|
Requires-Dist: python-dateutil>=2.9.0.post0
|
|
22
|
-
Requires-Dist: requests>=2.
|
|
21
|
+
Requires-Dist: requests>=2.33.0
|
|
23
22
|
Requires-Dist: stackit-core>=0.0.1a
|
|
24
23
|
Description-Content-Type: text/markdown
|
|
25
24
|
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "stackit-opensearch"
|
|
3
|
-
version = "v1.
|
|
3
|
+
version = "v1.2.0"
|
|
4
4
|
description = "STACKIT Opensearch API"
|
|
5
5
|
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.10,<4.0"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
classifiers = [
|
|
9
9
|
"Programming Language :: Python :: 3",
|
|
10
10
|
"License :: OSI Approved :: Apache Software License",
|
|
11
11
|
"Operating System :: OS Independent",
|
|
12
|
-
"Programming Language :: Python :: 3.9",
|
|
13
12
|
"Programming Language :: Python :: 3.10",
|
|
14
13
|
"Programming Language :: Python :: 3.11",
|
|
15
14
|
"Programming Language :: Python :: 3.12",
|
|
@@ -18,7 +17,7 @@ classifiers = [
|
|
|
18
17
|
]
|
|
19
18
|
dependencies = [
|
|
20
19
|
"stackit-core>=0.0.1a",
|
|
21
|
-
"requests>=2.
|
|
20
|
+
"requests>=2.33.0",
|
|
22
21
|
"pydantic>=2.9.2",
|
|
23
22
|
"python-dateutil>=2.9.0.post0",
|
|
24
23
|
]
|
|
@@ -29,8 +28,8 @@ Issues = "https://github.com/stackitcloud/stackit-sdk-python/issues"
|
|
|
29
28
|
|
|
30
29
|
[dependency-groups]
|
|
31
30
|
dev = [
|
|
32
|
-
"black>=
|
|
33
|
-
"pytest>=
|
|
31
|
+
"black>=26.3.1",
|
|
32
|
+
"pytest>=9.1.1",
|
|
34
33
|
"flake8>=5.0.3 ; python_full_version < '3.12'",
|
|
35
34
|
"flake8>=6.0.1 ; python_full_version >= '3.12'",
|
|
36
35
|
"flake8-black>=0.3.6",
|
|
@@ -102,7 +101,8 @@ show-source = false
|
|
|
102
101
|
max-line-length = 120
|
|
103
102
|
# E203,W503 and E704 are incompatible with the formatter black
|
|
104
103
|
# W291 needs to be disabled because some doc-strings get generated with trailing whitespace but black won't re-format comments
|
|
105
|
-
|
|
104
|
+
# fixing B042 in upstream exceptions.mustache would be a breaking change
|
|
105
|
+
ignore = ["E203", "W503", "E704", "W291", "B042"]
|
|
106
106
|
inline-quotes = '"'
|
|
107
107
|
docstring-quotes = '"""'
|
|
108
108
|
multiline-quotes = '"""'
|
|
@@ -3,17 +3,16 @@
|
|
|
3
3
|
# flake8: noqa
|
|
4
4
|
|
|
5
5
|
"""
|
|
6
|
-
|
|
6
|
+
STACKIT Opensearch API
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
The version of the OpenAPI document: 2.1.0
|
|
11
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Do not edit the class manually.
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
__version__ = "1.0.0"
|
|
18
17
|
|
|
19
18
|
# Define package exports
|
|
@@ -42,7 +41,6 @@ __all__ = [
|
|
|
42
41
|
"InstanceLastOperation",
|
|
43
42
|
"InstanceParameters",
|
|
44
43
|
"InstanceSchema",
|
|
45
|
-
"ListBackupsResponse",
|
|
46
44
|
"ListCredentialsResponse",
|
|
47
45
|
"ListInstancesResponse",
|
|
48
46
|
"ListOfferingsResponse",
|
|
@@ -105,9 +103,6 @@ from stackit.opensearch.models.instance_parameters import (
|
|
|
105
103
|
InstanceParameters as InstanceParameters,
|
|
106
104
|
)
|
|
107
105
|
from stackit.opensearch.models.instance_schema import InstanceSchema as InstanceSchema
|
|
108
|
-
from stackit.opensearch.models.list_backups_response import (
|
|
109
|
-
ListBackupsResponse as ListBackupsResponse,
|
|
110
|
-
)
|
|
111
106
|
from stackit.opensearch.models.list_credentials_response import (
|
|
112
107
|
ListCredentialsResponse as ListCredentialsResponse,
|
|
113
108
|
)
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/api/default_api.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
@@ -25,6 +25,7 @@ from typing_extensions import Annotated
|
|
|
25
25
|
|
|
26
26
|
from stackit.opensearch.api_client import ApiClient, RequestSerialized
|
|
27
27
|
from stackit.opensearch.api_response import ApiResponse
|
|
28
|
+
from stackit.opensearch.models.backup import Backup
|
|
28
29
|
from stackit.opensearch.models.create_backup_response_item import (
|
|
29
30
|
CreateBackupResponseItem,
|
|
30
31
|
)
|
|
@@ -36,7 +37,6 @@ from stackit.opensearch.models.create_instance_response import CreateInstanceRes
|
|
|
36
37
|
from stackit.opensearch.models.credentials_response import CredentialsResponse
|
|
37
38
|
from stackit.opensearch.models.get_metrics_response import GetMetricsResponse
|
|
38
39
|
from stackit.opensearch.models.instance import Instance
|
|
39
|
-
from stackit.opensearch.models.list_backups_response import ListBackupsResponse
|
|
40
40
|
from stackit.opensearch.models.list_credentials_response import ListCredentialsResponse
|
|
41
41
|
from stackit.opensearch.models.list_instances_response import ListInstancesResponse
|
|
42
42
|
from stackit.opensearch.models.list_offerings_response import ListOfferingsResponse
|
|
@@ -2554,7 +2554,7 @@ class DefaultApi:
|
|
|
2554
2554
|
_content_type: Optional[StrictStr] = None,
|
|
2555
2555
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2556
2556
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2557
|
-
) ->
|
|
2557
|
+
) -> List[Backup]:
|
|
2558
2558
|
"""get latest backup information for provided instanceId
|
|
2559
2559
|
|
|
2560
2560
|
|
|
@@ -2597,7 +2597,7 @@ class DefaultApi:
|
|
|
2597
2597
|
)
|
|
2598
2598
|
|
|
2599
2599
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2600
|
-
"200": "
|
|
2600
|
+
"200": "List[Backup]",
|
|
2601
2601
|
"400": "Error",
|
|
2602
2602
|
"401": "Error",
|
|
2603
2603
|
"404": "Error",
|
|
@@ -2624,7 +2624,7 @@ class DefaultApi:
|
|
|
2624
2624
|
_content_type: Optional[StrictStr] = None,
|
|
2625
2625
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2626
2626
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2627
|
-
) -> ApiResponse[
|
|
2627
|
+
) -> ApiResponse[List[Backup]]:
|
|
2628
2628
|
"""get latest backup information for provided instanceId
|
|
2629
2629
|
|
|
2630
2630
|
|
|
@@ -2667,7 +2667,7 @@ class DefaultApi:
|
|
|
2667
2667
|
)
|
|
2668
2668
|
|
|
2669
2669
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2670
|
-
"200": "
|
|
2670
|
+
"200": "List[Backup]",
|
|
2671
2671
|
"400": "Error",
|
|
2672
2672
|
"401": "Error",
|
|
2673
2673
|
"404": "Error",
|
|
@@ -2737,7 +2737,7 @@ class DefaultApi:
|
|
|
2737
2737
|
)
|
|
2738
2738
|
|
|
2739
2739
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2740
|
-
"200": "
|
|
2740
|
+
"200": "List[Backup]",
|
|
2741
2741
|
"400": "Error",
|
|
2742
2742
|
"401": "Error",
|
|
2743
2743
|
"404": "Error",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import datetime
|
|
@@ -36,7 +36,6 @@ from stackit.opensearch.exceptions import (
|
|
|
36
36
|
ApiException,
|
|
37
37
|
)
|
|
38
38
|
|
|
39
|
-
|
|
40
39
|
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
|
|
41
40
|
|
|
42
41
|
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/configuration.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import sys
|
|
@@ -18,7 +18,6 @@ from typing_extensions import NotRequired
|
|
|
18
18
|
|
|
19
19
|
import os
|
|
20
20
|
|
|
21
|
-
|
|
22
21
|
ServerVariablesT = Dict[str, str]
|
|
23
22
|
|
|
24
23
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from typing import Any, Optional
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/__init__.py
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# flake8: noqa
|
|
4
4
|
"""
|
|
5
|
-
|
|
5
|
+
STACKIT Opensearch API
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
The version of the OpenAPI document: 2.1.0
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
Do not edit the class manually.
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
15
|
# import models into model package
|
|
@@ -31,7 +31,6 @@ from stackit.opensearch.models.instance import Instance
|
|
|
31
31
|
from stackit.opensearch.models.instance_last_operation import InstanceLastOperation
|
|
32
32
|
from stackit.opensearch.models.instance_parameters import InstanceParameters
|
|
33
33
|
from stackit.opensearch.models.instance_schema import InstanceSchema
|
|
34
|
-
from stackit.opensearch.models.list_backups_response import ListBackupsResponse
|
|
35
34
|
from stackit.opensearch.models.list_credentials_response import ListCredentialsResponse
|
|
36
35
|
from stackit.opensearch.models.list_instances_response import ListInstancesResponse
|
|
37
36
|
from stackit.opensearch.models.list_offerings_response import ListOfferingsResponse
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/backup.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/credentials.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/error.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/instance.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/model_schema.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/offering.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/models/restore.py
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
from __future__ import annotations
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
|
|
4
|
+
STACKIT Opensearch API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
The version of the OpenAPI document: 2.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
Do not edit the class manually.
|
|
12
12
|
""" # noqa: E501
|
|
13
13
|
|
|
14
14
|
import io
|
|
@@ -21,7 +21,6 @@ from stackit.core.configuration import Configuration
|
|
|
21
21
|
|
|
22
22
|
from stackit.opensearch.exceptions import ApiException, ApiValueError
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
RESTResponseType = requests.Response
|
|
26
25
|
|
|
27
26
|
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
STACKIT Opensearch API
|
|
5
|
-
|
|
6
|
-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 2.1.0
|
|
9
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
-
|
|
11
|
-
Do not edit the class manually.
|
|
12
|
-
""" # noqa: E501
|
|
13
|
-
|
|
14
|
-
from __future__ import annotations
|
|
15
|
-
|
|
16
|
-
import json
|
|
17
|
-
import pprint
|
|
18
|
-
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
19
|
-
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field
|
|
21
|
-
from pydantic_core import to_jsonable_python
|
|
22
|
-
from typing_extensions import Self
|
|
23
|
-
|
|
24
|
-
from stackit.opensearch.models.backup import Backup
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class ListBackupsResponse(BaseModel):
|
|
28
|
-
"""
|
|
29
|
-
ListBackupsResponse
|
|
30
|
-
""" # noqa: E501
|
|
31
|
-
|
|
32
|
-
instance_backups: List[Backup] = Field(alias="instanceBackups")
|
|
33
|
-
__properties: ClassVar[List[str]] = ["instanceBackups"]
|
|
34
|
-
|
|
35
|
-
model_config = ConfigDict(
|
|
36
|
-
validate_by_name=True,
|
|
37
|
-
validate_by_alias=True,
|
|
38
|
-
validate_assignment=True,
|
|
39
|
-
protected_namespaces=(),
|
|
40
|
-
)
|
|
41
|
-
|
|
42
|
-
def to_str(self) -> str:
|
|
43
|
-
"""Returns the string representation of the model using alias"""
|
|
44
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
45
|
-
|
|
46
|
-
def to_json(self) -> str:
|
|
47
|
-
"""Returns the JSON representation of the model using alias"""
|
|
48
|
-
return json.dumps(to_jsonable_python(self.to_dict()))
|
|
49
|
-
|
|
50
|
-
@classmethod
|
|
51
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
52
|
-
"""Create an instance of ListBackupsResponse from a JSON string"""
|
|
53
|
-
return cls.from_dict(json.loads(json_str))
|
|
54
|
-
|
|
55
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
56
|
-
"""Return the dictionary representation of the model using alias.
|
|
57
|
-
|
|
58
|
-
This has the following differences from calling pydantic's
|
|
59
|
-
`self.model_dump(by_alias=True)`:
|
|
60
|
-
|
|
61
|
-
* `None` is only added to the output dict for nullable fields that
|
|
62
|
-
were set at model initialization. Other fields with value `None`
|
|
63
|
-
are ignored.
|
|
64
|
-
"""
|
|
65
|
-
excluded_fields: Set[str] = set([])
|
|
66
|
-
|
|
67
|
-
_dict = self.model_dump(
|
|
68
|
-
by_alias=True,
|
|
69
|
-
exclude=excluded_fields,
|
|
70
|
-
exclude_none=True,
|
|
71
|
-
)
|
|
72
|
-
# override the default output from pydantic by calling `to_dict()` of each item in instance_backups (list)
|
|
73
|
-
_items = []
|
|
74
|
-
if self.instance_backups:
|
|
75
|
-
for _item_instance_backups in self.instance_backups:
|
|
76
|
-
if _item_instance_backups:
|
|
77
|
-
_items.append(_item_instance_backups.to_dict())
|
|
78
|
-
_dict["instanceBackups"] = _items
|
|
79
|
-
return _dict
|
|
80
|
-
|
|
81
|
-
@classmethod
|
|
82
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
83
|
-
"""Create an instance of ListBackupsResponse from a dict"""
|
|
84
|
-
if obj is None:
|
|
85
|
-
return None
|
|
86
|
-
|
|
87
|
-
if not isinstance(obj, dict):
|
|
88
|
-
return cls.model_validate(obj)
|
|
89
|
-
|
|
90
|
-
_obj = cls.model_validate(
|
|
91
|
-
{
|
|
92
|
-
"instanceBackups": (
|
|
93
|
-
[Backup.from_dict(_item) for _item in obj["instanceBackups"]]
|
|
94
|
-
if obj.get("instanceBackups") is not None
|
|
95
|
-
else None
|
|
96
|
-
)
|
|
97
|
-
}
|
|
98
|
-
)
|
|
99
|
-
return _obj
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{stackit_opensearch-1.0.0 → stackit_opensearch-1.2.0}/src/stackit/opensearch/api/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|