Skip to content

Commit b05f385

Browse files
committed
Add creatorId attribute to Room class
Add new Spark room attribute creatorId to Room class.
1 parent e2bf410 commit b05f385

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ciscosparkapi/api/rooms.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ def lastActivity(self):
5353
def created(self):
5454
return self._json[u'created']
5555

56+
@property
57+
def creatorId(self):
58+
return self._json[u'creatorId']
59+
5660
@property
5761
def teamId(self):
5862
"""Return the room teamId, if it exists, otherwise return None.
@@ -78,7 +82,7 @@ class RoomsAPI(object):
7882
"""
7983

8084
def __init__(self, session):
81-
"""Init a new RoomAPI object with the provided RestSession.
85+
"""Init a new RoomsAPI object with the provided RestSession.
8286
8387
Args:
8488
session(RestSession): The RESTful session object to be used for

0 commit comments

Comments
 (0)