Skip to content

Commit

Permalink
feat(iam): add username order by in ListUsers (scaleway#788)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Dec 9, 2024
1 parent 436dfeb commit 75f362b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scaleway-async/scaleway_async/iam/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ class ListUsersRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
EMAIL_DESC = "email_desc"
LAST_LOGIN_ASC = "last_login_asc"
LAST_LOGIN_DESC = "last_login_desc"
USERNAME_ASC = "username_asc"
USERNAME_DESC = "username_desc"

def __str__(self) -> str:
return str(self.value)
Expand Down
2 changes: 2 additions & 0 deletions scaleway/scaleway/iam/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ class ListUsersRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
EMAIL_DESC = "email_desc"
LAST_LOGIN_ASC = "last_login_asc"
LAST_LOGIN_DESC = "last_login_desc"
USERNAME_ASC = "username_asc"
USERNAME_DESC = "username_desc"

def __str__(self) -> str:
return str(self.value)
Expand Down

0 comments on commit 75f362b

Please sign in to comment.