Skip to content

Commit d1ddf22

Browse files
Generate opensearch
1 parent d14550d commit d1ddf22

37 files changed

Lines changed: 182 additions & 281 deletions

services/opensearch/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d4da229ba7a242ed561223c67f68683be824c126
1+
876a48fb56473c7c844baa697906d461c0675f47

services/opensearch/src/stackit/opensearch/__init__.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
# flake8: noqa
44

55
"""
6-
STACKIT Opensearch API
6+
STACKIT Opensearch API
77
8-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
8+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
99
10-
The version of the OpenAPI document: 2.1.0
11-
Generated by OpenAPI Generator (https://openapi-generator.tech)
10+
The version of the OpenAPI document: 2.1.0
11+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
13-
Do not edit the class manually.
13+
Do not edit the class manually.
1414
""" # noqa: E501
1515

16+
1617
__version__ = "1.0.0"
1718

1819
# Define package exports
@@ -41,7 +42,6 @@
4142
"InstanceLastOperation",
4243
"InstanceParameters",
4344
"InstanceSchema",
44-
"ListBackupsResponse",
4545
"ListCredentialsResponse",
4646
"ListInstancesResponse",
4747
"ListOfferingsResponse",
@@ -104,9 +104,6 @@
104104
InstanceParameters as InstanceParameters,
105105
)
106106
from stackit.opensearch.models.instance_schema import InstanceSchema as InstanceSchema
107-
from stackit.opensearch.models.list_backups_response import (
108-
ListBackupsResponse as ListBackupsResponse,
109-
)
110107
from stackit.opensearch.models.list_credentials_response import (
111108
ListCredentialsResponse as ListCredentialsResponse,
112109
)

services/opensearch/src/stackit/opensearch/api/default_api.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT Opensearch API
4+
STACKIT Opensearch API
55
6-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8-
The version of the OpenAPI document: 2.1.0
9-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2.1.0
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11-
Do not edit the class manually.
11+
Do not edit the class manually.
1212
""" # noqa: E501
1313

1414
from typing import Any, Dict, List, Optional, Tuple, Union
@@ -25,6 +25,7 @@
2525

2626
from stackit.opensearch.api_client import ApiClient, RequestSerialized
2727
from stackit.opensearch.api_response import ApiResponse
28+
from stackit.opensearch.models.backup import Backup
2829
from stackit.opensearch.models.create_backup_response_item import (
2930
CreateBackupResponseItem,
3031
)
@@ -36,7 +37,6 @@
3637
from stackit.opensearch.models.credentials_response import CredentialsResponse
3738
from stackit.opensearch.models.get_metrics_response import GetMetricsResponse
3839
from stackit.opensearch.models.instance import Instance
39-
from stackit.opensearch.models.list_backups_response import ListBackupsResponse
4040
from stackit.opensearch.models.list_credentials_response import ListCredentialsResponse
4141
from stackit.opensearch.models.list_instances_response import ListInstancesResponse
4242
from stackit.opensearch.models.list_offerings_response import ListOfferingsResponse
@@ -2554,7 +2554,7 @@ def list_backups(
25542554
_content_type: Optional[StrictStr] = None,
25552555
_headers: Optional[Dict[StrictStr, Any]] = None,
25562556
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2557-
) -> ListBackupsResponse:
2557+
) -> List[Backup]:
25582558
"""get latest backup information for provided instanceId
25592559
25602560
@@ -2597,7 +2597,7 @@ def list_backups(
25972597
)
25982598

25992599
_response_types_map: Dict[str, Optional[str]] = {
2600-
"200": "ListBackupsResponse",
2600+
"200": "List[Backup]",
26012601
"400": "Error",
26022602
"401": "Error",
26032603
"404": "Error",
@@ -2624,7 +2624,7 @@ def list_backups_with_http_info(
26242624
_content_type: Optional[StrictStr] = None,
26252625
_headers: Optional[Dict[StrictStr, Any]] = None,
26262626
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2627-
) -> ApiResponse[ListBackupsResponse]:
2627+
) -> ApiResponse[List[Backup]]:
26282628
"""get latest backup information for provided instanceId
26292629
26302630
@@ -2667,7 +2667,7 @@ def list_backups_with_http_info(
26672667
)
26682668

26692669
_response_types_map: Dict[str, Optional[str]] = {
2670-
"200": "ListBackupsResponse",
2670+
"200": "List[Backup]",
26712671
"400": "Error",
26722672
"401": "Error",
26732673
"404": "Error",
@@ -2737,7 +2737,7 @@ def list_backups_without_preload_content(
27372737
)
27382738

27392739
_response_types_map: Dict[str, Optional[str]] = {
2740-
"200": "ListBackupsResponse",
2740+
"200": "List[Backup]",
27412741
"400": "Error",
27422742
"401": "Error",
27432743
"404": "Error",

services/opensearch/src/stackit/opensearch/api_client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT Opensearch API
4+
STACKIT Opensearch API
55
6-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8-
The version of the OpenAPI document: 2.1.0
9-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2.1.0
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11-
Do not edit the class manually.
11+
Do not edit the class manually.
1212
""" # noqa: E501
1313

1414
import datetime
@@ -36,6 +36,7 @@
3636
ApiException,
3737
)
3838

39+
3940
RequestSerialized = Tuple[str, str, Dict[str, str], Optional[str], List[str]]
4041

4142

services/opensearch/src/stackit/opensearch/api_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from pydantic import BaseModel, Field, StrictBytes, StrictInt
88

9+
910
T = TypeVar("T")
1011

1112

services/opensearch/src/stackit/opensearch/configuration.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT Opensearch API
4+
STACKIT Opensearch API
55
6-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8-
The version of the OpenAPI document: 2.1.0
9-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2.1.0
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11-
Do not edit the class manually.
11+
Do not edit the class manually.
1212
""" # noqa: E501
1313

1414
import sys
@@ -18,6 +18,7 @@
1818

1919
import os
2020

21+
2122
ServerVariablesT = Dict[str, str]
2223

2324

services/opensearch/src/stackit/opensearch/exceptions.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT Opensearch API
4+
STACKIT Opensearch API
55
6-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8-
The version of the OpenAPI document: 2.1.0
9-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2.1.0
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11-
Do not edit the class manually.
11+
Do not edit the class manually.
1212
""" # noqa: E501
1313

1414
from typing import Any, Optional

services/opensearch/src/stackit/opensearch/models/__init__.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
# flake8: noqa
44
"""
5-
STACKIT Opensearch API
5+
STACKIT Opensearch API
66
7-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
88
9-
The version of the OpenAPI document: 2.1.0
10-
Generated by OpenAPI Generator (https://openapi-generator.tech)
9+
The version of the OpenAPI document: 2.1.0
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
12-
Do not edit the class manually.
12+
Do not edit the class manually.
1313
""" # noqa: E501
1414

1515
# import models into model package
@@ -31,7 +31,6 @@
3131
from stackit.opensearch.models.instance_last_operation import InstanceLastOperation
3232
from stackit.opensearch.models.instance_parameters import InstanceParameters
3333
from stackit.opensearch.models.instance_schema import InstanceSchema
34-
from stackit.opensearch.models.list_backups_response import ListBackupsResponse
3534
from stackit.opensearch.models.list_credentials_response import ListCredentialsResponse
3635
from stackit.opensearch.models.list_instances_response import ListInstancesResponse
3736
from stackit.opensearch.models.list_offerings_response import ListOfferingsResponse

services/opensearch/src/stackit/opensearch/models/backup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT Opensearch API
4+
STACKIT Opensearch API
55
6-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8-
The version of the OpenAPI document: 2.1.0
9-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2.1.0
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11-
Do not edit the class manually.
11+
Do not edit the class manually.
1212
""" # noqa: E501
1313

1414
from __future__ import annotations

services/opensearch/src/stackit/opensearch/models/create_backup_response_item.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
STACKIT Opensearch API
4+
STACKIT Opensearch API
55
6-
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Opensearch API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
77
8-
The version of the OpenAPI document: 2.1.0
9-
Generated by OpenAPI Generator (https://openapi-generator.tech)
8+
The version of the OpenAPI document: 2.1.0
9+
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
11-
Do not edit the class manually.
11+
Do not edit the class manually.
1212
""" # noqa: E501
1313

1414
from __future__ import annotations

0 commit comments

Comments
 (0)