Skip to content

Commit a3cc2d1

Browse files
Generate intake
1 parent 5e53c6e commit a3cc2d1

29 files changed

+47
-39
lines changed

services/intake/src/stackit/intake/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
88
This API provides endpoints for managing Intakes.
99
10-
The version of the OpenAPI document: 1beta.3.1
10+
The version of the OpenAPI document: 1beta.3.2
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.

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

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
This API provides endpoints for managing Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.
@@ -3877,7 +3877,7 @@ def update_intake_runner(
38773877
_content_type: Optional[StrictStr] = None,
38783878
_headers: Optional[Dict[StrictStr, Any]] = None,
38793879
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3880-
) -> None:
3880+
) -> IntakeRunnerResponse:
38813881
"""update_intake_runner
38823882
38833883
Updates a intake runner within the project.
@@ -3924,7 +3924,7 @@ def update_intake_runner(
39243924
)
39253925

39263926
_response_types_map: Dict[str, Optional[str]] = {
3927-
"204": None,
3927+
"200": "IntakeRunnerResponse",
39283928
"400": None,
39293929
"401": None,
39303930
"409": None,
@@ -3955,7 +3955,7 @@ def update_intake_runner_with_http_info(
39553955
_content_type: Optional[StrictStr] = None,
39563956
_headers: Optional[Dict[StrictStr, Any]] = None,
39573957
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3958-
) -> ApiResponse[None]:
3958+
) -> ApiResponse[IntakeRunnerResponse]:
39593959
"""update_intake_runner
39603960
39613961
Updates a intake runner within the project.
@@ -4002,7 +4002,7 @@ def update_intake_runner_with_http_info(
40024002
)
40034003

40044004
_response_types_map: Dict[str, Optional[str]] = {
4005-
"204": None,
4005+
"200": "IntakeRunnerResponse",
40064006
"400": None,
40074007
"401": None,
40084008
"409": None,
@@ -4080,7 +4080,7 @@ def update_intake_runner_without_preload_content(
40804080
)
40814081

40824082
_response_types_map: Dict[str, Optional[str]] = {
4083-
"204": None,
4083+
"200": "IntakeRunnerResponse",
40844084
"400": None,
40854085
"401": None,
40864086
"409": None,
@@ -4126,6 +4126,10 @@ def _update_intake_runner_serialize(
41264126
if update_intake_runner_payload is not None:
41274127
_body_params = update_intake_runner_payload
41284128

4129+
# set the HTTP header `Accept`
4130+
if "Accept" not in _header_params:
4131+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
4132+
41294133
# set the HTTP header `Content-Type`
41304134
if _content_type:
41314135
_header_params["Content-Type"] = _content_type
@@ -4171,7 +4175,7 @@ def update_intake_user(
41714175
_content_type: Optional[StrictStr] = None,
41724176
_headers: Optional[Dict[StrictStr, Any]] = None,
41734177
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4174-
) -> None:
4178+
) -> IntakeUserResponse:
41754179
"""update_intake_user
41764180
41774181
Updates the given intake user.
@@ -4221,7 +4225,7 @@ def update_intake_user(
42214225
)
42224226

42234227
_response_types_map: Dict[str, Optional[str]] = {
4224-
"204": None,
4228+
"200": "IntakeUserResponse",
42254229
"401": None,
42264230
"404": None,
42274231
"409": None,
@@ -4253,7 +4257,7 @@ def update_intake_user_with_http_info(
42534257
_content_type: Optional[StrictStr] = None,
42544258
_headers: Optional[Dict[StrictStr, Any]] = None,
42554259
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4256-
) -> ApiResponse[None]:
4260+
) -> ApiResponse[IntakeUserResponse]:
42574261
"""update_intake_user
42584262
42594263
Updates the given intake user.
@@ -4303,7 +4307,7 @@ def update_intake_user_with_http_info(
43034307
)
43044308

43054309
_response_types_map: Dict[str, Optional[str]] = {
4306-
"204": None,
4310+
"200": "IntakeUserResponse",
43074311
"401": None,
43084312
"404": None,
43094313
"409": None,
@@ -4385,7 +4389,7 @@ def update_intake_user_without_preload_content(
43854389
)
43864390

43874391
_response_types_map: Dict[str, Optional[str]] = {
4388-
"204": None,
4392+
"200": "IntakeUserResponse",
43894393
"401": None,
43904394
"404": None,
43914395
"409": None,
@@ -4434,6 +4438,10 @@ def _update_intake_user_serialize(
44344438
if update_intake_user_payload is not None:
44354439
_body_params = update_intake_user_payload
44364440

4441+
# set the HTTP header `Accept`
4442+
if "Accept" not in _header_params:
4443+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
4444+
44374445
# set the HTTP header `Content-Type`
44384446
if _content_type:
44394447
_header_params["Content-Type"] = _content_type

services/intake/src/stackit/intake/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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
This API provides endpoints for managing Intakes.
88
9-
The version of the OpenAPI document: 1beta.3.1
9+
The version of the OpenAPI document: 1beta.3.2
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
1212
Do not edit the class manually.

services/intake/src/stackit/intake/models/catalog_auth.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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/models/catalog_auth_patch.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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/models/catalog_auth_type.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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

services/intake/src/stackit/intake/models/client_config.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 Intakes.
77
8-
The version of the OpenAPI document: 1beta.3.1
8+
The version of the OpenAPI document: 1beta.3.2
99
Generated by OpenAPI Generator (https://openapi-generator.tech)
1010
1111
Do not edit the class manually.

0 commit comments

Comments
 (0)