@@ -24,6 +24,7 @@ def openapi_types(_):
2424 "email" : (str ,),
2525 "handle" : (str ,),
2626 "icon" : (str ,),
27+ "last_login_time" : (datetime , none_type ),
2728 "mfa_enabled" : (bool ,),
2829 "modified_at" : (datetime ,),
2930 "name" : (str , none_type ),
@@ -39,6 +40,7 @@ def openapi_types(_):
3940 "email" : "email" ,
4041 "handle" : "handle" ,
4142 "icon" : "icon" ,
43+ "last_login_time" : "last_login_time" ,
4244 "mfa_enabled" : "mfa_enabled" ,
4345 "modified_at" : "modified_at" ,
4446 "name" : "name" ,
@@ -48,6 +50,7 @@ def openapi_types(_):
4850 "verified" : "verified" ,
4951 }
5052 read_only_vars = {
53+ "last_login_time" ,
5154 "mfa_enabled" ,
5255 }
5356
@@ -58,6 +61,7 @@ def __init__(
5861 email : Union [str , UnsetType ] = unset ,
5962 handle : Union [str , UnsetType ] = unset ,
6063 icon : Union [str , UnsetType ] = unset ,
64+ last_login_time : Union [datetime , none_type , UnsetType ] = unset ,
6165 mfa_enabled : Union [bool , UnsetType ] = unset ,
6266 modified_at : Union [datetime , UnsetType ] = unset ,
6367 name : Union [str , none_type , UnsetType ] = unset ,
@@ -85,6 +89,9 @@ def __init__(
8589 :param icon: URL of the user's icon.
8690 :type icon: str, optional
8791
92+ :param last_login_time: The last time the user logged in.
93+ :type last_login_time: datetime, none_type, optional
94+
8895 :param mfa_enabled: If user has MFA enabled.
8996 :type mfa_enabled: bool, optional
9097
@@ -116,6 +123,8 @@ def __init__(
116123 kwargs ["handle" ] = handle
117124 if icon is not unset :
118125 kwargs ["icon" ] = icon
126+ if last_login_time is not unset :
127+ kwargs ["last_login_time" ] = last_login_time
119128 if mfa_enabled is not unset :
120129 kwargs ["mfa_enabled" ] = mfa_enabled
121130 if modified_at is not unset :
0 commit comments