@@ -41,12 +41,12 @@ class RoomBasicPropertiesMixin(object):
41
41
@property
42
42
def id (self ):
43
43
"""A unique identifier for the room."""
44
- return self ._json_data .get ('id' )
44
+ return self ._json_data .get ("id" )
45
45
46
46
@property
47
47
def title (self ):
48
48
"""A user-friendly name for the room."""
49
- return self ._json_data .get (' title' )
49
+ return self ._json_data .get (" title" )
50
50
51
51
@property
52
52
def type (self ):
@@ -57,22 +57,22 @@ def type(self):
57
57
58
58
`group`: Group room
59
59
"""
60
- return self ._json_data .get (' type' )
60
+ return self ._json_data .get (" type" )
61
61
62
62
@property
63
63
def isLocked (self ):
64
64
"""Whether the room is moderated (locked) or not."""
65
- return self ._json_data .get (' isLocked' )
65
+ return self ._json_data .get (" isLocked" )
66
66
67
67
@property
68
68
def teamId (self ):
69
69
"""The ID for the team with which this room is associated."""
70
- return self ._json_data .get (' teamId' )
70
+ return self ._json_data .get (" teamId" )
71
71
72
72
@property
73
73
def lastActivity (self ):
74
- """The date and time of the room' s last activity."""
75
- last_activity = self ._json_data .get (' lastActivity' )
74
+ """The date and time of the room" s last activity."""
75
+ last_activity = self ._json_data .get (" lastActivity" )
76
76
if last_activity :
77
77
return WebexTeamsDateTime .strptime (last_activity )
78
78
else :
@@ -81,18 +81,18 @@ def lastActivity(self):
81
81
@property
82
82
def creatorId (self ):
83
83
"""The ID of the person who created this room."""
84
- return self ._json_data .get ('creatorId' )
85
-
86
- @property
87
- def ownerId (self ):
88
- """The ID of the organization which owns this room."""
89
- return self ._json_data .get ('ownerId' )
84
+ return self ._json_data .get ("creatorId" )
90
85
91
86
@property
92
87
def created (self ):
93
88
"""The date and time the room was created."""
94
- created = self ._json_data .get (' created' )
89
+ created = self ._json_data .get (" created" )
95
90
if created :
96
91
return WebexTeamsDateTime .strptime (created )
97
92
else :
98
93
return None
94
+
95
+ @property
96
+ def ownerId (self ):
97
+ """The ID of the organization which owns this room."""
98
+ return self ._json_data .get ("ownerId" )
0 commit comments