File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
scaleway-async/scaleway_async/iam/v1alpha1
scaleway/scaleway/iam/v1alpha1 Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -557,6 +557,10 @@ def unmarshal_User(data: Any) -> User:
557557 if field is not None :
558558 args ["tags" ] = field
559559
560+ field = data .get ("locked" , None )
561+ if field is not None :
562+ args ["locked" ] = field
563+
560564 field = data .get ("last_login_at" , None )
561565 if field is not None :
562566 args ["last_login_at" ] = (
Original file line number Diff line number Diff line change @@ -721,6 +721,11 @@ class User:
721721 Tags associated with the user.
722722 """
723723
724+ locked : bool
725+ """
726+ Defines whether the user is locked.
727+ """
728+
724729 last_login_at : Optional [datetime ]
725730 """
726731 Date of the last login.
Original file line number Diff line number Diff line change @@ -557,6 +557,10 @@ def unmarshal_User(data: Any) -> User:
557557 if field is not None :
558558 args ["tags" ] = field
559559
560+ field = data .get ("locked" , None )
561+ if field is not None :
562+ args ["locked" ] = field
563+
560564 field = data .get ("last_login_at" , None )
561565 if field is not None :
562566 args ["last_login_at" ] = (
Original file line number Diff line number Diff line change @@ -721,6 +721,11 @@ class User:
721721 Tags associated with the user.
722722 """
723723
724+ locked : bool
725+ """
726+ Defines whether the user is locked.
727+ """
728+
724729 last_login_at : Optional [datetime ]
725730 """
726731 Date of the last login.
You can’t perform that action at this time.
0 commit comments