|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +"""Webex Teams Room Meeting Info data model. |
| 3 | +
|
| 4 | +Copyright (c) 2016-2019 Cisco and/or its affiliates. |
| 5 | +
|
| 6 | +Permission is hereby granted, free of charge, to any person obtaining a copy |
| 7 | +of this software and associated documentation files (the "Software"), to deal |
| 8 | +in the Software without restriction, including without limitation the rights |
| 9 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 10 | +copies of the Software, and to permit persons to whom the Software is |
| 11 | +furnished to do so, subject to the following conditions: |
| 12 | +
|
| 13 | +The above copyright notice and this permission notice shall be included in all |
| 14 | +copies or substantial portions of the Software. |
| 15 | +
|
| 16 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 17 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 18 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 19 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 20 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 21 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| 22 | +SOFTWARE. |
| 23 | +""" |
| 24 | + |
| 25 | + |
| 26 | +from __future__ import ( |
| 27 | + absolute_import, |
| 28 | + division, |
| 29 | + print_function, |
| 30 | + unicode_literals, |
| 31 | +) |
| 32 | + |
| 33 | +from builtins import * |
| 34 | + |
| 35 | + |
| 36 | +class RoomMeetingInfoBasicPropertiesMixin(object): |
| 37 | + """Room basic properties.""" |
| 38 | + |
| 39 | + @property |
| 40 | + def roomId(self): |
| 41 | + """A unique identifier for the room.""" |
| 42 | + return self._json_data.get("roomId") |
| 43 | + |
| 44 | + @property |
| 45 | + def meetingLink(self): |
| 46 | + """The Webex meeting URL for the room.""" |
| 47 | + return self._json_data.get("meetingLink") |
| 48 | + |
| 49 | + @property |
| 50 | + def sipAddress(self): |
| 51 | + """The SIP address for the room.""" |
| 52 | + return self._json_data.get("sipAddress") |
| 53 | + |
| 54 | + @property |
| 55 | + def meetingNumber(self): |
| 56 | + """The Webex meeting number for the room.""" |
| 57 | + return self._json_data.get("meetingNumber") |
| 58 | + |
| 59 | + @property |
| 60 | + def callInTollFreeNumber(self): |
| 61 | + """The toll-free PSTN number for the room.""" |
| 62 | + return self._json_data.get("callInTollFreeNumber") |
| 63 | + |
| 64 | + @property |
| 65 | + def callInTollNumber(self): |
| 66 | + """The toll (local) PSTN number for the room.""" |
| 67 | + return self._json_data.get("callInTollNumber") |
0 commit comments