Skip to content

Commit 3755597

Browse files
Generate redis
1 parent d14550d commit 3755597

37 files changed

Lines changed: 182 additions & 281 deletions

services/redis/oas_commit

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

services/redis/src/stackit/redis/__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 Redis API
6+
STACKIT Redis API
77
8-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
8+
The STACKIT Redis 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.redis.models.instance_schema import InstanceSchema as InstanceSchema
107-
from stackit.redis.models.list_backups_response import (
108-
ListBackupsResponse as ListBackupsResponse,
109-
)
110107
from stackit.redis.models.list_credentials_response import (
111108
ListCredentialsResponse as ListCredentialsResponse,
112109
)

services/redis/src/stackit/redis/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 Redis API
4+
STACKIT Redis API
55
6-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Redis 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,14 +25,14 @@
2525

2626
from stackit.redis.api_client import ApiClient, RequestSerialized
2727
from stackit.redis.api_response import ApiResponse
28+
from stackit.redis.models.backup import Backup
2829
from stackit.redis.models.create_backup_response_item import CreateBackupResponseItem
2930
from stackit.redis.models.create_credentials_payload import CreateCredentialsPayload
3031
from stackit.redis.models.create_instance_payload import CreateInstancePayload
3132
from stackit.redis.models.create_instance_response import CreateInstanceResponse
3233
from stackit.redis.models.credentials_response import CredentialsResponse
3334
from stackit.redis.models.get_metrics_response import GetMetricsResponse
3435
from stackit.redis.models.instance import Instance
35-
from stackit.redis.models.list_backups_response import ListBackupsResponse
3636
from stackit.redis.models.list_credentials_response import ListCredentialsResponse
3737
from stackit.redis.models.list_instances_response import ListInstancesResponse
3838
from stackit.redis.models.list_offerings_response import ListOfferingsResponse
@@ -2550,7 +2550,7 @@ def list_backups(
25502550
_content_type: Optional[StrictStr] = None,
25512551
_headers: Optional[Dict[StrictStr, Any]] = None,
25522552
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2553-
) -> ListBackupsResponse:
2553+
) -> List[Backup]:
25542554
"""get latest backup information for provided instanceId
25552555
25562556
@@ -2593,7 +2593,7 @@ def list_backups(
25932593
)
25942594

25952595
_response_types_map: Dict[str, Optional[str]] = {
2596-
"200": "ListBackupsResponse",
2596+
"200": "List[Backup]",
25972597
"400": "Error",
25982598
"401": "Error",
25992599
"404": "Error",
@@ -2620,7 +2620,7 @@ def list_backups_with_http_info(
26202620
_content_type: Optional[StrictStr] = None,
26212621
_headers: Optional[Dict[StrictStr, Any]] = None,
26222622
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2623-
) -> ApiResponse[ListBackupsResponse]:
2623+
) -> ApiResponse[List[Backup]]:
26242624
"""get latest backup information for provided instanceId
26252625
26262626
@@ -2663,7 +2663,7 @@ def list_backups_with_http_info(
26632663
)
26642664

26652665
_response_types_map: Dict[str, Optional[str]] = {
2666-
"200": "ListBackupsResponse",
2666+
"200": "List[Backup]",
26672667
"400": "Error",
26682668
"401": "Error",
26692669
"404": "Error",
@@ -2733,7 +2733,7 @@ def list_backups_without_preload_content(
27332733
)
27342734

27352735
_response_types_map: Dict[str, Optional[str]] = {
2736-
"200": "ListBackupsResponse",
2736+
"200": "List[Backup]",
27372737
"400": "Error",
27382738
"401": "Error",
27392739
"404": "Error",

services/redis/src/stackit/redis/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 Redis API
4+
STACKIT Redis API
55
6-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Redis 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/redis/src/stackit/redis/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/redis/src/stackit/redis/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 Redis API
4+
STACKIT Redis API
55
6-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Redis 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/redis/src/stackit/redis/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 Redis API
4+
STACKIT Redis API
55
6-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Redis 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/redis/src/stackit/redis/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 Redis API
5+
STACKIT Redis API
66
7-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7+
The STACKIT Redis 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
@@ -27,7 +27,6 @@
2727
from stackit.redis.models.instance_last_operation import InstanceLastOperation
2828
from stackit.redis.models.instance_parameters import InstanceParameters
2929
from stackit.redis.models.instance_schema import InstanceSchema
30-
from stackit.redis.models.list_backups_response import ListBackupsResponse
3130
from stackit.redis.models.list_credentials_response import ListCredentialsResponse
3231
from stackit.redis.models.list_instances_response import ListInstancesResponse
3332
from stackit.redis.models.list_offerings_response import ListOfferingsResponse

services/redis/src/stackit/redis/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 Redis API
4+
STACKIT Redis API
55
6-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Redis 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/redis/src/stackit/redis/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 Redis API
4+
STACKIT Redis API
55
6-
The STACKIT Redis API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6+
The STACKIT Redis 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)