File tree Expand file tree Collapse file tree 6 files changed +0
-72
lines changed
scaleway-async/scaleway_async/iam/v1alpha1
scaleway/scaleway/iam/v1alpha1 Expand file tree Collapse file tree 6 files changed +0
-72
lines changed Original file line number Diff line number Diff line change 110110from .types import ListUsersResponse
111111from .types import LockUserRequest
112112from .types import MFAOTP
113- from .types import MigrateOrganizationGuestsRequest
114113from .types import Organization
115114from .types import OrganizationSecuritySettings
116115from .types import RemoveGroupMemberRequest
247246 "ListUsersResponse" ,
248247 "LockUserRequest" ,
249248 "MFAOTP" ,
250- "MigrateOrganizationGuestsRequest" ,
251249 "Organization" ,
252250 "OrganizationSecuritySettings" ,
253251 "RemoveGroupMemberRequest" ,
Original file line number Diff line number Diff line change @@ -3017,32 +3017,6 @@ async def get_organization(
30173017 self ._throw_on_error (res )
30183018 return unmarshal_Organization (res .json ())
30193019
3020- async def migrate_organization_guests (
3021- self ,
3022- * ,
3023- organization_id : Optional [str ] = None ,
3024- ) -> None :
3025- """
3026- Migrate the organization's guests to IAM members.
3027- :param organization_id: ID of the Organization.
3028-
3029- Usage:
3030- ::
3031-
3032- result = await api.migrate_organization_guests()
3033- """
3034-
3035- param_organization_id = validate_path_param (
3036- "organization_id" , organization_id or self .client .default_organization_id
3037- )
3038-
3039- res = self ._request (
3040- "POST" ,
3041- f"/iam/v1alpha1/organizations/{ param_organization_id } /migrate-guests" ,
3042- )
3043-
3044- self ._throw_on_error (res )
3045-
30463020 async def update_organization_login_methods (
30473021 self ,
30483022 * ,
Original file line number Diff line number Diff line change @@ -2078,14 +2078,6 @@ class MFAOTP:
20782078 secret : str
20792079
20802080
2081- @dataclass
2082- class MigrateOrganizationGuestsRequest :
2083- organization_id : Optional [str ] = None
2084- """
2085- ID of the Organization.
2086- """
2087-
2088-
20892081@dataclass
20902082class Organization :
20912083 id : str
Original file line number Diff line number Diff line change 110110from .types import ListUsersResponse
111111from .types import LockUserRequest
112112from .types import MFAOTP
113- from .types import MigrateOrganizationGuestsRequest
114113from .types import Organization
115114from .types import OrganizationSecuritySettings
116115from .types import RemoveGroupMemberRequest
247246 "ListUsersResponse" ,
248247 "LockUserRequest" ,
249248 "MFAOTP" ,
250- "MigrateOrganizationGuestsRequest" ,
251249 "Organization" ,
252250 "OrganizationSecuritySettings" ,
253251 "RemoveGroupMemberRequest" ,
Original file line number Diff line number Diff line change @@ -3017,32 +3017,6 @@ def get_organization(
30173017 self ._throw_on_error (res )
30183018 return unmarshal_Organization (res .json ())
30193019
3020- def migrate_organization_guests (
3021- self ,
3022- * ,
3023- organization_id : Optional [str ] = None ,
3024- ) -> None :
3025- """
3026- Migrate the organization's guests to IAM members.
3027- :param organization_id: ID of the Organization.
3028-
3029- Usage:
3030- ::
3031-
3032- result = api.migrate_organization_guests()
3033- """
3034-
3035- param_organization_id = validate_path_param (
3036- "organization_id" , organization_id or self .client .default_organization_id
3037- )
3038-
3039- res = self ._request (
3040- "POST" ,
3041- f"/iam/v1alpha1/organizations/{ param_organization_id } /migrate-guests" ,
3042- )
3043-
3044- self ._throw_on_error (res )
3045-
30463020 def update_organization_login_methods (
30473021 self ,
30483022 * ,
Original file line number Diff line number Diff line change @@ -2078,14 +2078,6 @@ class MFAOTP:
20782078 secret : str
20792079
20802080
2081- @dataclass
2082- class MigrateOrganizationGuestsRequest :
2083- organization_id : Optional [str ] = None
2084- """
2085- ID of the Organization.
2086- """
2087-
2088-
20892081@dataclass
20902082class Organization :
20912083 id : str
You can’t perform that action at this time.
0 commit comments