Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator: Update SDK /services/iaasalpha #796

Merged
merged 1 commit into from
Mar 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions services/iaasalpha/src/stackit/iaasalpha/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21567,6 +21567,12 @@ def list_machine_types(
str,
Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."),
],
filter: Annotated[
Optional[StrictStr],
Field(
description="Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details."
),
] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -21583,6 +21589,8 @@ def list_machine_types(

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: str
:param filter: Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details.
:type filter: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -21607,6 +21615,7 @@ def list_machine_types(

_param = self._list_machine_types_serialize(
project_id=project_id,
filter=filter,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand Down Expand Up @@ -21635,6 +21644,12 @@ def list_machine_types_with_http_info(
str,
Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."),
],
filter: Annotated[
Optional[StrictStr],
Field(
description="Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details."
),
] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -21651,6 +21666,8 @@ def list_machine_types_with_http_info(

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: str
:param filter: Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details.
:type filter: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -21675,6 +21692,7 @@ def list_machine_types_with_http_info(

_param = self._list_machine_types_serialize(
project_id=project_id,
filter=filter,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand Down Expand Up @@ -21703,6 +21721,12 @@ def list_machine_types_without_preload_content(
str,
Field(min_length=36, strict=True, max_length=36, description="The identifier (ID) of a STACKIT Project."),
],
filter: Annotated[
Optional[StrictStr],
Field(
description="Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details."
),
] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -21719,6 +21743,8 @@ def list_machine_types_without_preload_content(

:param project_id: The identifier (ID) of a STACKIT Project. (required)
:type project_id: str
:param filter: Filter resources by fields. A subset of expr-lang is supported. See https://expr-lang.org/docs/language-definition for usage details.
:type filter: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -21743,6 +21769,7 @@ def list_machine_types_without_preload_content(

_param = self._list_machine_types_serialize(
project_id=project_id,
filter=filter,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand All @@ -21763,6 +21790,7 @@ def list_machine_types_without_preload_content(
def _list_machine_types_serialize(
self,
project_id,
filter,
_request_auth,
_content_type,
_headers,
Expand All @@ -21784,6 +21812,10 @@ def _list_machine_types_serialize(
if project_id is not None:
_path_params["projectId"] = project_id
# process the query parameters
if filter is not None:

_query_params.append(("filter", filter))

# process the header parameters
# process the form parameters
# process the body parameter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

class MachineType(BaseModel):
"""
Machine Type.
Machine Type. Filterable Fields: name, ram, vcpus, disk, extraSpecs.
"""

description: Optional[Annotated[str, Field(strict=True, max_length=127)]] = Field(
Expand Down
Loading