huaweicloud-sdk-python-v3/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/query_vmr_result_dto.py

493 lines
16 KiB
Python
Raw Normal View History

# coding: utf-8
import six
2021-07-26 11:24:08 +00:00
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class QueryVmrResultDTO:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
sensitive_list = []
openapi_types = {
'id': 'str',
'vmr_id': 'str',
'vmr_name': 'str',
'gust_pwd': 'str',
'gust_join_url': 'str',
'chair_pwd': 'str',
'chair_join_url': 'str',
'allow_gust_first': 'bool',
'gust_first_notice': 'bool',
2021-06-10 11:54:19 +00:00
'vmr_mode': 'int',
'vmr_pkg_id': 'str',
'vmr_pkg_name': 'str',
'vmr_pkg_parties': 'int',
'status': 'int'
}
attribute_map = {
'id': 'id',
'vmr_id': 'vmrId',
'vmr_name': 'vmrName',
'gust_pwd': 'gustPwd',
'gust_join_url': 'gustJoinUrl',
'chair_pwd': 'chairPwd',
'chair_join_url': 'chairJoinUrl',
'allow_gust_first': 'allowGustFirst',
'gust_first_notice': 'gustFirstNotice',
2021-06-10 11:54:19 +00:00
'vmr_mode': 'vmrMode',
'vmr_pkg_id': 'vmrPkgId',
'vmr_pkg_name': 'vmrPkgName',
'vmr_pkg_parties': 'vmrPkgParties',
'status': 'status'
}
2021-06-10 11:54:19 +00:00
def __init__(self, id=None, vmr_id=None, vmr_name=None, gust_pwd=None, gust_join_url=None, chair_pwd=None, chair_join_url=None, allow_gust_first=None, gust_first_notice=None, vmr_mode=None, vmr_pkg_id=None, vmr_pkg_name=None, vmr_pkg_parties=None, status=None):
2022-04-21 12:03:46 +00:00
"""QueryVmrResultDTO
The model defined in huaweicloud sdk
2022-09-22 11:38:02 +00:00
:param id: 云会议室的ID > 对应[[创建会议](https://support.huaweicloud.com/api-meeting/meeting_21_0014.html)](tag:hws)[[创建会议](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0014.html)](tag:hk)接口中的vmrID
2022-04-21 12:03:46 +00:00
:type id: str
2022-09-22 11:38:02 +00:00
:param vmr_id: 云会议室的固定会议ID或者个人会议ID > 对应[[创建会议](https://support.huaweicloud.com/api-meeting/meeting_21_0014.html)](tag:hws)[[创建会议](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0014.html)](tag:hk)接口中的vmrConferenceID
2022-04-21 12:03:46 +00:00
:type vmr_id: str
2022-09-22 11:38:02 +00:00
:param vmr_name: 云会议室名称
2022-04-21 12:03:46 +00:00
:type vmr_name: str
2022-09-22 11:38:02 +00:00
:param gust_pwd: 来宾密码
2022-04-21 12:03:46 +00:00
:type gust_pwd: str
2022-09-22 11:38:02 +00:00
:param gust_join_url: 来宾与会链接
2022-04-21 12:03:46 +00:00
:type gust_join_url: str
2022-09-22 11:38:02 +00:00
:param chair_pwd: 主持人密码
2022-04-21 12:03:46 +00:00
:type chair_pwd: str
2022-09-22 11:38:02 +00:00
:param chair_join_url: 主持人与会链接
2022-04-21 12:03:46 +00:00
:type chair_join_url: str
2022-09-22 11:38:02 +00:00
:param allow_gust_first: 允许来宾先入会
2022-04-21 12:03:46 +00:00
:type allow_gust_first: bool
2022-09-22 11:38:02 +00:00
:param gust_first_notice: 云会议室被使用后是否通知会议室所有者
2022-04-21 12:03:46 +00:00
:type gust_first_notice: bool
2022-09-22 11:38:02 +00:00
:param vmr_mode: VMR模式 * 0: 个人会议ID * 1: 云会议室 * 2: 网络研讨会
2022-04-21 12:03:46 +00:00
:type vmr_mode: int
2022-09-22 11:38:02 +00:00
:param vmr_pkg_id: 云会议室套餐包的id仅云会议室返回
2022-04-21 12:03:46 +00:00
:type vmr_pkg_id: str
2022-09-22 11:38:02 +00:00
:param vmr_pkg_name: 云会议室套餐包的名称仅云会议室返回
2022-04-21 12:03:46 +00:00
:type vmr_pkg_name: str
2022-09-22 11:38:02 +00:00
:param vmr_pkg_parties: 云会议室套餐包的会议并发方数仅云会议室返回
2022-04-21 12:03:46 +00:00
:type vmr_pkg_parties: int
2022-09-22 11:38:02 +00:00
:param status: 云会议室状态 * 0正常 * 1停用 * 2未分配
2022-04-21 12:03:46 +00:00
:type status: int
"""
self._id = None
self._vmr_id = None
self._vmr_name = None
self._gust_pwd = None
self._gust_join_url = None
self._chair_pwd = None
self._chair_join_url = None
self._allow_gust_first = None
self._gust_first_notice = None
2021-06-10 11:54:19 +00:00
self._vmr_mode = None
self._vmr_pkg_id = None
self._vmr_pkg_name = None
self._vmr_pkg_parties = None
self._status = None
self.discriminator = None
if id is not None:
self.id = id
if vmr_id is not None:
self.vmr_id = vmr_id
if vmr_name is not None:
self.vmr_name = vmr_name
if gust_pwd is not None:
self.gust_pwd = gust_pwd
if gust_join_url is not None:
self.gust_join_url = gust_join_url
if chair_pwd is not None:
self.chair_pwd = chair_pwd
if chair_join_url is not None:
self.chair_join_url = chair_join_url
if allow_gust_first is not None:
self.allow_gust_first = allow_gust_first
if gust_first_notice is not None:
self.gust_first_notice = gust_first_notice
2021-06-10 11:54:19 +00:00
if vmr_mode is not None:
self.vmr_mode = vmr_mode
if vmr_pkg_id is not None:
self.vmr_pkg_id = vmr_pkg_id
if vmr_pkg_name is not None:
self.vmr_pkg_name = vmr_pkg_name
if vmr_pkg_parties is not None:
self.vmr_pkg_parties = vmr_pkg_parties
if status is not None:
self.status = status
@property
def id(self):
"""Gets the id of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室的ID > 对应[[创建会议](https://support.huaweicloud.com/api-meeting/meeting_21_0014.html)](tag:hws)[[创建会议](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0014.html)](tag:hk)接口中的vmrID
:return: The id of this QueryVmrResultDTO.
:rtype: str
"""
return self._id
@id.setter
def id(self, id):
"""Sets the id of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室的ID > 对应[[创建会议](https://support.huaweicloud.com/api-meeting/meeting_21_0014.html)](tag:hws)[[创建会议](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0014.html)](tag:hk)接口中的vmrID
:param id: The id of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type id: str
"""
self._id = id
@property
def vmr_id(self):
"""Gets the vmr_id of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室的固定会议ID或者个人会议ID > 对应[[创建会议](https://support.huaweicloud.com/api-meeting/meeting_21_0014.html)](tag:hws)[[创建会议](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0014.html)](tag:hk)接口中的vmrConferenceID
:return: The vmr_id of this QueryVmrResultDTO.
:rtype: str
"""
return self._vmr_id
@vmr_id.setter
def vmr_id(self, vmr_id):
"""Sets the vmr_id of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室的固定会议ID或者个人会议ID > 对应[[创建会议](https://support.huaweicloud.com/api-meeting/meeting_21_0014.html)](tag:hws)[[创建会议](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0014.html)](tag:hk)接口中的vmrConferenceID
:param vmr_id: The vmr_id of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type vmr_id: str
"""
self._vmr_id = vmr_id
@property
def vmr_name(self):
"""Gets the vmr_name of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室名称
:return: The vmr_name of this QueryVmrResultDTO.
:rtype: str
"""
return self._vmr_name
@vmr_name.setter
def vmr_name(self, vmr_name):
"""Sets the vmr_name of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室名称
:param vmr_name: The vmr_name of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type vmr_name: str
"""
self._vmr_name = vmr_name
@property
def gust_pwd(self):
"""Gets the gust_pwd of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
来宾密码
:return: The gust_pwd of this QueryVmrResultDTO.
:rtype: str
"""
return self._gust_pwd
@gust_pwd.setter
def gust_pwd(self, gust_pwd):
"""Sets the gust_pwd of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
来宾密码
:param gust_pwd: The gust_pwd of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type gust_pwd: str
"""
self._gust_pwd = gust_pwd
@property
def gust_join_url(self):
"""Gets the gust_join_url of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
来宾与会链接
:return: The gust_join_url of this QueryVmrResultDTO.
:rtype: str
"""
return self._gust_join_url
@gust_join_url.setter
def gust_join_url(self, gust_join_url):
"""Sets the gust_join_url of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
来宾与会链接
:param gust_join_url: The gust_join_url of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type gust_join_url: str
"""
self._gust_join_url = gust_join_url
@property
def chair_pwd(self):
"""Gets the chair_pwd of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
主持人密码
:return: The chair_pwd of this QueryVmrResultDTO.
:rtype: str
"""
return self._chair_pwd
@chair_pwd.setter
def chair_pwd(self, chair_pwd):
"""Sets the chair_pwd of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
主持人密码
:param chair_pwd: The chair_pwd of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type chair_pwd: str
"""
self._chair_pwd = chair_pwd
@property
def chair_join_url(self):
"""Gets the chair_join_url of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
主持人与会链接
:return: The chair_join_url of this QueryVmrResultDTO.
:rtype: str
"""
return self._chair_join_url
@chair_join_url.setter
def chair_join_url(self, chair_join_url):
"""Sets the chair_join_url of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
主持人与会链接
:param chair_join_url: The chair_join_url of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type chair_join_url: str
"""
self._chair_join_url = chair_join_url
@property
def allow_gust_first(self):
"""Gets the allow_gust_first of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
允许来宾先入会
:return: The allow_gust_first of this QueryVmrResultDTO.
:rtype: bool
"""
return self._allow_gust_first
@allow_gust_first.setter
def allow_gust_first(self, allow_gust_first):
"""Sets the allow_gust_first of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
允许来宾先入会
:param allow_gust_first: The allow_gust_first of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type allow_gust_first: bool
"""
self._allow_gust_first = allow_gust_first
@property
def gust_first_notice(self):
"""Gets the gust_first_notice of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室被使用后是否通知会议室所有者
:return: The gust_first_notice of this QueryVmrResultDTO.
:rtype: bool
"""
return self._gust_first_notice
@gust_first_notice.setter
def gust_first_notice(self, gust_first_notice):
"""Sets the gust_first_notice of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室被使用后是否通知会议室所有者
:param gust_first_notice: The gust_first_notice of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type gust_first_notice: bool
"""
self._gust_first_notice = gust_first_notice
2021-06-10 11:54:19 +00:00
@property
def vmr_mode(self):
"""Gets the vmr_mode of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
VMR模式 * 0: 个人会议ID * 1: 云会议室 * 2: 网络研讨会
2021-06-10 11:54:19 +00:00
:return: The vmr_mode of this QueryVmrResultDTO.
:rtype: int
"""
return self._vmr_mode
@vmr_mode.setter
def vmr_mode(self, vmr_mode):
"""Sets the vmr_mode of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
VMR模式 * 0: 个人会议ID * 1: 云会议室 * 2: 网络研讨会
2021-06-10 11:54:19 +00:00
:param vmr_mode: The vmr_mode of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type vmr_mode: int
2021-06-10 11:54:19 +00:00
"""
self._vmr_mode = vmr_mode
@property
def vmr_pkg_id(self):
"""Gets the vmr_pkg_id of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室套餐包的id仅云会议室返回
:return: The vmr_pkg_id of this QueryVmrResultDTO.
:rtype: str
"""
return self._vmr_pkg_id
@vmr_pkg_id.setter
def vmr_pkg_id(self, vmr_pkg_id):
"""Sets the vmr_pkg_id of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室套餐包的id仅云会议室返回
:param vmr_pkg_id: The vmr_pkg_id of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type vmr_pkg_id: str
"""
self._vmr_pkg_id = vmr_pkg_id
@property
def vmr_pkg_name(self):
"""Gets the vmr_pkg_name of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室套餐包的名称仅云会议室返回
:return: The vmr_pkg_name of this QueryVmrResultDTO.
:rtype: str
"""
return self._vmr_pkg_name
@vmr_pkg_name.setter
def vmr_pkg_name(self, vmr_pkg_name):
"""Sets the vmr_pkg_name of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室套餐包的名称仅云会议室返回
:param vmr_pkg_name: The vmr_pkg_name of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type vmr_pkg_name: str
"""
self._vmr_pkg_name = vmr_pkg_name
@property
def vmr_pkg_parties(self):
"""Gets the vmr_pkg_parties of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室套餐包的会议并发方数仅云会议室返回
:return: The vmr_pkg_parties of this QueryVmrResultDTO.
:rtype: int
"""
return self._vmr_pkg_parties
@vmr_pkg_parties.setter
def vmr_pkg_parties(self, vmr_pkg_parties):
"""Sets the vmr_pkg_parties of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室套餐包的会议并发方数仅云会议室返回
:param vmr_pkg_parties: The vmr_pkg_parties of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type vmr_pkg_parties: int
"""
self._vmr_pkg_parties = vmr_pkg_parties
@property
def status(self):
"""Gets the status of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室状态 * 0正常 * 1停用 * 2未分配
:return: The status of this QueryVmrResultDTO.
:rtype: int
"""
return self._status
@status.setter
def status(self, status):
"""Sets the status of this QueryVmrResultDTO.
2022-09-22 11:38:02 +00:00
云会议室状态 * 0正常 * 1停用 * 2未分配
:param status: The status of this QueryVmrResultDTO.
2022-04-21 12:03:46 +00:00
:type status: int
"""
self._status = status
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
if attr in self.sensitive_list:
result[attr] = "****"
else:
result[attr] = value
return result
def to_str(self):
2021-08-10 12:26:18 +00:00
"""Returns the string representation of the model"""
2021-07-09 10:57:08 +00:00
import simplejson as json
2021-08-10 12:26:18 +00:00
if six.PY2:
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
def __repr__(self):
2021-08-10 12:26:18 +00:00
"""For `print`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, QueryVmrResultDTO):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other