Skip to content

Commit 45c4180

Browse files
Generate kms
1 parent d89eb2c commit 45c4180

35 files changed

+94
-136
lines changed

services/kms/src/stackit/kms/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
This API provides endpoints for managing keys and key rings.
99
10-
The version of the OpenAPI document: 1beta.0.0
10+
The version of the OpenAPI document: 1.0.0
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
@@ -30,7 +30,6 @@
3030
"ApiException",
3131
"AccessScope",
3232
"Algorithm",
33-
"Backend",
3433
"CreateKeyPayload",
3534
"CreateKeyRingPayload",
3635
"CreateWrappingKeyPayload",
@@ -75,7 +74,6 @@
7574
# import models into sdk package
7675
from stackit.kms.models.access_scope import AccessScope as AccessScope
7776
from stackit.kms.models.algorithm import Algorithm as Algorithm
78-
from stackit.kms.models.backend import Backend as Backend
7977
from stackit.kms.models.create_key_payload import CreateKeyPayload as CreateKeyPayload
8078
from stackit.kms.models.create_key_ring_payload import (
8179
CreateKeyRingPayload as CreateKeyRingPayload,

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

Lines changed: 56 additions & 44 deletions
Large diffs are not rendered by default.

services/kms/src/stackit/kms/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing keys and key rings.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/kms/src/stackit/kms/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing keys and key rings.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/kms/src/stackit/kms/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing keys and key rings.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
This API provides endpoints for managing keys and key rings.
88
9-
The version of the OpenAPI document: 1beta.0.0
9+
The version of the OpenAPI document: 1.0.0
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212
Do not edit the class manually.
@@ -16,7 +16,6 @@
1616
# import models into model package
1717
from stackit.kms.models.access_scope import AccessScope
1818
from stackit.kms.models.algorithm import Algorithm
19-
from stackit.kms.models.backend import Backend
2019
from stackit.kms.models.create_key_payload import CreateKeyPayload
2120
from stackit.kms.models.create_key_ring_payload import CreateKeyRingPayload
2221
from stackit.kms.models.create_wrapping_key_payload import CreateWrappingKeyPayload

services/kms/src/stackit/kms/models/access_scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing keys and key rings.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/kms/src/stackit/kms/models/algorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing keys and key rings.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/kms/src/stackit/kms/models/backend.py

Lines changed: 0 additions & 35 deletions
This file was deleted.

services/kms/src/stackit/kms/models/create_key_payload.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing keys and key rings.
77
8-
The version of the OpenAPI document: 1beta.0.0
8+
The version of the OpenAPI document: 1.0.0
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -22,7 +22,6 @@
2222

2323
from stackit.kms.models.access_scope import AccessScope
2424
from stackit.kms.models.algorithm import Algorithm
25-
from stackit.kms.models.backend import Backend
2625
from stackit.kms.models.protection import Protection
2726
from stackit.kms.models.purpose import Purpose
2827

@@ -34,7 +33,6 @@ class CreateKeyPayload(BaseModel):
3433

3534
access_scope: Optional[AccessScope] = AccessScope.PUBLIC
3635
algorithm: Algorithm
37-
backend: Backend
3836
description: Optional[StrictStr] = Field(
3937
default=None, description="A user chosen description to distinguish multiple keys."
4038
)
@@ -44,12 +42,11 @@ class CreateKeyPayload(BaseModel):
4442
import_only: Optional[StrictBool] = Field(
4543
default=False, description="States whether versions can be created or only imported.", alias="importOnly"
4644
)
47-
protection: Optional[Protection] = None
45+
protection: Protection
4846
purpose: Purpose
4947
__properties: ClassVar[List[str]] = [
5048
"access_scope",
5149
"algorithm",
52-
"backend",
5350
"description",
5451
"displayName",
5552
"importOnly",
@@ -109,7 +106,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
109106
{
110107
"access_scope": obj.get("access_scope") if obj.get("access_scope") is not None else AccessScope.PUBLIC,
111108
"algorithm": obj.get("algorithm"),
112-
"backend": obj.get("backend"),
113109
"description": obj.get("description"),
114110
"displayName": obj.get("displayName"),
115111
"importOnly": obj.get("importOnly") if obj.get("importOnly") is not None else False,

0 commit comments

Comments
 (0)