stackit-rabbitmq 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.
Files changed (45) hide show
  1. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/PKG-INFO +3 -4
  2. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/pyproject.toml +7 -7
  3. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/__init__.py +5 -10
  4. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/api/default_api.py +11 -11
  5. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/api_client.py +5 -6
  6. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/api_response.py +0 -1
  7. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/configuration.py +5 -6
  8. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/exceptions.py +5 -5
  9. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/__init__.py +5 -6
  10. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/backup.py +5 -5
  11. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/create_backup_response_item.py +5 -5
  12. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/create_credentials_payload.py +5 -5
  13. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/create_instance_payload.py +5 -5
  14. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/create_instance_response.py +5 -5
  15. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/credentials.py +5 -5
  16. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/credentials_list_item.py +5 -5
  17. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/credentials_parameters.py +5 -5
  18. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/credentials_response.py +5 -5
  19. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/error.py +5 -5
  20. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/get_metrics_response.py +5 -5
  21. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/instance.py +5 -5
  22. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/instance_last_operation.py +5 -5
  23. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/instance_parameters.py +5 -5
  24. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/instance_schema.py +5 -5
  25. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/list_credentials_response.py +5 -5
  26. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/list_instances_response.py +5 -5
  27. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/list_offerings_response.py +5 -5
  28. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/list_restores_response.py +5 -5
  29. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/model_schema.py +5 -5
  30. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/offering.py +5 -5
  31. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/partial_update_instance_payload.py +5 -5
  32. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/plan.py +5 -5
  33. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/raw_credentials.py +5 -5
  34. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/restore.py +5 -5
  35. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/trigger_restore_response.py +5 -5
  36. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/update_backups_config_payload.py +5 -5
  37. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/models/update_backups_config_response.py +5 -5
  38. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/rest.py +5 -6
  39. stackit_rabbitmq-1.0.0/src/stackit/rabbitmq/models/list_backups_response.py +0 -99
  40. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/.gitignore +0 -0
  41. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/LICENSE.md +0 -0
  42. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/NOTICE.txt +0 -0
  43. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/README.md +0 -0
  44. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/api/__init__.py +0 -0
  45. {stackit_rabbitmq-1.0.0 → stackit_rabbitmq-1.2.0}/src/stackit/rabbitmq/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stackit-rabbitmq
3
- Version: 1.0.0
3
+ Version: 1.2.0
4
4
  Summary: STACKIT RabbitMQ 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.9
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.32.3
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-rabbitmq"
3
- version = "v1.0.0"
3
+ version = "v1.2.0"
4
4
  description = "STACKIT RabbitMQ API"
5
5
  authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
6
- requires-python = ">=3.9,<4.0"
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.32.3",
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>=24.8.0",
33
- "pytest>=8.3.3",
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
- ignore = ["E203", "W503", "E704", "W291"]
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
- STACKIT RabbitMQ API
6
+ STACKIT RabbitMQ API
7
7
 
8
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
8
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
9
9
 
10
- The version of the OpenAPI document: 2.2.0
11
- Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+ The version of the OpenAPI document: 2.2.0
11
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
12
12
 
13
- Do not edit the class manually.
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
@@ -43,7 +42,6 @@ __all__ = [
43
42
  "InstanceLastOperation",
44
43
  "InstanceParameters",
45
44
  "InstanceSchema",
46
- "ListBackupsResponse",
47
45
  "ListCredentialsResponse",
48
46
  "ListInstancesResponse",
49
47
  "ListOfferingsResponse",
@@ -109,9 +107,6 @@ from stackit.rabbitmq.models.instance_parameters import (
109
107
  InstanceParameters as InstanceParameters,
110
108
  )
111
109
  from stackit.rabbitmq.models.instance_schema import InstanceSchema as InstanceSchema
112
- from stackit.rabbitmq.models.list_backups_response import (
113
- ListBackupsResponse as ListBackupsResponse,
114
- )
115
110
  from stackit.rabbitmq.models.list_credentials_response import (
116
111
  ListCredentialsResponse as ListCredentialsResponse,
117
112
  )
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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.rabbitmq.api_client import ApiClient, RequestSerialized
27
27
  from stackit.rabbitmq.api_response import ApiResponse
28
+ from stackit.rabbitmq.models.backup import Backup
28
29
  from stackit.rabbitmq.models.create_backup_response_item import CreateBackupResponseItem
29
30
  from stackit.rabbitmq.models.create_credentials_payload import CreateCredentialsPayload
30
31
  from stackit.rabbitmq.models.create_instance_payload import CreateInstancePayload
@@ -32,7 +33,6 @@ from stackit.rabbitmq.models.create_instance_response import CreateInstanceRespo
32
33
  from stackit.rabbitmq.models.credentials_response import CredentialsResponse
33
34
  from stackit.rabbitmq.models.get_metrics_response import GetMetricsResponse
34
35
  from stackit.rabbitmq.models.instance import Instance
35
- from stackit.rabbitmq.models.list_backups_response import ListBackupsResponse
36
36
  from stackit.rabbitmq.models.list_credentials_response import ListCredentialsResponse
37
37
  from stackit.rabbitmq.models.list_instances_response import ListInstancesResponse
38
38
  from stackit.rabbitmq.models.list_offerings_response import ListOfferingsResponse
@@ -2550,7 +2550,7 @@ class DefaultApi:
2550
2550
  _content_type: Optional[StrictStr] = None,
2551
2551
  _headers: Optional[Dict[StrictStr, Any]] = None,
2552
2552
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2553
- ) -> ListBackupsResponse:
2553
+ ) -> List[Backup]:
2554
2554
  """get latest backup information for provided instanceId
2555
2555
 
2556
2556
 
@@ -2593,7 +2593,7 @@ class DefaultApi:
2593
2593
  )
2594
2594
 
2595
2595
  _response_types_map: Dict[str, Optional[str]] = {
2596
- "200": "ListBackupsResponse",
2596
+ "200": "List[Backup]",
2597
2597
  "400": "Error",
2598
2598
  "401": "Error",
2599
2599
  "404": "Error",
@@ -2620,7 +2620,7 @@ class DefaultApi:
2620
2620
  _content_type: Optional[StrictStr] = None,
2621
2621
  _headers: Optional[Dict[StrictStr, Any]] = None,
2622
2622
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2623
- ) -> ApiResponse[ListBackupsResponse]:
2623
+ ) -> ApiResponse[List[Backup]]:
2624
2624
  """get latest backup information for provided instanceId
2625
2625
 
2626
2626
 
@@ -2663,7 +2663,7 @@ class DefaultApi:
2663
2663
  )
2664
2664
 
2665
2665
  _response_types_map: Dict[str, Optional[str]] = {
2666
- "200": "ListBackupsResponse",
2666
+ "200": "List[Backup]",
2667
2667
  "400": "Error",
2668
2668
  "401": "Error",
2669
2669
  "404": "Error",
@@ -2733,7 +2733,7 @@ class DefaultApi:
2733
2733
  )
2734
2734
 
2735
2735
  _response_types_map: Dict[str, Optional[str]] = {
2736
- "200": "ListBackupsResponse",
2736
+ "200": "List[Backup]",
2737
2737
  "400": "Error",
2738
2738
  "401": "Error",
2739
2739
  "404": "Error",
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  import datetime
@@ -36,7 +36,6 @@ from stackit.rabbitmq.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
 
@@ -6,7 +6,6 @@ from typing import Generic, Mapping, Optional, TypeVar
6
6
 
7
7
  from pydantic import BaseModel, Field, StrictBytes, StrictInt
8
8
 
9
-
10
9
  T = TypeVar("T")
11
10
 
12
11
 
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
11
+ Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
14
  from typing import Any, Optional
@@ -2,14 +2,14 @@
2
2
 
3
3
  # flake8: noqa
4
4
  """
5
- STACKIT RabbitMQ API
5
+ STACKIT RabbitMQ API
6
6
 
7
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
8
8
 
9
- The version of the OpenAPI document: 2.2.0
10
- Generated by OpenAPI Generator (https://openapi-generator.tech)
9
+ The version of the OpenAPI document: 2.2.0
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
12
- Do not edit the class manually.
12
+ Do not edit the class manually.
13
13
  """ # noqa: E501
14
14
 
15
15
  # import models into model package
@@ -28,7 +28,6 @@ from stackit.rabbitmq.models.instance import Instance
28
28
  from stackit.rabbitmq.models.instance_last_operation import InstanceLastOperation
29
29
  from stackit.rabbitmq.models.instance_parameters import InstanceParameters
30
30
  from stackit.rabbitmq.models.instance_schema import InstanceSchema
31
- from stackit.rabbitmq.models.list_backups_response import ListBackupsResponse
32
31
  from stackit.rabbitmq.models.list_credentials_response import ListCredentialsResponse
33
32
  from stackit.rabbitmq.models.list_instances_response import ListInstancesResponse
34
33
  from stackit.rabbitmq.models.list_offerings_response import ListOfferingsResponse
@@ -1,14 +1,14 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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
- STACKIT RabbitMQ API
4
+ STACKIT RabbitMQ API
5
5
 
6
- The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
6
+ The STACKIT RabbitMQ API provides endpoints to list service offerings, manage service instances and service credentials within STACKIT portal projects.
7
7
 
8
- The version of the OpenAPI document: 2.2.0
9
- Generated by OpenAPI Generator (https://openapi-generator.tech)
8
+ The version of the OpenAPI document: 2.2.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
- Do not edit the class manually.
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.rabbitmq.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 RabbitMQ API
5
-
6
- The STACKIT RabbitMQ 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.2.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.rabbitmq.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