tencentcloud-sdk-python 3.0.1316__py2.py3-none-any.whl → 3.0.1317__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +10 -10
- tencentcloud/cls/v20201016/models.py +2 -2
- tencentcloud/common/abstract_client.py +37 -18
- tencentcloud/common/profile/client_profile.py +4 -3
- tencentcloud/common/retry.py +62 -0
- tencentcloud/cvm/v20170312/models.py +15 -0
- tencentcloud/ess/v20201111/models.py +0 -12
- tencentcloud/lcic/v20220817/models.py +0 -8
- tencentcloud/lkeap/v20240522/models.py +824 -37
- tencentcloud/mongodb/v20190725/models.py +155 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +16 -0
- tencentcloud/ssl/v20191205/models.py +33 -21
- tencentcloud/teo/v20220901/models.py +2 -4
- tencentcloud/tke/v20180525/models.py +30 -0
- tencentcloud/vpc/v20170312/models.py +7 -4
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +30 -0
- tencentcloud/wedata/v20210820/models.py +189 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/RECORD +27 -26
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1316.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -26,6 +26,9 @@ FAILEDOPERATION = 'FailedOperation'
|
|
26
26
|
# 域名配置更新操作失败,请重试或联系客服人员解决。
|
27
27
|
FAILEDOPERATION_CDNCONFIGERROR = 'FailedOperation.CdnConfigError'
|
28
28
|
|
29
|
+
# 证书不存在
|
30
|
+
FAILEDOPERATION_SSLCERTNOTFOUND = 'FailedOperation.SslCertNotFound'
|
31
|
+
|
29
32
|
# 内部错误。
|
30
33
|
INTERNALERROR = 'InternalError'
|
31
34
|
|
@@ -3959,7 +3959,7 @@ off:关闭
|
|
3959
3959
|
:param _AccessKey: 访问ID。
|
3960
3960
|
注意:此字段可能返回 null,表示取不到有效值。
|
3961
3961
|
:type AccessKey: str
|
3962
|
-
:param _SecretKey:
|
3962
|
+
:param _SecretKey: 密钥,字段为脱敏返回。
|
3963
3963
|
注意:此字段可能返回 null,表示取不到有效值。
|
3964
3964
|
:type SecretKey: str
|
3965
3965
|
:param _Region: 地域
|
@@ -4002,7 +4002,7 @@ off:关闭
|
|
4002
4002
|
|
4003
4003
|
@property
|
4004
4004
|
def SecretKey(self):
|
4005
|
-
"""
|
4005
|
+
"""密钥,字段为脱敏返回。
|
4006
4006
|
注意:此字段可能返回 null,表示取不到有效值。
|
4007
4007
|
:rtype: str
|
4008
4008
|
"""
|
@@ -20416,7 +20416,7 @@ off:关闭
|
|
20416
20416
|
:param _AccessKey: 访问 ID
|
20417
20417
|
注意:此字段可能返回 null,表示取不到有效值。
|
20418
20418
|
:type AccessKey: str
|
20419
|
-
:param _SecretKey:
|
20419
|
+
:param _SecretKey: 密钥,字段为脱敏返回。
|
20420
20420
|
注意:此字段可能返回 null,表示取不到有效值。
|
20421
20421
|
:type SecretKey: str
|
20422
20422
|
:param _Bucket: bucketname
|
@@ -20455,7 +20455,7 @@ off:关闭
|
|
20455
20455
|
|
20456
20456
|
@property
|
20457
20457
|
def SecretKey(self):
|
20458
|
-
"""
|
20458
|
+
"""密钥,字段为脱敏返回。
|
20459
20459
|
注意:此字段可能返回 null,表示取不到有效值。
|
20460
20460
|
:rtype: str
|
20461
20461
|
"""
|
@@ -25597,7 +25597,7 @@ off:关闭
|
|
25597
25597
|
:param _AccessKey: 访问ID。
|
25598
25598
|
注意:此字段可能返回 null,表示取不到有效值。
|
25599
25599
|
:type AccessKey: str
|
25600
|
-
:param _SecretKey:
|
25600
|
+
:param _SecretKey: 密钥,字段为脱敏返回。
|
25601
25601
|
注意:此字段可能返回 null,表示取不到有效值。
|
25602
25602
|
:type SecretKey: str
|
25603
25603
|
:param _Region: 地域
|
@@ -25640,7 +25640,7 @@ off:关闭
|
|
25640
25640
|
|
25641
25641
|
@property
|
25642
25642
|
def SecretKey(self):
|
25643
|
-
"""
|
25643
|
+
"""密钥,字段为脱敏返回。
|
25644
25644
|
注意:此字段可能返回 null,表示取不到有效值。
|
25645
25645
|
:rtype: str
|
25646
25646
|
"""
|
@@ -25705,7 +25705,7 @@ off:关闭
|
|
25705
25705
|
:param _AccessKey: 访问ID。
|
25706
25706
|
注意:此字段可能返回 null,表示取不到有效值。
|
25707
25707
|
:type AccessKey: str
|
25708
|
-
:param _SecretKey:
|
25708
|
+
:param _SecretKey: 密钥,字段位脱敏返回。
|
25709
25709
|
注意:此字段可能返回 null,表示取不到有效值。
|
25710
25710
|
:type SecretKey: str
|
25711
25711
|
:param _Region: 地域。
|
@@ -25748,7 +25748,7 @@ off:关闭
|
|
25748
25748
|
|
25749
25749
|
@property
|
25750
25750
|
def SecretKey(self):
|
25751
|
-
"""
|
25751
|
+
"""密钥,字段位脱敏返回。
|
25752
25752
|
注意:此字段可能返回 null,表示取不到有效值。
|
25753
25753
|
:rtype: str
|
25754
25754
|
"""
|
@@ -27550,7 +27550,7 @@ off:关闭
|
|
27550
27550
|
:param _AccessKey: 访问 ID
|
27551
27551
|
注意:此字段可能返回 null,表示取不到有效值。
|
27552
27552
|
:type AccessKey: str
|
27553
|
-
:param _SecretKey:
|
27553
|
+
:param _SecretKey: 密钥,字段为脱敏返回。
|
27554
27554
|
:type SecretKey: str
|
27555
27555
|
"""
|
27556
27556
|
self._Switch = None
|
@@ -27584,7 +27584,7 @@ off:关闭
|
|
27584
27584
|
|
27585
27585
|
@property
|
27586
27586
|
def SecretKey(self):
|
27587
|
-
"""
|
27587
|
+
"""密钥,字段为脱敏返回。
|
27588
27588
|
:rtype: str
|
27589
27589
|
"""
|
27590
27590
|
return self._SecretKey
|
@@ -25854,7 +25854,7 @@ class NoticeReceiver(AbstractModel):
|
|
25854
25854
|
:type ReceiverType: str
|
25855
25855
|
:param _ReceiverIds: 接收者。
|
25856
25856
|
当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486)
|
25857
|
-
当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/
|
25857
|
+
当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/34589)
|
25858
25858
|
:type ReceiverIds: list of int
|
25859
25859
|
:param _ReceiverChannels: 通知接收渠道。
|
25860
25860
|
- Email - 邮件
|
@@ -25901,7 +25901,7 @@ class NoticeReceiver(AbstractModel):
|
|
25901
25901
|
def ReceiverIds(self):
|
25902
25902
|
"""接收者。
|
25903
25903
|
当ReceiverType为Uin时,ReceiverIds的值为用户uid。[子用户信息查询](https://cloud.tencent.com/document/api/598/53486)
|
25904
|
-
当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/
|
25904
|
+
当ReceiverType为Group时,ReceiverIds的值为用户组id。[CAM用户组](https://cloud.tencent.com/document/product/598/34589)
|
25905
25905
|
:rtype: list of int
|
25906
25906
|
"""
|
25907
25907
|
return self._ReceiverIds
|
@@ -39,6 +39,7 @@ from tencentcloud.common.http.request import RequestInternal
|
|
39
39
|
from tencentcloud.common.profile.client_profile import ClientProfile, RegionBreakerProfile
|
40
40
|
from tencentcloud.common.sign import Sign
|
41
41
|
from tencentcloud.common.circuit_breaker import CircuitBreaker
|
42
|
+
from tencentcloud.common.retry import NoopRetryer
|
42
43
|
|
43
44
|
warnings.filterwarnings("ignore", module="tencentcloud", category=UserWarning)
|
44
45
|
|
@@ -428,11 +429,16 @@ class AbstractClient(object):
|
|
428
429
|
return self.request.send_request(req)
|
429
430
|
|
430
431
|
def call(self, action, params, options=None, headers=None):
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
432
|
+
|
433
|
+
def _call_once():
|
434
|
+
resp = self._call(action, params, options, headers)
|
435
|
+
self._check_status(resp)
|
436
|
+
self._check_error(resp)
|
437
|
+
logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp))
|
438
|
+
return resp
|
439
|
+
|
440
|
+
retryer = self.profile.retryer or NoopRetryer()
|
441
|
+
return retryer.send_request(_call_once).content
|
436
442
|
|
437
443
|
def _call_with_region_breaker(self, action, params, options=None, headers=None):
|
438
444
|
endpoint = self._get_endpoint()
|
@@ -508,23 +514,36 @@ class AbstractClient(object):
|
|
508
514
|
:type options: dict
|
509
515
|
:param options: request options, like {"SkipSign": False, "IsMultipart": False, "IsOctetStream": False, "BinaryParams": []}
|
510
516
|
"""
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
517
|
+
|
518
|
+
def _call_once():
|
519
|
+
resp = self._call(action, params, options, headers)
|
520
|
+
self._check_status(resp)
|
521
|
+
self._check_error(resp)
|
522
|
+
logger.debug("GetResponse: %s", ResponsePrettyFormatter(resp))
|
523
|
+
return resp
|
524
|
+
|
525
|
+
retryer = self.profile.retryer or NoopRetryer()
|
526
|
+
return json.loads(retryer.send_request(_call_once).content)
|
516
527
|
|
517
528
|
def call_sse(self, action, params, headers=None, options=None):
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
529
|
+
def _call_once():
|
530
|
+
resp = self._call(action, params, options, headers)
|
531
|
+
self._check_status(resp)
|
532
|
+
self._check_error(resp)
|
533
|
+
return resp
|
534
|
+
|
535
|
+
retryer = self.profile.retryer or NoopRetryer()
|
536
|
+
return self._process_response_sse(retryer.send_request(_call_once))
|
522
537
|
|
523
538
|
def _call_and_deserialize(self, action, params, resp_type, headers=None, options=None):
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
539
|
+
def _call_once():
|
540
|
+
resp = self._call(action, params, options, headers)
|
541
|
+
self._check_status(resp)
|
542
|
+
self._check_error(resp)
|
543
|
+
return resp
|
544
|
+
|
545
|
+
retryer = self.profile.retryer or NoopRetryer()
|
546
|
+
return self._process_response(retryer.send_request(_call_once), resp_type)
|
528
547
|
|
529
548
|
def _process_response(self, resp, resp_type):
|
530
549
|
if resp.headers.get('Content-Type') == "text/event-stream":
|
@@ -21,7 +21,7 @@ class ClientProfile(object):
|
|
21
21
|
unsignedPayload = False
|
22
22
|
|
23
23
|
def __init__(self, signMethod=None, httpProfile=None, language="zh-CN",
|
24
|
-
disable_region_breaker=True, region_breaker_profile=None, request_client=None):
|
24
|
+
disable_region_breaker=True, region_breaker_profile=None, request_client=None, retryer=None):
|
25
25
|
"""SDK profile.
|
26
26
|
|
27
27
|
:param signMethod: The signature method, valid choice: HmacSHA1, HmacSHA256, TC3-HMAC-SHA256
|
@@ -55,13 +55,15 @@ class ClientProfile(object):
|
|
55
55
|
elif request_client is not None:
|
56
56
|
warnings.warn("RequestClient not match the regexp: ^[0-9a-zA-Z-_,;.]+$, ignored")
|
57
57
|
|
58
|
+
self.retryer = retryer
|
59
|
+
|
58
60
|
|
59
61
|
class RegionBreakerProfile(object):
|
60
62
|
|
61
63
|
def __init__(self, backup_endpoint="ap-guangzhou.tencentcloudapi.com",
|
62
64
|
max_fail_num=5,
|
63
65
|
max_fail_percent=0.75,
|
64
|
-
window_interval=60*5,
|
66
|
+
window_interval=60 * 5,
|
65
67
|
timeout=60,
|
66
68
|
max_requests=5):
|
67
69
|
"""RegionBreaker profile.
|
@@ -102,4 +104,3 @@ class RegionBreakerProfile(object):
|
|
102
104
|
if len(region.split("-")) != 2:
|
103
105
|
return False
|
104
106
|
return True
|
105
|
-
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import logging
|
2
|
+
import time
|
3
|
+
|
4
|
+
from tencentcloud.common.exception import TencentCloudSDKException
|
5
|
+
|
6
|
+
|
7
|
+
class NoopRetryer(object):
|
8
|
+
def send_request(self, fn):
|
9
|
+
return fn()
|
10
|
+
|
11
|
+
|
12
|
+
class StandardRetryer(object):
|
13
|
+
def __init__(self, max_attempts=3, backoff_fn=None, logger=None):
|
14
|
+
self._max_attempts = max_attempts
|
15
|
+
self._backoff_fn = backoff_fn or self.backoff
|
16
|
+
self._logger = logger
|
17
|
+
|
18
|
+
def send_request(self, fn):
|
19
|
+
resp = None
|
20
|
+
err = None
|
21
|
+
|
22
|
+
for n in range(self._max_attempts):
|
23
|
+
try:
|
24
|
+
resp = fn()
|
25
|
+
except TencentCloudSDKException as e:
|
26
|
+
err = e
|
27
|
+
|
28
|
+
if not self.should_retry(resp, err):
|
29
|
+
if err:
|
30
|
+
raise err
|
31
|
+
return resp
|
32
|
+
|
33
|
+
sleep = self._backoff_fn(n)
|
34
|
+
self.on_retry(n, sleep, resp, err)
|
35
|
+
time.sleep(sleep)
|
36
|
+
|
37
|
+
raise err
|
38
|
+
|
39
|
+
@staticmethod
|
40
|
+
def should_retry(resp, err):
|
41
|
+
if not err:
|
42
|
+
return False
|
43
|
+
|
44
|
+
if not isinstance(err, TencentCloudSDKException):
|
45
|
+
return False
|
46
|
+
|
47
|
+
ec = err.get_code()
|
48
|
+
if ec in (
|
49
|
+
"ClientNetworkError", "ServerNetworkError", "RequestLimitExceeded",
|
50
|
+
"RequestLimitExceeded.UinLimitExceeded", "RequestLimitExceeded.GlobalRegionUinLimitExceeded"
|
51
|
+
):
|
52
|
+
return True
|
53
|
+
|
54
|
+
return False
|
55
|
+
|
56
|
+
@staticmethod
|
57
|
+
def backoff(n):
|
58
|
+
return 2 ** n
|
59
|
+
|
60
|
+
def on_retry(self, n, sleep, resp, err):
|
61
|
+
if self._logger:
|
62
|
+
self._logger.debug("retry: n=%d sleep=%ss err=%s", n, sleep, err)
|
@@ -10528,11 +10528,25 @@ class ImportImageResponse(AbstractModel):
|
|
10528
10528
|
|
10529
10529
|
def __init__(self):
|
10530
10530
|
r"""
|
10531
|
+
:param _ImageId: 镜像 ID
|
10532
|
+
:type ImageId: str
|
10531
10533
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10532
10534
|
:type RequestId: str
|
10533
10535
|
"""
|
10536
|
+
self._ImageId = None
|
10534
10537
|
self._RequestId = None
|
10535
10538
|
|
10539
|
+
@property
|
10540
|
+
def ImageId(self):
|
10541
|
+
"""镜像 ID
|
10542
|
+
:rtype: str
|
10543
|
+
"""
|
10544
|
+
return self._ImageId
|
10545
|
+
|
10546
|
+
@ImageId.setter
|
10547
|
+
def ImageId(self, ImageId):
|
10548
|
+
self._ImageId = ImageId
|
10549
|
+
|
10536
10550
|
@property
|
10537
10551
|
def RequestId(self):
|
10538
10552
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -10546,6 +10560,7 @@ class ImportImageResponse(AbstractModel):
|
|
10546
10560
|
|
10547
10561
|
|
10548
10562
|
def _deserialize(self, params):
|
10563
|
+
self._ImageId = params.get("ImageId")
|
10549
10564
|
self._RequestId = params.get("RequestId")
|
10550
10565
|
|
10551
10566
|
|
@@ -20152,22 +20152,16 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20152
20152
|
def __init__(self):
|
20153
20153
|
r"""
|
20154
20154
|
:param _Total: 符合查询条件的资源实例总数量。
|
20155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20156
20155
|
:type Total: int
|
20157
20156
|
:param _JoinedTotal: 已授权待激活的子企业总数量
|
20158
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20159
20157
|
:type JoinedTotal: int
|
20160
20158
|
:param _ActivedTotal: 已加入的企业数量(废弃,请使用ActivatedTotal)
|
20161
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20162
20159
|
:type ActivedTotal: int
|
20163
20160
|
:param _ExportUrl: 如果入参Export为 true 时使用,表示导出Excel的url
|
20164
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20165
20161
|
:type ExportUrl: str
|
20166
20162
|
:param _List: 成员企业信息列表
|
20167
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20168
20163
|
:type List: list of GroupOrganization
|
20169
20164
|
:param _ActivatedTotal: 已加入的子企业总数量
|
20170
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20171
20165
|
:type ActivatedTotal: int
|
20172
20166
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20173
20167
|
:type RequestId: str
|
@@ -20183,7 +20177,6 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20183
20177
|
@property
|
20184
20178
|
def Total(self):
|
20185
20179
|
"""符合查询条件的资源实例总数量。
|
20186
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20187
20180
|
:rtype: int
|
20188
20181
|
"""
|
20189
20182
|
return self._Total
|
@@ -20195,7 +20188,6 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20195
20188
|
@property
|
20196
20189
|
def JoinedTotal(self):
|
20197
20190
|
"""已授权待激活的子企业总数量
|
20198
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20199
20191
|
:rtype: int
|
20200
20192
|
"""
|
20201
20193
|
return self._JoinedTotal
|
@@ -20209,7 +20201,6 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20209
20201
|
warnings.warn("parameter `ActivedTotal` is deprecated", DeprecationWarning)
|
20210
20202
|
|
20211
20203
|
"""已加入的企业数量(废弃,请使用ActivatedTotal)
|
20212
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20213
20204
|
:rtype: int
|
20214
20205
|
"""
|
20215
20206
|
return self._ActivedTotal
|
@@ -20223,7 +20214,6 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20223
20214
|
@property
|
20224
20215
|
def ExportUrl(self):
|
20225
20216
|
"""如果入参Export为 true 时使用,表示导出Excel的url
|
20226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20227
20217
|
:rtype: str
|
20228
20218
|
"""
|
20229
20219
|
return self._ExportUrl
|
@@ -20235,7 +20225,6 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20235
20225
|
@property
|
20236
20226
|
def List(self):
|
20237
20227
|
"""成员企业信息列表
|
20238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20239
20228
|
:rtype: list of GroupOrganization
|
20240
20229
|
"""
|
20241
20230
|
return self._List
|
@@ -20247,7 +20236,6 @@ class DescribeOrganizationGroupOrganizationsResponse(AbstractModel):
|
|
20247
20236
|
@property
|
20248
20237
|
def ActivatedTotal(self):
|
20249
20238
|
"""已加入的子企业总数量
|
20250
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20251
20239
|
:rtype: int
|
20252
20240
|
"""
|
20253
20241
|
return self._ActivatedTotal
|
@@ -1268,7 +1268,6 @@ class BatchRegisterResponse(AbstractModel):
|
|
1268
1268
|
def __init__(self):
|
1269
1269
|
r"""
|
1270
1270
|
:param _Users: 注册成功的用户列表
|
1271
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1272
1271
|
:type Users: list of BatchUserInfo
|
1273
1272
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1274
1273
|
:type RequestId: str
|
@@ -1279,7 +1278,6 @@ class BatchRegisterResponse(AbstractModel):
|
|
1279
1278
|
@property
|
1280
1279
|
def Users(self):
|
1281
1280
|
"""注册成功的用户列表
|
1282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
1283
1281
|
:rtype: list of BatchUserInfo
|
1284
1282
|
"""
|
1285
1283
|
return self._Users
|
@@ -5950,7 +5948,6 @@ class DescribeRoomForbiddenUserResponse(AbstractModel):
|
|
5950
5948
|
def __init__(self):
|
5951
5949
|
r"""
|
5952
5950
|
:param _MutedAccountList: 禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)
|
5953
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5954
5951
|
:type MutedAccountList: list of MutedAccountList
|
5955
5952
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5956
5953
|
:type RequestId: str
|
@@ -5961,7 +5958,6 @@ class DescribeRoomForbiddenUserResponse(AbstractModel):
|
|
5961
5958
|
@property
|
5962
5959
|
def MutedAccountList(self):
|
5963
5960
|
"""禁言用户信息数组,内容包括被禁言的成员 ID,及其被禁言到的时间(使用 UTC 时间,即世界协调时间)
|
5964
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5965
5961
|
:rtype: list of MutedAccountList
|
5966
5962
|
"""
|
5967
5963
|
return self._MutedAccountList
|
@@ -6888,7 +6884,6 @@ class DescribeScoreListResponse(AbstractModel):
|
|
6888
6884
|
:param _Total: 总数
|
6889
6885
|
:type Total: int
|
6890
6886
|
:param _Scores: 课堂评分列表
|
6891
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6892
6887
|
:type Scores: list of ClassScoreItem
|
6893
6888
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6894
6889
|
:type RequestId: str
|
@@ -6911,7 +6906,6 @@ class DescribeScoreListResponse(AbstractModel):
|
|
6911
6906
|
@property
|
6912
6907
|
def Scores(self):
|
6913
6908
|
"""课堂评分列表
|
6914
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6915
6909
|
:rtype: list of ClassScoreItem
|
6916
6910
|
"""
|
6917
6911
|
return self._Scores
|
@@ -7019,7 +7013,6 @@ class DescribeSdkAppIdUsersResponse(AbstractModel):
|
|
7019
7013
|
:param _Total: 用户总数
|
7020
7014
|
:type Total: int
|
7021
7015
|
:param _Users: 当前获取用户信息数组列表
|
7022
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7023
7016
|
:type Users: list of UserInfo
|
7024
7017
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7025
7018
|
:type RequestId: str
|
@@ -7042,7 +7035,6 @@ class DescribeSdkAppIdUsersResponse(AbstractModel):
|
|
7042
7035
|
@property
|
7043
7036
|
def Users(self):
|
7044
7037
|
"""当前获取用户信息数组列表
|
7045
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7046
7038
|
:rtype: list of UserInfo
|
7047
7039
|
"""
|
7048
7040
|
return self._Users
|