2020-06-30 12:45:36 +00:00
|
|
|
|
# coding: utf-8
|
|
|
|
|
|
|
|
|
|
import six
|
|
|
|
|
|
2020-07-15 09:30:15 +00:00
|
|
|
|
from huaweicloudsdkcore.sdk_response import SdkResponse
|
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 ShowDeviceDetailResponse(SdkResponse):
|
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 = {
|
|
|
|
|
'name': 'str',
|
|
|
|
|
'type': 'str',
|
|
|
|
|
'model': 'str',
|
|
|
|
|
'sn': 'str',
|
|
|
|
|
'account': 'str',
|
|
|
|
|
'number': 'str',
|
|
|
|
|
'prj_code_mode': 'int',
|
|
|
|
|
'dept_code': 'str',
|
|
|
|
|
'dept_name': 'str',
|
|
|
|
|
'dept_name_path': 'str',
|
|
|
|
|
'phone': 'str',
|
|
|
|
|
'country': 'str',
|
|
|
|
|
'email': 'str',
|
|
|
|
|
'description': 'str',
|
|
|
|
|
'status': 'int'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
attribute_map = {
|
|
|
|
|
'name': 'name',
|
|
|
|
|
'type': 'type',
|
|
|
|
|
'model': 'model',
|
|
|
|
|
'sn': 'sn',
|
|
|
|
|
'account': 'account',
|
|
|
|
|
'number': 'number',
|
|
|
|
|
'prj_code_mode': 'prjCodeMode',
|
|
|
|
|
'dept_code': 'deptCode',
|
|
|
|
|
'dept_name': 'deptName',
|
|
|
|
|
'dept_name_path': 'deptNamePath',
|
|
|
|
|
'phone': 'phone',
|
|
|
|
|
'country': 'country',
|
|
|
|
|
'email': 'email',
|
|
|
|
|
'description': 'description',
|
|
|
|
|
'status': 'status'
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-15 09:30:15 +00:00
|
|
|
|
def __init__(self, name=None, type=None, model=None, sn=None, account=None, number=None, prj_code_mode=None, dept_code=None, dept_name=None, dept_name_path=None, phone=None, country=None, email=None, description=None, status=None):
|
2022-04-21 12:03:46 +00:00
|
|
|
|
"""ShowDeviceDetailResponse
|
|
|
|
|
|
|
|
|
|
The model defined in huaweicloud sdk
|
|
|
|
|
|
|
|
|
|
:param name: 终端名称。
|
|
|
|
|
:type name: str
|
|
|
|
|
:param type: 终端类型,区分自研和第三方终端。
|
|
|
|
|
:type type: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param model: 终端型号,枚举类型。当前支持TE系列和部分第三方硬件终端,具体的终端类型可以通过[[获取所有终端类型](https://support.huaweicloud.com/api-meeting/meeting_21_0092.html)](tag:hws)[[获取所有终端类型](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0092.html)](tag:hk)接口查询。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type model: str
|
|
|
|
|
:param sn: 终端SN号,仅可包含数字、字母和下划线。
|
|
|
|
|
:type sn: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param account: 硬终端对应的内置帐号。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type account: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param number: 终端绑定的号码。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type number: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param prj_code_mode: 投影码生成模式。 * 0:自动(该模式下根据消息上报的IP地址内部控制复杂度:私网地址配置成简单模式;公网地址配置成复杂模式) * 1:简单 * 2:复杂
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type prj_code_mode: int
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param dept_code: 部门编码。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dept_code: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param dept_name: 部门名称。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dept_name: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param dept_name_path: 部门名称路径。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dept_name_path: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param phone: 手机号。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type phone: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param country: [[手机号所属的国家](https://support.huaweicloud.com/api-meeting/meeting_21_0109.html#ZH-CN_TOPIC_0212714591__table19371178135314)](tag:hws)[[手机号所属的国家](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0109.html#ZH-CN_TOPIC_0212714591__table19371178135314)](tag:hk) 。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type country: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param email: 邮箱地址。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type email: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param description: 终端描述。
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type description: str
|
2022-09-22 11:38:02 +00:00
|
|
|
|
:param status: 终端状态。 * 0、正常 * 1、停用\"
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type status: int
|
|
|
|
|
"""
|
2020-07-15 09:30:15 +00:00
|
|
|
|
|
2021-05-26 03:27:55 +00:00
|
|
|
|
super(ShowDeviceDetailResponse, self).__init__()
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
self._name = None
|
|
|
|
|
self._type = None
|
|
|
|
|
self._model = None
|
|
|
|
|
self._sn = None
|
|
|
|
|
self._account = None
|
|
|
|
|
self._number = None
|
|
|
|
|
self._prj_code_mode = None
|
|
|
|
|
self._dept_code = None
|
|
|
|
|
self._dept_name = None
|
|
|
|
|
self._dept_name_path = None
|
|
|
|
|
self._phone = None
|
|
|
|
|
self._country = None
|
|
|
|
|
self._email = None
|
|
|
|
|
self._description = None
|
|
|
|
|
self._status = None
|
|
|
|
|
self.discriminator = None
|
|
|
|
|
|
|
|
|
|
if name is not None:
|
|
|
|
|
self.name = name
|
|
|
|
|
if type is not None:
|
|
|
|
|
self.type = type
|
|
|
|
|
if model is not None:
|
|
|
|
|
self.model = model
|
|
|
|
|
if sn is not None:
|
|
|
|
|
self.sn = sn
|
|
|
|
|
if account is not None:
|
|
|
|
|
self.account = account
|
|
|
|
|
if number is not None:
|
|
|
|
|
self.number = number
|
|
|
|
|
if prj_code_mode is not None:
|
|
|
|
|
self.prj_code_mode = prj_code_mode
|
|
|
|
|
if dept_code is not None:
|
|
|
|
|
self.dept_code = dept_code
|
|
|
|
|
if dept_name is not None:
|
|
|
|
|
self.dept_name = dept_name
|
|
|
|
|
if dept_name_path is not None:
|
|
|
|
|
self.dept_name_path = dept_name_path
|
|
|
|
|
if phone is not None:
|
|
|
|
|
self.phone = phone
|
|
|
|
|
if country is not None:
|
|
|
|
|
self.country = country
|
|
|
|
|
if email is not None:
|
|
|
|
|
self.email = email
|
|
|
|
|
if description is not None:
|
|
|
|
|
self.description = description
|
|
|
|
|
if status is not None:
|
|
|
|
|
self.status = status
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def name(self):
|
|
|
|
|
"""Gets the name of this ShowDeviceDetailResponse.
|
|
|
|
|
|
|
|
|
|
终端名称。
|
|
|
|
|
|
|
|
|
|
:return: The name of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._name
|
|
|
|
|
|
|
|
|
|
@name.setter
|
|
|
|
|
def name(self, name):
|
|
|
|
|
"""Sets the name of this ShowDeviceDetailResponse.
|
|
|
|
|
|
|
|
|
|
终端名称。
|
|
|
|
|
|
|
|
|
|
:param name: The name of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type name: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._name = name
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def type(self):
|
|
|
|
|
"""Gets the type of this ShowDeviceDetailResponse.
|
|
|
|
|
|
|
|
|
|
终端类型,区分自研和第三方终端。
|
|
|
|
|
|
|
|
|
|
:return: The type of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._type
|
|
|
|
|
|
|
|
|
|
@type.setter
|
|
|
|
|
def type(self, type):
|
|
|
|
|
"""Sets the type of this ShowDeviceDetailResponse.
|
|
|
|
|
|
|
|
|
|
终端类型,区分自研和第三方终端。
|
|
|
|
|
|
|
|
|
|
:param type: The type of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type type: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._type = type
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def model(self):
|
|
|
|
|
"""Gets the model of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端型号,枚举类型。当前支持TE系列和部分第三方硬件终端,具体的终端类型可以通过[[获取所有终端类型](https://support.huaweicloud.com/api-meeting/meeting_21_0092.html)](tag:hws)[[获取所有终端类型](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0092.html)](tag:hk)接口查询。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The model of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._model
|
|
|
|
|
|
|
|
|
|
@model.setter
|
|
|
|
|
def model(self, model):
|
|
|
|
|
"""Sets the model of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端型号,枚举类型。当前支持TE系列和部分第三方硬件终端,具体的终端类型可以通过[[获取所有终端类型](https://support.huaweicloud.com/api-meeting/meeting_21_0092.html)](tag:hws)[[获取所有终端类型](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0092.html)](tag:hk)接口查询。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param model: The model of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type model: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._model = model
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def sn(self):
|
|
|
|
|
"""Gets the sn of this ShowDeviceDetailResponse.
|
|
|
|
|
|
|
|
|
|
终端SN号,仅可包含数字、字母和下划线。
|
|
|
|
|
|
|
|
|
|
:return: The sn of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._sn
|
|
|
|
|
|
|
|
|
|
@sn.setter
|
|
|
|
|
def sn(self, sn):
|
|
|
|
|
"""Sets the sn of this ShowDeviceDetailResponse.
|
|
|
|
|
|
|
|
|
|
终端SN号,仅可包含数字、字母和下划线。
|
|
|
|
|
|
|
|
|
|
:param sn: The sn of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type sn: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._sn = sn
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def account(self):
|
|
|
|
|
"""Gets the account of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
硬终端对应的内置帐号。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The account of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._account
|
|
|
|
|
|
|
|
|
|
@account.setter
|
|
|
|
|
def account(self, account):
|
|
|
|
|
"""Sets the account of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
硬终端对应的内置帐号。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param account: The account of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type account: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._account = account
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def number(self):
|
|
|
|
|
"""Gets the number of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端绑定的号码。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The number of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._number
|
|
|
|
|
|
|
|
|
|
@number.setter
|
|
|
|
|
def number(self, number):
|
|
|
|
|
"""Sets the number of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端绑定的号码。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param number: The number of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type number: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._number = number
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def prj_code_mode(self):
|
|
|
|
|
"""Gets the prj_code_mode of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
投影码生成模式。 * 0:自动(该模式下根据消息上报的IP地址内部控制复杂度:私网地址配置成简单模式;公网地址配置成复杂模式) * 1:简单 * 2:复杂
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The prj_code_mode of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: int
|
|
|
|
|
"""
|
|
|
|
|
return self._prj_code_mode
|
|
|
|
|
|
|
|
|
|
@prj_code_mode.setter
|
|
|
|
|
def prj_code_mode(self, prj_code_mode):
|
|
|
|
|
"""Sets the prj_code_mode of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
投影码生成模式。 * 0:自动(该模式下根据消息上报的IP地址内部控制复杂度:私网地址配置成简单模式;公网地址配置成复杂模式) * 1:简单 * 2:复杂
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param prj_code_mode: The prj_code_mode of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type prj_code_mode: int
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._prj_code_mode = prj_code_mode
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def dept_code(self):
|
|
|
|
|
"""Gets the dept_code of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
部门编码。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The dept_code of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._dept_code
|
|
|
|
|
|
|
|
|
|
@dept_code.setter
|
|
|
|
|
def dept_code(self, dept_code):
|
|
|
|
|
"""Sets the dept_code of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
部门编码。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param dept_code: The dept_code of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dept_code: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._dept_code = dept_code
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def dept_name(self):
|
|
|
|
|
"""Gets the dept_name of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
部门名称。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The dept_name of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._dept_name
|
|
|
|
|
|
|
|
|
|
@dept_name.setter
|
|
|
|
|
def dept_name(self, dept_name):
|
|
|
|
|
"""Sets the dept_name of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
部门名称。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param dept_name: The dept_name of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dept_name: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._dept_name = dept_name
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def dept_name_path(self):
|
|
|
|
|
"""Gets the dept_name_path of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
部门名称路径。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The dept_name_path of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._dept_name_path
|
|
|
|
|
|
|
|
|
|
@dept_name_path.setter
|
|
|
|
|
def dept_name_path(self, dept_name_path):
|
|
|
|
|
"""Sets the dept_name_path of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
部门名称路径。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param dept_name_path: The dept_name_path of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type dept_name_path: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._dept_name_path = dept_name_path
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def phone(self):
|
|
|
|
|
"""Gets the phone of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
手机号。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The phone of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._phone
|
|
|
|
|
|
|
|
|
|
@phone.setter
|
|
|
|
|
def phone(self, phone):
|
|
|
|
|
"""Sets the phone of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
手机号。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param phone: The phone of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type phone: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._phone = phone
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def country(self):
|
|
|
|
|
"""Gets the country of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
[[手机号所属的国家](https://support.huaweicloud.com/api-meeting/meeting_21_0109.html#ZH-CN_TOPIC_0212714591__table19371178135314)](tag:hws)[[手机号所属的国家](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0109.html#ZH-CN_TOPIC_0212714591__table19371178135314)](tag:hk) 。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The country of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._country
|
|
|
|
|
|
|
|
|
|
@country.setter
|
|
|
|
|
def country(self, country):
|
|
|
|
|
"""Sets the country of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
[[手机号所属的国家](https://support.huaweicloud.com/api-meeting/meeting_21_0109.html#ZH-CN_TOPIC_0212714591__table19371178135314)](tag:hws)[[手机号所属的国家](https://support.huaweicloud.com/intl/zh-cn/api-meeting/meeting_21_0109.html#ZH-CN_TOPIC_0212714591__table19371178135314)](tag:hk) 。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param country: The country of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type country: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._country = country
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def email(self):
|
|
|
|
|
"""Gets the email of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
邮箱地址。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The email of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._email
|
|
|
|
|
|
|
|
|
|
@email.setter
|
|
|
|
|
def email(self, email):
|
|
|
|
|
"""Sets the email of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
邮箱地址。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param email: The email of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type email: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._email = email
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def description(self):
|
|
|
|
|
"""Gets the description of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端描述。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The description of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: str
|
|
|
|
|
"""
|
|
|
|
|
return self._description
|
|
|
|
|
|
|
|
|
|
@description.setter
|
|
|
|
|
def description(self, description):
|
|
|
|
|
"""Sets the description of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端描述。
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param description: The description of this ShowDeviceDetailResponse.
|
2022-04-21 12:03:46 +00:00
|
|
|
|
:type description: str
|
2020-06-30 12:45:36 +00:00
|
|
|
|
"""
|
|
|
|
|
self._description = description
|
|
|
|
|
|
|
|
|
|
@property
|
|
|
|
|
def status(self):
|
|
|
|
|
"""Gets the status of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端状态。 * 0、正常 * 1、停用\"
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:return: The status of this ShowDeviceDetailResponse.
|
|
|
|
|
:rtype: int
|
|
|
|
|
"""
|
|
|
|
|
return self._status
|
|
|
|
|
|
|
|
|
|
@status.setter
|
|
|
|
|
def status(self, status):
|
|
|
|
|
"""Sets the status of this ShowDeviceDetailResponse.
|
|
|
|
|
|
2022-09-22 11:38:02 +00:00
|
|
|
|
终端状态。 * 0、正常 * 1、停用\"
|
2020-06-30 12:45:36 +00:00
|
|
|
|
|
|
|
|
|
:param status: The status of this ShowDeviceDetailResponse.
|
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, ShowDeviceDetailResponse):
|
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
return self.__dict__ == other.__dict__
|
|
|
|
|
|
|
|
|
|
def __ne__(self, other):
|
|
|
|
|
"""Returns true if both objects are not equal"""
|
|
|
|
|
return not self == other
|