@@ -150,27 +150,27 @@ def create(self, roomId, contentUrl, displayName, **request_parameters):
150150 # Return a room object created from the response JSON data
151151 return self ._object_factory (OBJECT_TYPE , json_data )
152152
153- # def get(self, roomId ):
154- # """Get the details of a room tab, by ID.
153+ def get (self , roomTabId ):
154+ """Get the details of a room tab, by ID.
155155
156- # Args:
157- # roomId (basestring): The ID of the room to be retrieved.
156+ Args:
157+ roomTabId (basestring): The ID of the room tab to be retrieved.
158158
159- # Returns:
160- # Room: A Room object with the details of the requested room.
159+ Returns:
160+ Room: A RoomTab object with the details of the requested room tab .
161161
162- # Raises:
163- # TypeError: If the parameter types are incorrect.
164- # ApiError: If the Webex Teams cloud returns an error.
162+ Raises:
163+ TypeError: If the parameter types are incorrect.
164+ ApiError: If the Webex Teams cloud returns an error.
165165
166- # """
167- # check_type(roomId , basestring)
166+ """
167+ check_type (roomTabId , basestring )
168168
169- # # API request
170- # json_data = self._session.get(API_ENDPOINT + '/' + roomId )
169+ # API request
170+ json_data = self ._session .get (API_ENDPOINT + '/' + roomTabId )
171171
172- # # Return a room object created from the response JSON data
173- # return self._object_factory(OBJECT_TYPE, json_data)
172+ # Return a room object created from the response JSON data
173+ return self ._object_factory (OBJECT_TYPE , json_data )
174174
175175 def update (self , roomTabId , roomId , contentUrl , displayName , ** request_parameters ):
176176 """Updates the content url of a Room Tab by ID.
0 commit comments