Skip to content

Generator: Update SDK /services/authorization #1914

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

Closed
Closed
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
102 changes: 72 additions & 30 deletions services/authorization/src/stackit/authorization/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,47 +11,89 @@
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501 docstring might be too long
""" # noqa: E501


__version__ = "1.0.0"

# Define package exports
__all__ = [
"DefaultApi",
"ApiResponse",
"ApiClient",
"HostConfiguration",
"OpenApiException",
"ApiTypeError",
"ApiValueError",
"ApiKeyError",
"ApiAttributeError",
"ApiException",
"AddMembersPayload",
"ErrorResponse",
"ExistingPermission",
"ListMembersResponse",
"ListPermissionsResponse",
"ListUserMembershipsResponse",
"ListUserPermissionsResponse",
"Member",
"MembersResponse",
"Permission",
"RemoveMembersPayload",
"Role",
"RolesResponse",
"UserMembership",
"UserPermission",
"Zookie",
]

# import apis into sdk package
from stackit.authorization.api.default_api import DefaultApi
from stackit.authorization.api_client import ApiClient
from stackit.authorization.api.default_api import DefaultApi as DefaultApi
from stackit.authorization.api_client import ApiClient as ApiClient

# import ApiClient
from stackit.authorization.api_response import ApiResponse
from stackit.authorization.configuration import HostConfiguration
from stackit.authorization.exceptions import (
ApiAttributeError,
ApiException,
ApiKeyError,
ApiTypeError,
ApiValueError,
OpenApiException,
)
from stackit.authorization.api_response import ApiResponse as ApiResponse
from stackit.authorization.configuration import HostConfiguration as HostConfiguration
from stackit.authorization.exceptions import ApiAttributeError as ApiAttributeError
from stackit.authorization.exceptions import ApiException as ApiException
from stackit.authorization.exceptions import ApiKeyError as ApiKeyError
from stackit.authorization.exceptions import ApiTypeError as ApiTypeError
from stackit.authorization.exceptions import ApiValueError as ApiValueError
from stackit.authorization.exceptions import OpenApiException as OpenApiException

# import models into sdk package
from stackit.authorization.models.add_members_payload import AddMembersPayload
from stackit.authorization.models.error_response import ErrorResponse
from stackit.authorization.models.existing_permission import ExistingPermission
from stackit.authorization.models.list_members_response import ListMembersResponse
from stackit.authorization.models.add_members_payload import (
AddMembersPayload as AddMembersPayload,
)
from stackit.authorization.models.error_response import ErrorResponse as ErrorResponse
from stackit.authorization.models.existing_permission import (
ExistingPermission as ExistingPermission,
)
from stackit.authorization.models.list_members_response import (
ListMembersResponse as ListMembersResponse,
)
from stackit.authorization.models.list_permissions_response import (
ListPermissionsResponse,
ListPermissionsResponse as ListPermissionsResponse,
)
from stackit.authorization.models.list_user_memberships_response import (
ListUserMembershipsResponse,
ListUserMembershipsResponse as ListUserMembershipsResponse,
)
from stackit.authorization.models.list_user_permissions_response import (
ListUserPermissionsResponse,
)
from stackit.authorization.models.member import Member
from stackit.authorization.models.members_response import MembersResponse
from stackit.authorization.models.permission import Permission
from stackit.authorization.models.remove_members_payload import RemoveMembersPayload
from stackit.authorization.models.role import Role
from stackit.authorization.models.roles_response import RolesResponse
from stackit.authorization.models.user_membership import UserMembership
from stackit.authorization.models.user_permission import UserPermission
from stackit.authorization.models.zookie import Zookie
ListUserPermissionsResponse as ListUserPermissionsResponse,
)
from stackit.authorization.models.member import Member as Member
from stackit.authorization.models.members_response import (
MembersResponse as MembersResponse,
)
from stackit.authorization.models.permission import Permission as Permission
from stackit.authorization.models.remove_members_payload import (
RemoveMembersPayload as RemoveMembersPayload,
)
from stackit.authorization.models.role import Role as Role
from stackit.authorization.models.roles_response import RolesResponse as RolesResponse
from stackit.authorization.models.user_membership import (
UserMembership as UserMembership,
)
from stackit.authorization.models.user_permission import (
UserPermission as UserPermission,
)
from stackit.authorization.models.zookie import Zookie as Zookie
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

from typing import Any, Dict, List, Optional, Tuple, Union

Expand Down Expand Up @@ -92,7 +92,7 @@ def add_members(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._add_members_serialize(
resource_id=resource_id,
Expand Down Expand Up @@ -159,7 +159,7 @@ def add_members_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._add_members_serialize(
resource_id=resource_id,
Expand Down Expand Up @@ -226,7 +226,7 @@ def add_members_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._add_members_serialize(
resource_id=resource_id,
Expand Down Expand Up @@ -264,7 +264,7 @@ def _add_members_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down Expand Up @@ -353,7 +353,7 @@ def list_members(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_members_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -424,7 +424,7 @@ def list_members_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_members_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -495,7 +495,7 @@ def list_members_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_members_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -535,7 +535,7 @@ def _list_members_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down Expand Up @@ -614,7 +614,7 @@ def list_permissions(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_permissions_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -677,7 +677,7 @@ def list_permissions_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_permissions_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -740,7 +740,7 @@ def list_permissions_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_permissions_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -776,7 +776,7 @@ def _list_permissions_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down Expand Up @@ -854,7 +854,7 @@ def list_roles(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_roles_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -921,7 +921,7 @@ def list_roles_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_roles_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -988,7 +988,7 @@ def list_roles_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_roles_serialize(
resource_type=resource_type,
Expand Down Expand Up @@ -1026,7 +1026,7 @@ def _list_roles_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down Expand Up @@ -1110,7 +1110,7 @@ def list_user_memberships(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_user_memberships_serialize(
email=email,
Expand Down Expand Up @@ -1185,7 +1185,7 @@ def list_user_memberships_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_user_memberships_serialize(
email=email,
Expand Down Expand Up @@ -1260,7 +1260,7 @@ def list_user_memberships_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_user_memberships_serialize(
email=email,
Expand Down Expand Up @@ -1302,7 +1302,7 @@ def _list_user_memberships_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down Expand Up @@ -1396,7 +1396,7 @@ def list_user_permissions(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_user_permissions_serialize(
email=email,
Expand Down Expand Up @@ -1471,7 +1471,7 @@ def list_user_permissions_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_user_permissions_serialize(
email=email,
Expand Down Expand Up @@ -1546,7 +1546,7 @@ def list_user_permissions_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._list_user_permissions_serialize(
email=email,
Expand Down Expand Up @@ -1590,7 +1590,7 @@ def _list_user_permissions_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down Expand Up @@ -1678,7 +1678,7 @@ def remove_members(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._remove_members_serialize(
resource_id=resource_id,
Expand Down Expand Up @@ -1745,7 +1745,7 @@ def remove_members_with_http_info(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._remove_members_serialize(
resource_id=resource_id,
Expand Down Expand Up @@ -1812,7 +1812,7 @@ def remove_members_without_preload_content(
in the spec for a single request.
:type _host_index: int, optional
:return: Returns the result object.
""" # noqa: E501 docstring might be too long
""" # noqa: E501

_param = self._remove_members_serialize(
resource_id=resource_id,
Expand Down Expand Up @@ -1850,7 +1850,7 @@ def _remove_members_serialize(
_query_params: List[Tuple[str, str]] = []
_header_params: Dict[str, Optional[str]] = _headers or {}
_form_params: List[Tuple[str, str]] = []
_files: Dict[str, Union[str, bytes]] = {}
_files: Dict[str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]] = {}
_body_params: Optional[bytes] = None

# process the path parameters
Expand Down
Loading
Loading