tencentcloud-sdk-python 3.0.1328__py2.py3-none-any.whl → 3.0.1329__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/asr/v20190614/asr_client.py +1 -1
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/clb/v20180317/models.py +45 -0
- tencentcloud/dlc/v20210125/models.py +0 -10
- tencentcloud/faceid/v20180301/models.py +20 -12
- tencentcloud/live/v20180801/models.py +10 -110
- tencentcloud/ocr/v20181119/models.py +23 -0
- tencentcloud/ocr/v20181119/ocr_client.py +10 -0
- tencentcloud/organization/v20210331/models.py +30 -0
- tencentcloud/rce/v20201103/models.py +2 -2
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/tke/v20180525/models.py +0 -142
- tencentcloud/tke/v20220501/models.py +0 -8
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/weilingwith/v20230427/models.py +0 -20
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/RECORD +21 -36
- tencentcloud/lp/__init__.py +0 -0
- tencentcloud/lp/v20200224/__init__.py +0 -0
- tencentcloud/lp/v20200224/errorcodes.py +0 -78
- tencentcloud/lp/v20200224/lp_client.py +0 -49
- tencentcloud/lp/v20200224/models.py +0 -748
- tencentcloud/rkp/__init__.py +0 -0
- tencentcloud/rkp/v20191209/__init__.py +0 -0
- tencentcloud/rkp/v20191209/errorcodes.py +0 -102
- tencentcloud/rkp/v20191209/models.py +0 -1007
- tencentcloud/rkp/v20191209/rkp_client.py +0 -101
- tencentcloud/rp/__init__.py +0 -0
- tencentcloud/rp/v20200224/__init__.py +0 -0
- tencentcloud/rp/v20200224/errorcodes.py +0 -78
- tencentcloud/rp/v20200224/models.py +0 -655
- tencentcloud/rp/v20200224/rp_client.py +0 -49
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1328.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/top_level.txt +0 -0
@@ -1,748 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved.
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
|
16
|
-
import warnings
|
17
|
-
|
18
|
-
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
-
|
20
|
-
|
21
|
-
class QueryLoginProtectionRequest(AbstractModel):
|
22
|
-
"""QueryLoginProtection请求参数结构体
|
23
|
-
|
24
|
-
"""
|
25
|
-
|
26
|
-
def __init__(self):
|
27
|
-
r"""
|
28
|
-
:param _LoginIp: 登录来源的外网 IP。
|
29
|
-
:type LoginIp: str
|
30
|
-
:param _Uid: 用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
31
|
-
:type Uid: str
|
32
|
-
:param _LoginTime: 登录时间戳,单位:秒。
|
33
|
-
:type LoginTime: str
|
34
|
-
:param _AccountType: 用户账号类型(QQ 开放帐号、微信开放账号需要 提交工单 由腾讯云进行资格审核):
|
35
|
-
1:QQ 开放帐号。
|
36
|
-
2:微信开放账号。
|
37
|
-
4:手机号。
|
38
|
-
0:其他。
|
39
|
-
10004:手机号 MD5。
|
40
|
-
:type AccountType: str
|
41
|
-
:param _AppIdU: accountType 是 QQ 或微信开放账号时,该参数必填,表示 QQ 或微信分配给网站或应用的 AppID,用来唯一标识网站或应用。
|
42
|
-
:type AppIdU: str
|
43
|
-
:param _AssociateAccount: accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
44
|
-
:type AssociateAccount: str
|
45
|
-
:param _NickName: 昵称,UTF-8 编码。
|
46
|
-
:type NickName: str
|
47
|
-
:param _PhoneNumber: 手机号:国家代码-手机号, 如0086-15912345687(0086前不需要+号)。
|
48
|
-
:type PhoneNumber: str
|
49
|
-
:param _EmailAddress: 用户邮箱地址(非系统自动生成)。
|
50
|
-
:type EmailAddress: str
|
51
|
-
:param _RegisterTime: 注册来源的外网 IP。
|
52
|
-
:type RegisterTime: str
|
53
|
-
:param _Address: 地址。
|
54
|
-
:type Address: str
|
55
|
-
:param _CookieHash: 用户 HTTP 请求中的 cookie 进行2次 hash 的值,只要保证相同 cookie 的 hash 值一致即可。
|
56
|
-
:type CookieHash: str
|
57
|
-
:param _LoginSource: 登录来源:
|
58
|
-
0:其他
|
59
|
-
1:PC 网页
|
60
|
-
2:移动页面
|
61
|
-
3:App
|
62
|
-
4:微信公众号
|
63
|
-
:type LoginSource: str
|
64
|
-
:param _LoginType: 登录方式:
|
65
|
-
0:其他
|
66
|
-
1:手动帐号密码输入
|
67
|
-
2:动态短信密码登录
|
68
|
-
3:二维码扫描登录
|
69
|
-
:type LoginType: str
|
70
|
-
:param _Referer: 用户 HTTP 请求的 referer 值。
|
71
|
-
:type Referer: str
|
72
|
-
:param _JumpUrl: 登录成功后跳转页面。
|
73
|
-
:type JumpUrl: str
|
74
|
-
:param _UserAgent: 用户 HTTP 请求的 userAgent。
|
75
|
-
:type UserAgent: str
|
76
|
-
:param _XForwardedFor: 用户 HTTP 请求中的 x_forward_for。
|
77
|
-
:type XForwardedFor: str
|
78
|
-
:param _MouseClickCount: 用户操作过程中鼠标单击次数。
|
79
|
-
:type MouseClickCount: str
|
80
|
-
:param _KeyboardClickCount: 用户操作过程中键盘单击次数。
|
81
|
-
:type KeyboardClickCount: str
|
82
|
-
:param _Result: 注册结果:
|
83
|
-
0:失败
|
84
|
-
1:成功
|
85
|
-
:type Result: str
|
86
|
-
:param _Reason: 失败原因:
|
87
|
-
0:其他
|
88
|
-
1:参数错误
|
89
|
-
2:帐号冲突
|
90
|
-
3:验证错误
|
91
|
-
:type Reason: str
|
92
|
-
:param _LoginSpend: 登录耗时,单位:秒。
|
93
|
-
:type LoginSpend: str
|
94
|
-
:param _MacAddress: MAC 地址或设备唯一标识。
|
95
|
-
:type MacAddress: str
|
96
|
-
:param _VendorId: 手机制造商 ID,如果手机注册,请带上此信息。
|
97
|
-
:type VendorId: str
|
98
|
-
:param _AppVersion: App 客户端版本。
|
99
|
-
:type AppVersion: str
|
100
|
-
:param _Imei: 手机设备号。
|
101
|
-
:type Imei: str
|
102
|
-
:param _BusinessId: 业务 ID 网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据。
|
103
|
-
:type BusinessId: str
|
104
|
-
:param _WxSubType: 1:微信公众号
|
105
|
-
2:微信小程序
|
106
|
-
:type WxSubType: str
|
107
|
-
:param _RandNum: Token 签名随机数,微信小程序必填,建议16个字符。
|
108
|
-
:type RandNum: str
|
109
|
-
:param _WxToken: 如果是微信小程序,该字段为以 ssesion_key 为 key 去签名随机数radnNum得到的值(hmac_sha256 签名算法)。
|
110
|
-
如果是微信公众号或第三方登录,则为授权的 access_token(注意:不是普通 access_token,具体看 微信官方文档)。
|
111
|
-
:type WxToken: str
|
112
|
-
"""
|
113
|
-
self._LoginIp = None
|
114
|
-
self._Uid = None
|
115
|
-
self._LoginTime = None
|
116
|
-
self._AccountType = None
|
117
|
-
self._AppIdU = None
|
118
|
-
self._AssociateAccount = None
|
119
|
-
self._NickName = None
|
120
|
-
self._PhoneNumber = None
|
121
|
-
self._EmailAddress = None
|
122
|
-
self._RegisterTime = None
|
123
|
-
self._Address = None
|
124
|
-
self._CookieHash = None
|
125
|
-
self._LoginSource = None
|
126
|
-
self._LoginType = None
|
127
|
-
self._Referer = None
|
128
|
-
self._JumpUrl = None
|
129
|
-
self._UserAgent = None
|
130
|
-
self._XForwardedFor = None
|
131
|
-
self._MouseClickCount = None
|
132
|
-
self._KeyboardClickCount = None
|
133
|
-
self._Result = None
|
134
|
-
self._Reason = None
|
135
|
-
self._LoginSpend = None
|
136
|
-
self._MacAddress = None
|
137
|
-
self._VendorId = None
|
138
|
-
self._AppVersion = None
|
139
|
-
self._Imei = None
|
140
|
-
self._BusinessId = None
|
141
|
-
self._WxSubType = None
|
142
|
-
self._RandNum = None
|
143
|
-
self._WxToken = None
|
144
|
-
|
145
|
-
@property
|
146
|
-
def LoginIp(self):
|
147
|
-
"""登录来源的外网 IP。
|
148
|
-
:rtype: str
|
149
|
-
"""
|
150
|
-
return self._LoginIp
|
151
|
-
|
152
|
-
@LoginIp.setter
|
153
|
-
def LoginIp(self, LoginIp):
|
154
|
-
self._LoginIp = LoginIp
|
155
|
-
|
156
|
-
@property
|
157
|
-
def Uid(self):
|
158
|
-
"""用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
159
|
-
:rtype: str
|
160
|
-
"""
|
161
|
-
return self._Uid
|
162
|
-
|
163
|
-
@Uid.setter
|
164
|
-
def Uid(self, Uid):
|
165
|
-
self._Uid = Uid
|
166
|
-
|
167
|
-
@property
|
168
|
-
def LoginTime(self):
|
169
|
-
"""登录时间戳,单位:秒。
|
170
|
-
:rtype: str
|
171
|
-
"""
|
172
|
-
return self._LoginTime
|
173
|
-
|
174
|
-
@LoginTime.setter
|
175
|
-
def LoginTime(self, LoginTime):
|
176
|
-
self._LoginTime = LoginTime
|
177
|
-
|
178
|
-
@property
|
179
|
-
def AccountType(self):
|
180
|
-
"""用户账号类型(QQ 开放帐号、微信开放账号需要 提交工单 由腾讯云进行资格审核):
|
181
|
-
1:QQ 开放帐号。
|
182
|
-
2:微信开放账号。
|
183
|
-
4:手机号。
|
184
|
-
0:其他。
|
185
|
-
10004:手机号 MD5。
|
186
|
-
:rtype: str
|
187
|
-
"""
|
188
|
-
return self._AccountType
|
189
|
-
|
190
|
-
@AccountType.setter
|
191
|
-
def AccountType(self, AccountType):
|
192
|
-
self._AccountType = AccountType
|
193
|
-
|
194
|
-
@property
|
195
|
-
def AppIdU(self):
|
196
|
-
"""accountType 是 QQ 或微信开放账号时,该参数必填,表示 QQ 或微信分配给网站或应用的 AppID,用来唯一标识网站或应用。
|
197
|
-
:rtype: str
|
198
|
-
"""
|
199
|
-
return self._AppIdU
|
200
|
-
|
201
|
-
@AppIdU.setter
|
202
|
-
def AppIdU(self, AppIdU):
|
203
|
-
self._AppIdU = AppIdU
|
204
|
-
|
205
|
-
@property
|
206
|
-
def AssociateAccount(self):
|
207
|
-
"""accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
208
|
-
:rtype: str
|
209
|
-
"""
|
210
|
-
return self._AssociateAccount
|
211
|
-
|
212
|
-
@AssociateAccount.setter
|
213
|
-
def AssociateAccount(self, AssociateAccount):
|
214
|
-
self._AssociateAccount = AssociateAccount
|
215
|
-
|
216
|
-
@property
|
217
|
-
def NickName(self):
|
218
|
-
"""昵称,UTF-8 编码。
|
219
|
-
:rtype: str
|
220
|
-
"""
|
221
|
-
return self._NickName
|
222
|
-
|
223
|
-
@NickName.setter
|
224
|
-
def NickName(self, NickName):
|
225
|
-
self._NickName = NickName
|
226
|
-
|
227
|
-
@property
|
228
|
-
def PhoneNumber(self):
|
229
|
-
"""手机号:国家代码-手机号, 如0086-15912345687(0086前不需要+号)。
|
230
|
-
:rtype: str
|
231
|
-
"""
|
232
|
-
return self._PhoneNumber
|
233
|
-
|
234
|
-
@PhoneNumber.setter
|
235
|
-
def PhoneNumber(self, PhoneNumber):
|
236
|
-
self._PhoneNumber = PhoneNumber
|
237
|
-
|
238
|
-
@property
|
239
|
-
def EmailAddress(self):
|
240
|
-
"""用户邮箱地址(非系统自动生成)。
|
241
|
-
:rtype: str
|
242
|
-
"""
|
243
|
-
return self._EmailAddress
|
244
|
-
|
245
|
-
@EmailAddress.setter
|
246
|
-
def EmailAddress(self, EmailAddress):
|
247
|
-
self._EmailAddress = EmailAddress
|
248
|
-
|
249
|
-
@property
|
250
|
-
def RegisterTime(self):
|
251
|
-
"""注册来源的外网 IP。
|
252
|
-
:rtype: str
|
253
|
-
"""
|
254
|
-
return self._RegisterTime
|
255
|
-
|
256
|
-
@RegisterTime.setter
|
257
|
-
def RegisterTime(self, RegisterTime):
|
258
|
-
self._RegisterTime = RegisterTime
|
259
|
-
|
260
|
-
@property
|
261
|
-
def Address(self):
|
262
|
-
"""地址。
|
263
|
-
:rtype: str
|
264
|
-
"""
|
265
|
-
return self._Address
|
266
|
-
|
267
|
-
@Address.setter
|
268
|
-
def Address(self, Address):
|
269
|
-
self._Address = Address
|
270
|
-
|
271
|
-
@property
|
272
|
-
def CookieHash(self):
|
273
|
-
"""用户 HTTP 请求中的 cookie 进行2次 hash 的值,只要保证相同 cookie 的 hash 值一致即可。
|
274
|
-
:rtype: str
|
275
|
-
"""
|
276
|
-
return self._CookieHash
|
277
|
-
|
278
|
-
@CookieHash.setter
|
279
|
-
def CookieHash(self, CookieHash):
|
280
|
-
self._CookieHash = CookieHash
|
281
|
-
|
282
|
-
@property
|
283
|
-
def LoginSource(self):
|
284
|
-
"""登录来源:
|
285
|
-
0:其他
|
286
|
-
1:PC 网页
|
287
|
-
2:移动页面
|
288
|
-
3:App
|
289
|
-
4:微信公众号
|
290
|
-
:rtype: str
|
291
|
-
"""
|
292
|
-
return self._LoginSource
|
293
|
-
|
294
|
-
@LoginSource.setter
|
295
|
-
def LoginSource(self, LoginSource):
|
296
|
-
self._LoginSource = LoginSource
|
297
|
-
|
298
|
-
@property
|
299
|
-
def LoginType(self):
|
300
|
-
"""登录方式:
|
301
|
-
0:其他
|
302
|
-
1:手动帐号密码输入
|
303
|
-
2:动态短信密码登录
|
304
|
-
3:二维码扫描登录
|
305
|
-
:rtype: str
|
306
|
-
"""
|
307
|
-
return self._LoginType
|
308
|
-
|
309
|
-
@LoginType.setter
|
310
|
-
def LoginType(self, LoginType):
|
311
|
-
self._LoginType = LoginType
|
312
|
-
|
313
|
-
@property
|
314
|
-
def Referer(self):
|
315
|
-
"""用户 HTTP 请求的 referer 值。
|
316
|
-
:rtype: str
|
317
|
-
"""
|
318
|
-
return self._Referer
|
319
|
-
|
320
|
-
@Referer.setter
|
321
|
-
def Referer(self, Referer):
|
322
|
-
self._Referer = Referer
|
323
|
-
|
324
|
-
@property
|
325
|
-
def JumpUrl(self):
|
326
|
-
"""登录成功后跳转页面。
|
327
|
-
:rtype: str
|
328
|
-
"""
|
329
|
-
return self._JumpUrl
|
330
|
-
|
331
|
-
@JumpUrl.setter
|
332
|
-
def JumpUrl(self, JumpUrl):
|
333
|
-
self._JumpUrl = JumpUrl
|
334
|
-
|
335
|
-
@property
|
336
|
-
def UserAgent(self):
|
337
|
-
"""用户 HTTP 请求的 userAgent。
|
338
|
-
:rtype: str
|
339
|
-
"""
|
340
|
-
return self._UserAgent
|
341
|
-
|
342
|
-
@UserAgent.setter
|
343
|
-
def UserAgent(self, UserAgent):
|
344
|
-
self._UserAgent = UserAgent
|
345
|
-
|
346
|
-
@property
|
347
|
-
def XForwardedFor(self):
|
348
|
-
"""用户 HTTP 请求中的 x_forward_for。
|
349
|
-
:rtype: str
|
350
|
-
"""
|
351
|
-
return self._XForwardedFor
|
352
|
-
|
353
|
-
@XForwardedFor.setter
|
354
|
-
def XForwardedFor(self, XForwardedFor):
|
355
|
-
self._XForwardedFor = XForwardedFor
|
356
|
-
|
357
|
-
@property
|
358
|
-
def MouseClickCount(self):
|
359
|
-
"""用户操作过程中鼠标单击次数。
|
360
|
-
:rtype: str
|
361
|
-
"""
|
362
|
-
return self._MouseClickCount
|
363
|
-
|
364
|
-
@MouseClickCount.setter
|
365
|
-
def MouseClickCount(self, MouseClickCount):
|
366
|
-
self._MouseClickCount = MouseClickCount
|
367
|
-
|
368
|
-
@property
|
369
|
-
def KeyboardClickCount(self):
|
370
|
-
"""用户操作过程中键盘单击次数。
|
371
|
-
:rtype: str
|
372
|
-
"""
|
373
|
-
return self._KeyboardClickCount
|
374
|
-
|
375
|
-
@KeyboardClickCount.setter
|
376
|
-
def KeyboardClickCount(self, KeyboardClickCount):
|
377
|
-
self._KeyboardClickCount = KeyboardClickCount
|
378
|
-
|
379
|
-
@property
|
380
|
-
def Result(self):
|
381
|
-
"""注册结果:
|
382
|
-
0:失败
|
383
|
-
1:成功
|
384
|
-
:rtype: str
|
385
|
-
"""
|
386
|
-
return self._Result
|
387
|
-
|
388
|
-
@Result.setter
|
389
|
-
def Result(self, Result):
|
390
|
-
self._Result = Result
|
391
|
-
|
392
|
-
@property
|
393
|
-
def Reason(self):
|
394
|
-
"""失败原因:
|
395
|
-
0:其他
|
396
|
-
1:参数错误
|
397
|
-
2:帐号冲突
|
398
|
-
3:验证错误
|
399
|
-
:rtype: str
|
400
|
-
"""
|
401
|
-
return self._Reason
|
402
|
-
|
403
|
-
@Reason.setter
|
404
|
-
def Reason(self, Reason):
|
405
|
-
self._Reason = Reason
|
406
|
-
|
407
|
-
@property
|
408
|
-
def LoginSpend(self):
|
409
|
-
"""登录耗时,单位:秒。
|
410
|
-
:rtype: str
|
411
|
-
"""
|
412
|
-
return self._LoginSpend
|
413
|
-
|
414
|
-
@LoginSpend.setter
|
415
|
-
def LoginSpend(self, LoginSpend):
|
416
|
-
self._LoginSpend = LoginSpend
|
417
|
-
|
418
|
-
@property
|
419
|
-
def MacAddress(self):
|
420
|
-
"""MAC 地址或设备唯一标识。
|
421
|
-
:rtype: str
|
422
|
-
"""
|
423
|
-
return self._MacAddress
|
424
|
-
|
425
|
-
@MacAddress.setter
|
426
|
-
def MacAddress(self, MacAddress):
|
427
|
-
self._MacAddress = MacAddress
|
428
|
-
|
429
|
-
@property
|
430
|
-
def VendorId(self):
|
431
|
-
"""手机制造商 ID,如果手机注册,请带上此信息。
|
432
|
-
:rtype: str
|
433
|
-
"""
|
434
|
-
return self._VendorId
|
435
|
-
|
436
|
-
@VendorId.setter
|
437
|
-
def VendorId(self, VendorId):
|
438
|
-
self._VendorId = VendorId
|
439
|
-
|
440
|
-
@property
|
441
|
-
def AppVersion(self):
|
442
|
-
"""App 客户端版本。
|
443
|
-
:rtype: str
|
444
|
-
"""
|
445
|
-
return self._AppVersion
|
446
|
-
|
447
|
-
@AppVersion.setter
|
448
|
-
def AppVersion(self, AppVersion):
|
449
|
-
self._AppVersion = AppVersion
|
450
|
-
|
451
|
-
@property
|
452
|
-
def Imei(self):
|
453
|
-
"""手机设备号。
|
454
|
-
:rtype: str
|
455
|
-
"""
|
456
|
-
return self._Imei
|
457
|
-
|
458
|
-
@Imei.setter
|
459
|
-
def Imei(self, Imei):
|
460
|
-
self._Imei = Imei
|
461
|
-
|
462
|
-
@property
|
463
|
-
def BusinessId(self):
|
464
|
-
"""业务 ID 网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据。
|
465
|
-
:rtype: str
|
466
|
-
"""
|
467
|
-
return self._BusinessId
|
468
|
-
|
469
|
-
@BusinessId.setter
|
470
|
-
def BusinessId(self, BusinessId):
|
471
|
-
self._BusinessId = BusinessId
|
472
|
-
|
473
|
-
@property
|
474
|
-
def WxSubType(self):
|
475
|
-
"""1:微信公众号
|
476
|
-
2:微信小程序
|
477
|
-
:rtype: str
|
478
|
-
"""
|
479
|
-
return self._WxSubType
|
480
|
-
|
481
|
-
@WxSubType.setter
|
482
|
-
def WxSubType(self, WxSubType):
|
483
|
-
self._WxSubType = WxSubType
|
484
|
-
|
485
|
-
@property
|
486
|
-
def RandNum(self):
|
487
|
-
"""Token 签名随机数,微信小程序必填,建议16个字符。
|
488
|
-
:rtype: str
|
489
|
-
"""
|
490
|
-
return self._RandNum
|
491
|
-
|
492
|
-
@RandNum.setter
|
493
|
-
def RandNum(self, RandNum):
|
494
|
-
self._RandNum = RandNum
|
495
|
-
|
496
|
-
@property
|
497
|
-
def WxToken(self):
|
498
|
-
"""如果是微信小程序,该字段为以 ssesion_key 为 key 去签名随机数radnNum得到的值(hmac_sha256 签名算法)。
|
499
|
-
如果是微信公众号或第三方登录,则为授权的 access_token(注意:不是普通 access_token,具体看 微信官方文档)。
|
500
|
-
:rtype: str
|
501
|
-
"""
|
502
|
-
return self._WxToken
|
503
|
-
|
504
|
-
@WxToken.setter
|
505
|
-
def WxToken(self, WxToken):
|
506
|
-
self._WxToken = WxToken
|
507
|
-
|
508
|
-
|
509
|
-
def _deserialize(self, params):
|
510
|
-
self._LoginIp = params.get("LoginIp")
|
511
|
-
self._Uid = params.get("Uid")
|
512
|
-
self._LoginTime = params.get("LoginTime")
|
513
|
-
self._AccountType = params.get("AccountType")
|
514
|
-
self._AppIdU = params.get("AppIdU")
|
515
|
-
self._AssociateAccount = params.get("AssociateAccount")
|
516
|
-
self._NickName = params.get("NickName")
|
517
|
-
self._PhoneNumber = params.get("PhoneNumber")
|
518
|
-
self._EmailAddress = params.get("EmailAddress")
|
519
|
-
self._RegisterTime = params.get("RegisterTime")
|
520
|
-
self._Address = params.get("Address")
|
521
|
-
self._CookieHash = params.get("CookieHash")
|
522
|
-
self._LoginSource = params.get("LoginSource")
|
523
|
-
self._LoginType = params.get("LoginType")
|
524
|
-
self._Referer = params.get("Referer")
|
525
|
-
self._JumpUrl = params.get("JumpUrl")
|
526
|
-
self._UserAgent = params.get("UserAgent")
|
527
|
-
self._XForwardedFor = params.get("XForwardedFor")
|
528
|
-
self._MouseClickCount = params.get("MouseClickCount")
|
529
|
-
self._KeyboardClickCount = params.get("KeyboardClickCount")
|
530
|
-
self._Result = params.get("Result")
|
531
|
-
self._Reason = params.get("Reason")
|
532
|
-
self._LoginSpend = params.get("LoginSpend")
|
533
|
-
self._MacAddress = params.get("MacAddress")
|
534
|
-
self._VendorId = params.get("VendorId")
|
535
|
-
self._AppVersion = params.get("AppVersion")
|
536
|
-
self._Imei = params.get("Imei")
|
537
|
-
self._BusinessId = params.get("BusinessId")
|
538
|
-
self._WxSubType = params.get("WxSubType")
|
539
|
-
self._RandNum = params.get("RandNum")
|
540
|
-
self._WxToken = params.get("WxToken")
|
541
|
-
memeber_set = set(params.keys())
|
542
|
-
for name, value in vars(self).items():
|
543
|
-
property_name = name[1:]
|
544
|
-
if property_name in memeber_set:
|
545
|
-
memeber_set.remove(property_name)
|
546
|
-
if len(memeber_set) > 0:
|
547
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
class QueryLoginProtectionResponse(AbstractModel):
|
552
|
-
"""QueryLoginProtection返回参数结构体
|
553
|
-
|
554
|
-
"""
|
555
|
-
|
556
|
-
def __init__(self):
|
557
|
-
r"""
|
558
|
-
:param _CodeDesc: AssociateAccount
|
559
|
-
|
560
|
-
accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
561
|
-
LoginTime
|
562
|
-
|
563
|
-
操作时间。
|
564
|
-
Uid
|
565
|
-
|
566
|
-
用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
567
|
-
LoginIp
|
568
|
-
|
569
|
-
登录 IP。
|
570
|
-
Level
|
571
|
-
|
572
|
-
0:表示无恶意。
|
573
|
-
1 - 4:恶意等级由低到高。
|
574
|
-
RiskType
|
575
|
-
|
576
|
-
风险类型。
|
577
|
-
出参不用填"Req业务侧错误码。成功时返回 Success,错误时返回具体业务错误原因。uestId"等公共出参, 详细解释>>>
|
578
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
579
|
-
:type CodeDesc: str
|
580
|
-
:param _AssociateAccount: accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
581
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
582
|
-
:type AssociateAccount: str
|
583
|
-
:param _LoginTime: 操作时间。
|
584
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
585
|
-
:type LoginTime: str
|
586
|
-
:param _Uid: 用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
587
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
588
|
-
:type Uid: str
|
589
|
-
:param _LoginIp: 登录 IP。
|
590
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
591
|
-
:type LoginIp: str
|
592
|
-
:param _Level: 0:表示无恶意。
|
593
|
-
1 - 4:恶意等级由低到高。
|
594
|
-
:type Level: int
|
595
|
-
:param _RiskType: 风险类型。
|
596
|
-
:type RiskType: list of int
|
597
|
-
:param _RootId: accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
598
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
599
|
-
:type RootId: str
|
600
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
601
|
-
:type RequestId: str
|
602
|
-
"""
|
603
|
-
self._CodeDesc = None
|
604
|
-
self._AssociateAccount = None
|
605
|
-
self._LoginTime = None
|
606
|
-
self._Uid = None
|
607
|
-
self._LoginIp = None
|
608
|
-
self._Level = None
|
609
|
-
self._RiskType = None
|
610
|
-
self._RootId = None
|
611
|
-
self._RequestId = None
|
612
|
-
|
613
|
-
@property
|
614
|
-
def CodeDesc(self):
|
615
|
-
"""AssociateAccount
|
616
|
-
|
617
|
-
accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
618
|
-
LoginTime
|
619
|
-
|
620
|
-
操作时间。
|
621
|
-
Uid
|
622
|
-
|
623
|
-
用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
624
|
-
LoginIp
|
625
|
-
|
626
|
-
登录 IP。
|
627
|
-
Level
|
628
|
-
|
629
|
-
0:表示无恶意。
|
630
|
-
1 - 4:恶意等级由低到高。
|
631
|
-
RiskType
|
632
|
-
|
633
|
-
风险类型。
|
634
|
-
出参不用填"Req业务侧错误码。成功时返回 Success,错误时返回具体业务错误原因。uestId"等公共出参, 详细解释>>>
|
635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
636
|
-
:rtype: str
|
637
|
-
"""
|
638
|
-
return self._CodeDesc
|
639
|
-
|
640
|
-
@CodeDesc.setter
|
641
|
-
def CodeDesc(self, CodeDesc):
|
642
|
-
self._CodeDesc = CodeDesc
|
643
|
-
|
644
|
-
@property
|
645
|
-
def AssociateAccount(self):
|
646
|
-
"""accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
647
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
648
|
-
:rtype: str
|
649
|
-
"""
|
650
|
-
return self._AssociateAccount
|
651
|
-
|
652
|
-
@AssociateAccount.setter
|
653
|
-
def AssociateAccount(self, AssociateAccount):
|
654
|
-
self._AssociateAccount = AssociateAccount
|
655
|
-
|
656
|
-
@property
|
657
|
-
def LoginTime(self):
|
658
|
-
"""操作时间。
|
659
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
660
|
-
:rtype: str
|
661
|
-
"""
|
662
|
-
return self._LoginTime
|
663
|
-
|
664
|
-
@LoginTime.setter
|
665
|
-
def LoginTime(self, LoginTime):
|
666
|
-
self._LoginTime = LoginTime
|
667
|
-
|
668
|
-
@property
|
669
|
-
def Uid(self):
|
670
|
-
"""用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
671
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
672
|
-
:rtype: str
|
673
|
-
"""
|
674
|
-
return self._Uid
|
675
|
-
|
676
|
-
@Uid.setter
|
677
|
-
def Uid(self, Uid):
|
678
|
-
self._Uid = Uid
|
679
|
-
|
680
|
-
@property
|
681
|
-
def LoginIp(self):
|
682
|
-
"""登录 IP。
|
683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
684
|
-
:rtype: str
|
685
|
-
"""
|
686
|
-
return self._LoginIp
|
687
|
-
|
688
|
-
@LoginIp.setter
|
689
|
-
def LoginIp(self, LoginIp):
|
690
|
-
self._LoginIp = LoginIp
|
691
|
-
|
692
|
-
@property
|
693
|
-
def Level(self):
|
694
|
-
"""0:表示无恶意。
|
695
|
-
1 - 4:恶意等级由低到高。
|
696
|
-
:rtype: int
|
697
|
-
"""
|
698
|
-
return self._Level
|
699
|
-
|
700
|
-
@Level.setter
|
701
|
-
def Level(self, Level):
|
702
|
-
self._Level = Level
|
703
|
-
|
704
|
-
@property
|
705
|
-
def RiskType(self):
|
706
|
-
"""风险类型。
|
707
|
-
:rtype: list of int
|
708
|
-
"""
|
709
|
-
return self._RiskType
|
710
|
-
|
711
|
-
@RiskType.setter
|
712
|
-
def RiskType(self, RiskType):
|
713
|
-
self._RiskType = RiskType
|
714
|
-
|
715
|
-
@property
|
716
|
-
def RootId(self):
|
717
|
-
"""accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
718
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
719
|
-
:rtype: str
|
720
|
-
"""
|
721
|
-
return self._RootId
|
722
|
-
|
723
|
-
@RootId.setter
|
724
|
-
def RootId(self, RootId):
|
725
|
-
self._RootId = RootId
|
726
|
-
|
727
|
-
@property
|
728
|
-
def RequestId(self):
|
729
|
-
"""唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
730
|
-
:rtype: str
|
731
|
-
"""
|
732
|
-
return self._RequestId
|
733
|
-
|
734
|
-
@RequestId.setter
|
735
|
-
def RequestId(self, RequestId):
|
736
|
-
self._RequestId = RequestId
|
737
|
-
|
738
|
-
|
739
|
-
def _deserialize(self, params):
|
740
|
-
self._CodeDesc = params.get("CodeDesc")
|
741
|
-
self._AssociateAccount = params.get("AssociateAccount")
|
742
|
-
self._LoginTime = params.get("LoginTime")
|
743
|
-
self._Uid = params.get("Uid")
|
744
|
-
self._LoginIp = params.get("LoginIp")
|
745
|
-
self._Level = params.get("Level")
|
746
|
-
self._RiskType = params.get("RiskType")
|
747
|
-
self._RootId = params.get("RootId")
|
748
|
-
self._RequestId = params.get("RequestId")
|