-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUser.py
More file actions
29 lines (28 loc) · 864 Bytes
/
User.py
File metadata and controls
29 lines (28 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class User:
def __init__(
self,
id,
firstname,
lastname,
email,
room,
created_at,
updated_at,
url,
username,
internet_expiration,
ntlm_password=None,
):
self.id = id
self.firstname = firstname
self.lastname = lastname
self.email = email
self.room = room
self.created_at = created_at
self.updated_at = updated_at
self.url = url
self.ntlm_password = ntlm_password
self.username = username
self.internet_expiration = internet_expiration
def __repr__(self):
return f"User({self.id}, {self.firstname}, {self.lastname}, {self.email}, {self.room}, {self.created_at}, {self.updated_at}, {self.url}, {self.ntlm_password}, {self.username}, {self.internet_expiration})"