Skip to content

Commit 75f362b

Browse files
authored
feat(iam): add username order by in ListUsers (#788)
1 parent 436dfeb commit 75f362b

File tree

2 files changed

+4
-0
lines changed
  • scaleway-async/scaleway_async/iam/v1alpha1
  • scaleway/scaleway/iam/v1alpha1

2 files changed

+4
-0
lines changed

scaleway-async/scaleway_async/iam/v1alpha1/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ class ListUsersRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
135135
EMAIL_DESC = "email_desc"
136136
LAST_LOGIN_ASC = "last_login_asc"
137137
LAST_LOGIN_DESC = "last_login_desc"
138+
USERNAME_ASC = "username_asc"
139+
USERNAME_DESC = "username_desc"
138140

139141
def __str__(self) -> str:
140142
return str(self.value)

scaleway/scaleway/iam/v1alpha1/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ class ListUsersRequestOrderBy(str, Enum, metaclass=StrEnumMeta):
135135
EMAIL_DESC = "email_desc"
136136
LAST_LOGIN_ASC = "last_login_asc"
137137
LAST_LOGIN_DESC = "last_login_desc"
138+
USERNAME_ASC = "username_asc"
139+
USERNAME_DESC = "username_desc"
138140

139141
def __str__(self) -> str:
140142
return str(self.value)

0 commit comments

Comments
 (0)