@@ -150,27 +150,27 @@ def create(self, roomId, contentUrl, displayName, **request_parameters):
150
150
# Return a room object created from the response JSON data
151
151
return self ._object_factory (OBJECT_TYPE , json_data )
152
152
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.
155
155
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.
158
158
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 .
161
161
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.
165
165
166
- # """
167
- # check_type(roomId , basestring)
166
+ """
167
+ check_type (roomTabId , basestring )
168
168
169
- # # API request
170
- # json_data = self._session.get(API_ENDPOINT + '/' + roomId )
169
+ # API request
170
+ json_data = self ._session .get (API_ENDPOINT + '/' + roomTabId )
171
171
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 )
174
174
175
175
def update (self , roomTabId , roomId , contentUrl , displayName , ** request_parameters ):
176
176
"""Updates the content url of a Room Tab by ID.
0 commit comments