2020-06-30 12:45:36 +00:00
|
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
|
|
import six
|
|
|
|
|
|
2021-07-26 11:24:08 +00:00
|
|
|
|
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
2020-07-15 09:30:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class UserVmrDTO:
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
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',
|
2021-06-10 11:54:19 +00:00
|
|
|
|
'vmr_mode': 'int',
|
2020-06-30 12:45:36 +00:00
|
|
|
|
'vmr_pkg_id': 'str',
|
|
|
|
|
'vmr_pkg_name': 'str',
|
|
|
|
|
'vmr_pkg_parties': 'int',
|
|
|
|
|
'vmr_pkg_length': 'int',
|
|
|
|
|
'status': 'int'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
attribute_map = {
|
|
|
|
|
'id': 'id',
|
|
|
|
|
'vmr_id': 'vmrId',
|
|
|
|
|
'vmr_name': 'vmrName',
|
2021-06-10 11:54:19 +00:00
|
|
|
|
'vmr_mode': 'vmrMode',
|
2020-06-30 12:45:36 +00:00
|
|
|
|
'vmr_pkg_id': 'vmrPkgId',
|
|
|
|
|
'vmr_pkg_name': 'vmrPkgName',
|
|
|
|
|
'vmr_pkg_parties': 'vmrPkgParties',
|
|
|
|
|
'vmr_pkg_length': 'vmrPkgLength',
|
|
|
|
|
'status': 'status'
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-10 11:54:19 +00:00
|
|
|
|
def __init__(self, id=None, vmr_id=None, vmr_name=None, vmr_mode=None, vmr_pkg_id=None, vmr_pkg_name=None, vmr_pkg_parties=None, vmr_pkg_length=None, status=None):
|
2022-04-21 12:03:46 +00:00
|
|
|
|
"""UserVmrDTO
|
|
|
|
|
|
|
|
|
|
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。 > 对应[[创建会议](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
|
|
|
|
|
:param vmr_mode: VMR模式。 - 0:个人会议ID - 1: 云会议室 - 2: 网络研讨会
|
|
|
|
|
: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 vmr_pkg_length: 云会议室套餐包的与会时间,若为0则代表无限时长,仅云会议室返回。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_pkg_length: 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
|
|
|
|
|
"""
|
2020-07-15 09:30:15 +00:00
|
|
|
|
|
|
|
|
|
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
self._id = None
|
|
|
|
|
self._vmr_id = None
|
|
|
|
|
self._vmr_name = None
|
2021-06-10 11:54:19 +00:00
|
|
|
|
self._vmr_mode = None
|
2020-06-30 12:45:36 +00:00
|
|
|
|
self._vmr_pkg_id = None
|
|
|
|
|
self._vmr_pkg_name = None
|
|
|
|
|
self._vmr_pkg_parties = None
|
|
|
|
|
self._vmr_pkg_length = 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
|
2021-06-10 11:54:19 +00:00
|
|
|
|
if vmr_mode is not None:
|
|
|
|
|
self.vmr_mode = vmr_mode
|
2020-06-30 12:45:36 +00:00
|
|
|
|
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 vmr_pkg_length is not None:
|
|
|
|
|
self.vmr_pkg_length = vmr_pkg_length
|
|
|
|
|
if status is not None:
|
|
|
|
|
self.status = status
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def id(self):
|
|
|
|
|
"""Gets the id of this UserVmrDTO.
|
|
|
|
|
|
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。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The id of this UserVmrDTO.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._id
|
|
|
|
|
|
|
|
|
|
@id.setter
|
|
|
|
|
def id(self, id):
|
|
|
|
|
"""Sets the id of this UserVmrDTO.
|
|
|
|
|
|
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。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param id: The id of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type id: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._id = id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def vmr_id(self):
|
|
|
|
|
"""Gets the vmr_id of this UserVmrDTO.
|
|
|
|
|
|
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)接口返回数据的vmrConferenceID。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The vmr_id of this UserVmrDTO.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._vmr_id
|
|
|
|
|
|
|
|
|
|
@vmr_id.setter
|
|
|
|
|
def vmr_id(self, vmr_id):
|
|
|
|
|
"""Sets the vmr_id of this UserVmrDTO.
|
|
|
|
|
|
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)接口返回数据的vmrConferenceID。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param vmr_id: The vmr_id of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_id: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vmr_id = vmr_id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def vmr_name(self):
|
|
|
|
|
"""Gets the vmr_name of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室名称。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The vmr_name of this UserVmrDTO.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._vmr_name
|
|
|
|
|
|
|
|
|
|
@vmr_name.setter
|
|
|
|
|
def vmr_name(self, vmr_name):
|
|
|
|
|
"""Sets the vmr_name of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室名称。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param vmr_name: The vmr_name of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_name: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vmr_name = vmr_name
|
|
|
|
|
|
2021-06-10 11:54:19 +00:00
|
|
|
|
@property
|
|
|
|
|
def vmr_mode(self):
|
|
|
|
|
"""Gets the vmr_mode of this UserVmrDTO.
|
|
|
|
|
|
|
|
|
|
VMR模式。 - 0:个人会议ID - 1: 云会议室 - 2: 网络研讨会
|
|
|
|
|
|
|
|
|
|
:return: The vmr_mode of this UserVmrDTO.
|
|
|
|
|
:rtype: int
|
|
|
|
|
"""
|
|
|
|
|
return self._vmr_mode
|
|
|
|
|
|
|
|
|
|
@vmr_mode.setter
|
|
|
|
|
def vmr_mode(self, vmr_mode):
|
|
|
|
|
"""Sets the vmr_mode of this UserVmrDTO.
|
|
|
|
|
|
|
|
|
|
VMR模式。 - 0:个人会议ID - 1: 云会议室 - 2: 网络研讨会
|
|
|
|
|
|
|
|
|
|
:param vmr_mode: The vmr_mode of this UserVmrDTO.
|
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
|
|
|
|
|
|
2020-06-30 12:45:36 +00:00
|
|
|
|
@property
|
|
|
|
|
def vmr_pkg_id(self):
|
|
|
|
|
"""Gets the vmr_pkg_id of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的id,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The vmr_pkg_id of this UserVmrDTO.
|
|
|
|
|
: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 UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的id,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param vmr_pkg_id: The vmr_pkg_id of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_pkg_id: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vmr_pkg_id = vmr_pkg_id
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def vmr_pkg_name(self):
|
|
|
|
|
"""Gets the vmr_pkg_name of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的名称,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The vmr_pkg_name of this UserVmrDTO.
|
|
|
|
|
: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 UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的名称,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param vmr_pkg_name: The vmr_pkg_name of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_pkg_name: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vmr_pkg_name = vmr_pkg_name
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def vmr_pkg_parties(self):
|
|
|
|
|
"""Gets the vmr_pkg_parties of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的会议并发方数,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The vmr_pkg_parties of this UserVmrDTO.
|
|
|
|
|
: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 UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的会议并发方数,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param vmr_pkg_parties: The vmr_pkg_parties of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_pkg_parties: int
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vmr_pkg_parties = vmr_pkg_parties
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def vmr_pkg_length(self):
|
|
|
|
|
"""Gets the vmr_pkg_length of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的与会时间,若为0则代表无限时长,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The vmr_pkg_length of this UserVmrDTO.
|
|
|
|
|
:rtype: int
|
|
|
|
|
"""
|
|
|
|
|
return self._vmr_pkg_length
|
|
|
|
|
|
|
|
|
|
@vmr_pkg_length.setter
|
|
|
|
|
def vmr_pkg_length(self, vmr_pkg_length):
|
|
|
|
|
"""Sets the vmr_pkg_length of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室套餐包的与会时间,若为0则代表无限时长,仅云会议室返回。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param vmr_pkg_length: The vmr_pkg_length of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type vmr_pkg_length: int
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._vmr_pkg_length = vmr_pkg_length
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def status(self):
|
|
|
|
|
"""Gets the status of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室状态。 * 0:正常 * 1:停用 * 2:未分配
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The status of this UserVmrDTO.
|
|
|
|
|
:rtype: int
|
|
|
|
|
"""
|
|
|
|
|
return self._status
|
|
|
|
|
|
|
|
|
|
@status.setter
|
|
|
|
|
def status(self, status):
|
|
|
|
|
"""Sets the status of this UserVmrDTO.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
云会议室状态。 * 0:正常 * 1:停用 * 2:未分配
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param status: The status of this UserVmrDTO.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type status: int
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
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)
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
def __repr__(self):
|
2021-08-10 12:26:18 +00:00
|
|
|
|
"""For `print`"""
|
2020-06-30 12:45:36 +00:00
|
|
|
|
return self.to_str()
|
|
|
|
|
|
|
|
|
|
def __eq__(self, other):
|
|
|
|
|
"""Returns true if both objects are equal"""
|
|
|
|
|
if not isinstance(other, UserVmrDTO):
|
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
return self.__dict__ == other.__dict__
|
|
|
|
|
|
|
|
|
|
def __ne__(self, other):
|
|
|
|
|
"""Returns true if both objects are not equal"""
|
|
|
|
|
return not self == other
|