Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/webexpythonsdk/models/mixins/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ def ownerId(self):
@property
def classificationId(self):
"""The ID of the current classification."""
return self._json_data.get("ownerId")
return self._json_data.get("classificationId")

@property
def isAnnouncementOnly(self):
"""Indicates when a space is in Announcement Mode (only moderators can post)."""
return self._json_data.get("ownerId")
return self._json_data.get("isAnnouncementOnly")

@property
def isReadOnly(self):
Expand All @@ -103,7 +103,7 @@ def isReadOnly(self):
A compliance officer can set a direct room as read-only, which will disallow any
new information exchanges in this space, while maintaining historical data.
"""
return self._json_data.get("ownerId")
return self._json_data.get("isReadOnly")

@property
def isPublic(self):
Expand All @@ -112,7 +112,7 @@ def isPublic(self):
The room is public and therefore discoverable within the org. Anyone can find
and join the room.
"""
return self._json_data.get("ownerId")
return self._json_data.get("isPublic")

@property
def madePublic(self):
Expand All @@ -126,4 +126,4 @@ def madePublic(self):
@property
def description(self):
"""The description of the room."""
return self._json_data.get("ownerId")
return self._json_data.get("description")