@@ -73,7 +73,7 @@ def __init__(self, session, object_factory):
7373 self ._object_factory = object_factory
7474
7575 @generator_container
76- def list (self , teamId = None , type = None , sortBy = None , max = None ,
76+ def list (self , teamId = None , type = None , sortBy = None , max = 100 ,
7777 ** request_parameters ):
7878 """List rooms.
7979
@@ -189,7 +189,33 @@ def get(self, roomId):
189189 # Return a room object created from the response JSON data
190190 return self ._object_factory (OBJECT_TYPE , json_data )
191191
192- def update (self , roomId , title = None , ** request_parameters ):
192+ def get_meeting_info (self , roomId ):
193+ """Get the meeting details for a room.
194+
195+ Args:
196+ roomId(basestring): The unique identifier for the room.
197+
198+ Returns:
199+ RoomMeetingInfo: A Room Meeting Info object with the meeting
200+ details for the room such as the SIP address, meeting URL,
201+ toll-free and toll dial-in numbers.
202+
203+ Raises:
204+ TypeError: If the parameter types are incorrect.
205+ ApiError: If the Webex Teams cloud returns an error.
206+
207+ """
208+ check_type (roomId , basestring )
209+
210+ # API request
211+ json_data = self ._session .get (
212+ API_ENDPOINT + '/' + roomId + '/meetingInfo' ,
213+ )
214+
215+ # Return a room meeting info object created from the response JSON data
216+ return self ._object_factory ("room_meeting_info" , json_data )
217+
218+ def update (self , roomId , title , ** request_parameters ):
193219 """Update details for a room, by ID.
194220
195221 Args:
@@ -207,7 +233,7 @@ def update(self, roomId, title=None, **request_parameters):
207233
208234 """
209235 check_type (roomId , basestring )
210- check_type (roomId , basestring , optional = True )
236+ check_type (roomId , basestring )
211237
212238 put_data = dict_from_items_with_values (
213239 request_parameters ,
0 commit comments