diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py b/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py index 042c86708..9359919ea 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/marshalling.py @@ -1176,6 +1176,9 @@ def marshal_CreateUserRequestMember( if request.send_password_email is not None: output["send_password_email"] = request.send_password_email + if request.send_welcome_email is not None: + output["send_welcome_email"] = request.send_welcome_email + if request.username is not None: output["username"] = request.username diff --git a/scaleway-async/scaleway_async/iam/v1alpha1/types.py b/scaleway-async/scaleway_async/iam/v1alpha1/types.py index 63d8753df..094fc81c3 100644 --- a/scaleway-async/scaleway_async/iam/v1alpha1/types.py +++ b/scaleway-async/scaleway_async/iam/v1alpha1/types.py @@ -254,6 +254,11 @@ class CreateUserRequestMember: Whether or not to send an email containing the member's password. """ + send_welcome_email: bool + """ + Whether or not to send a welcome email that includes onboarding information. + """ + username: str """ The member's username. diff --git a/scaleway/scaleway/iam/v1alpha1/marshalling.py b/scaleway/scaleway/iam/v1alpha1/marshalling.py index 042c86708..9359919ea 100644 --- a/scaleway/scaleway/iam/v1alpha1/marshalling.py +++ b/scaleway/scaleway/iam/v1alpha1/marshalling.py @@ -1176,6 +1176,9 @@ def marshal_CreateUserRequestMember( if request.send_password_email is not None: output["send_password_email"] = request.send_password_email + if request.send_welcome_email is not None: + output["send_welcome_email"] = request.send_welcome_email + if request.username is not None: output["username"] = request.username diff --git a/scaleway/scaleway/iam/v1alpha1/types.py b/scaleway/scaleway/iam/v1alpha1/types.py index 63d8753df..094fc81c3 100644 --- a/scaleway/scaleway/iam/v1alpha1/types.py +++ b/scaleway/scaleway/iam/v1alpha1/types.py @@ -254,6 +254,11 @@ class CreateUserRequestMember: Whether or not to send an email containing the member's password. """ + send_welcome_email: bool + """ + Whether or not to send a welcome email that includes onboarding information. + """ + username: str """ The member's username.