tencentcloud-sdk-python 3.0.1323__py2.py3-none-any.whl → 3.0.1325__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/aiart/v20221229/models.py +2 -2
- tencentcloud/antiddos/v20200309/models.py +27 -10
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/models.py +255 -2
- tencentcloud/cbs/v20170312/cbs_client.py +101 -0
- tencentcloud/cbs/v20170312/errorcodes.py +3 -0
- tencentcloud/cbs/v20170312/models.py +735 -5
- tencentcloud/cdwdoris/v20211228/models.py +17 -2
- tencentcloud/cls/v20201016/models.py +15 -0
- tencentcloud/dc/v20180410/models.py +15 -0
- tencentcloud/dlc/v20210125/models.py +0 -24
- tencentcloud/dts/v20211206/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +96 -0
- tencentcloud/gme/v20180711/models.py +0 -18
- tencentcloud/mna/v20210119/models.py +0 -58
- tencentcloud/ocr/v20181119/models.py +158 -0
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/scf/v20180416/models.py +2 -2
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/svp/v20240125/models.py +0 -6
- tencentcloud/teo/v20220901/models.py +64 -0
- tencentcloud/trp/v20210515/models.py +0 -360
- tencentcloud/vpc/v20170312/models.py +234 -0
- tencentcloud/vpc/v20170312/vpc_client.py +46 -0
- {tencentcloud_sdk_python-3.0.1323.dist-info → tencentcloud_sdk_python-3.0.1325.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1323.dist-info → tencentcloud_sdk_python-3.0.1325.dist-info}/RECORD +30 -35
- tencentcloud/aa/__init__.py +0 -0
- tencentcloud/aa/v20200224/__init__.py +0 -0
- tencentcloud/aa/v20200224/aa_client.py +0 -49
- tencentcloud/aa/v20200224/errorcodes.py +0 -78
- tencentcloud/aa/v20200224/models.py +0 -736
- {tencentcloud_sdk_python-3.0.1323.dist-info → tencentcloud_sdk_python-3.0.1325.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1323.dist-info → tencentcloud_sdk_python-3.0.1325.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1323.dist-info → tencentcloud_sdk_python-3.0.1325.dist-info}/top_level.txt +0 -0
@@ -1,736 +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 QueryActivityAntiRushRequest(AbstractModel):
|
22
|
-
"""QueryActivityAntiRush请求参数结构体
|
23
|
-
|
24
|
-
"""
|
25
|
-
|
26
|
-
def __init__(self):
|
27
|
-
r"""
|
28
|
-
:param _AccountType: 账号类型
|
29
|
-
:type AccountType: str
|
30
|
-
:param _Uid: uid值
|
31
|
-
:type Uid: str
|
32
|
-
:param _UserIp: 用户的真实外网 IP。若填入非外网有效ip,会返回level=0的风控结果,risktype中会有205的风险码返回作为标识
|
33
|
-
:type UserIp: str
|
34
|
-
:param _PostTime: 用户操作时间戳。
|
35
|
-
:type PostTime: str
|
36
|
-
:param _AppIdU: accountType 是QQ开放账号时,该参数必填,表示 QQ 开放平台分配给网站或应用的 AppID,用来唯一标识网站或应用。
|
37
|
-
:type AppIdU: str
|
38
|
-
:param _NickName: 昵称,UTF-8 编码。
|
39
|
-
:type NickName: str
|
40
|
-
:param _PhoneNumber: 手机号
|
41
|
-
:type PhoneNumber: str
|
42
|
-
:param _EmailAddress: 用户邮箱地址。
|
43
|
-
:type EmailAddress: str
|
44
|
-
:param _RegisterTime: 注册时间戳。
|
45
|
-
:type RegisterTime: str
|
46
|
-
:param _RegisterIp: 注册来源的外网 IP。
|
47
|
-
:type RegisterIp: str
|
48
|
-
:param _CookieHash: 用户 HTTP 请求中的 cookie 进行2次 hash 的值,只要保证相同 cookie 的 hash 值一致即可。
|
49
|
-
:type CookieHash: str
|
50
|
-
:param _Address: 地址。
|
51
|
-
:type Address: str
|
52
|
-
:param _LoginSource: 登录来源:
|
53
|
-
0:其他。
|
54
|
-
1:PC 网页。
|
55
|
-
2:移动页面。
|
56
|
-
3:App。
|
57
|
-
4:微信公众号。
|
58
|
-
:type LoginSource: str
|
59
|
-
:param _LoginType: 登录方式:
|
60
|
-
0:其他。
|
61
|
-
1:手动账号密码输入。
|
62
|
-
2:动态短信密码登录。
|
63
|
-
3:二维码扫描登录。
|
64
|
-
:type LoginType: str
|
65
|
-
:param _LoginSpend: 登录耗时,单位:秒。
|
66
|
-
:type LoginSpend: str
|
67
|
-
:param _RootId: 用户操作的目的 ID,如点赞等,该字段就是被点赞的消息 ID,如果是投票,则为被投号码的 ID。
|
68
|
-
:type RootId: str
|
69
|
-
:param _Referer: 用户 HTTP 请求的 referer 值。
|
70
|
-
:type Referer: str
|
71
|
-
:param _JumpUrl: 登录成功后跳转页面。
|
72
|
-
:type JumpUrl: str
|
73
|
-
:param _UserAgent: 用户 HTTP 请求的 userAgent。
|
74
|
-
:type UserAgent: str
|
75
|
-
:param _XForwardedFor: 用户 HTTP 请求中的 x_forward_for。
|
76
|
-
:type XForwardedFor: str
|
77
|
-
:param _MouseClickCount: 用户操作过程中鼠标单击次数。
|
78
|
-
:type MouseClickCount: str
|
79
|
-
:param _KeyboardClickCount: 用户操作过程中键盘单击次数。
|
80
|
-
:type KeyboardClickCount: str
|
81
|
-
:param _MacAddress: MAC 地址或设备唯一标识。
|
82
|
-
:type MacAddress: str
|
83
|
-
:param _VendorId: 手机制造商 ID,如果手机注册,请带上此信息。
|
84
|
-
:type VendorId: str
|
85
|
-
:param _Imei: 手机设备号。支持以下格式:
|
86
|
-
1.imei明文
|
87
|
-
2.idfa明文,
|
88
|
-
3.imei小写后MD5值小写
|
89
|
-
4.idfa大写后MD5值小写
|
90
|
-
:type Imei: str
|
91
|
-
:param _AppVersion: App 客户端版本。
|
92
|
-
:type AppVersion: str
|
93
|
-
:param _BusinessId: 业务 ID 网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据。
|
94
|
-
:type BusinessId: str
|
95
|
-
:param _WxSubType: 1:微信公众号。
|
96
|
-
2:微信小程序。
|
97
|
-
:type WxSubType: str
|
98
|
-
:param _RandNum: Token 签名随机数,WxSubType为微信小程序时必填,建议16个字符。
|
99
|
-
:type RandNum: str
|
100
|
-
:param _WxToken: token
|
101
|
-
:type WxToken: str
|
102
|
-
:param _CheckDevice: 是否识别设备异常:
|
103
|
-
0:不识别。
|
104
|
-
1:识别。
|
105
|
-
:type CheckDevice: str
|
106
|
-
"""
|
107
|
-
self._AccountType = None
|
108
|
-
self._Uid = None
|
109
|
-
self._UserIp = None
|
110
|
-
self._PostTime = None
|
111
|
-
self._AppIdU = None
|
112
|
-
self._NickName = None
|
113
|
-
self._PhoneNumber = None
|
114
|
-
self._EmailAddress = None
|
115
|
-
self._RegisterTime = None
|
116
|
-
self._RegisterIp = None
|
117
|
-
self._CookieHash = None
|
118
|
-
self._Address = None
|
119
|
-
self._LoginSource = None
|
120
|
-
self._LoginType = None
|
121
|
-
self._LoginSpend = None
|
122
|
-
self._RootId = None
|
123
|
-
self._Referer = None
|
124
|
-
self._JumpUrl = None
|
125
|
-
self._UserAgent = None
|
126
|
-
self._XForwardedFor = None
|
127
|
-
self._MouseClickCount = None
|
128
|
-
self._KeyboardClickCount = None
|
129
|
-
self._MacAddress = None
|
130
|
-
self._VendorId = None
|
131
|
-
self._Imei = None
|
132
|
-
self._AppVersion = None
|
133
|
-
self._BusinessId = None
|
134
|
-
self._WxSubType = None
|
135
|
-
self._RandNum = None
|
136
|
-
self._WxToken = None
|
137
|
-
self._CheckDevice = None
|
138
|
-
|
139
|
-
@property
|
140
|
-
def AccountType(self):
|
141
|
-
"""账号类型
|
142
|
-
:rtype: str
|
143
|
-
"""
|
144
|
-
return self._AccountType
|
145
|
-
|
146
|
-
@AccountType.setter
|
147
|
-
def AccountType(self, AccountType):
|
148
|
-
self._AccountType = AccountType
|
149
|
-
|
150
|
-
@property
|
151
|
-
def Uid(self):
|
152
|
-
"""uid值
|
153
|
-
:rtype: str
|
154
|
-
"""
|
155
|
-
return self._Uid
|
156
|
-
|
157
|
-
@Uid.setter
|
158
|
-
def Uid(self, Uid):
|
159
|
-
self._Uid = Uid
|
160
|
-
|
161
|
-
@property
|
162
|
-
def UserIp(self):
|
163
|
-
"""用户的真实外网 IP。若填入非外网有效ip,会返回level=0的风控结果,risktype中会有205的风险码返回作为标识
|
164
|
-
:rtype: str
|
165
|
-
"""
|
166
|
-
return self._UserIp
|
167
|
-
|
168
|
-
@UserIp.setter
|
169
|
-
def UserIp(self, UserIp):
|
170
|
-
self._UserIp = UserIp
|
171
|
-
|
172
|
-
@property
|
173
|
-
def PostTime(self):
|
174
|
-
"""用户操作时间戳。
|
175
|
-
:rtype: str
|
176
|
-
"""
|
177
|
-
return self._PostTime
|
178
|
-
|
179
|
-
@PostTime.setter
|
180
|
-
def PostTime(self, PostTime):
|
181
|
-
self._PostTime = PostTime
|
182
|
-
|
183
|
-
@property
|
184
|
-
def AppIdU(self):
|
185
|
-
"""accountType 是QQ开放账号时,该参数必填,表示 QQ 开放平台分配给网站或应用的 AppID,用来唯一标识网站或应用。
|
186
|
-
:rtype: str
|
187
|
-
"""
|
188
|
-
return self._AppIdU
|
189
|
-
|
190
|
-
@AppIdU.setter
|
191
|
-
def AppIdU(self, AppIdU):
|
192
|
-
self._AppIdU = AppIdU
|
193
|
-
|
194
|
-
@property
|
195
|
-
def NickName(self):
|
196
|
-
"""昵称,UTF-8 编码。
|
197
|
-
:rtype: str
|
198
|
-
"""
|
199
|
-
return self._NickName
|
200
|
-
|
201
|
-
@NickName.setter
|
202
|
-
def NickName(self, NickName):
|
203
|
-
self._NickName = NickName
|
204
|
-
|
205
|
-
@property
|
206
|
-
def PhoneNumber(self):
|
207
|
-
"""手机号
|
208
|
-
:rtype: str
|
209
|
-
"""
|
210
|
-
return self._PhoneNumber
|
211
|
-
|
212
|
-
@PhoneNumber.setter
|
213
|
-
def PhoneNumber(self, PhoneNumber):
|
214
|
-
self._PhoneNumber = PhoneNumber
|
215
|
-
|
216
|
-
@property
|
217
|
-
def EmailAddress(self):
|
218
|
-
"""用户邮箱地址。
|
219
|
-
:rtype: str
|
220
|
-
"""
|
221
|
-
return self._EmailAddress
|
222
|
-
|
223
|
-
@EmailAddress.setter
|
224
|
-
def EmailAddress(self, EmailAddress):
|
225
|
-
self._EmailAddress = EmailAddress
|
226
|
-
|
227
|
-
@property
|
228
|
-
def RegisterTime(self):
|
229
|
-
"""注册时间戳。
|
230
|
-
:rtype: str
|
231
|
-
"""
|
232
|
-
return self._RegisterTime
|
233
|
-
|
234
|
-
@RegisterTime.setter
|
235
|
-
def RegisterTime(self, RegisterTime):
|
236
|
-
self._RegisterTime = RegisterTime
|
237
|
-
|
238
|
-
@property
|
239
|
-
def RegisterIp(self):
|
240
|
-
"""注册来源的外网 IP。
|
241
|
-
:rtype: str
|
242
|
-
"""
|
243
|
-
return self._RegisterIp
|
244
|
-
|
245
|
-
@RegisterIp.setter
|
246
|
-
def RegisterIp(self, RegisterIp):
|
247
|
-
self._RegisterIp = RegisterIp
|
248
|
-
|
249
|
-
@property
|
250
|
-
def CookieHash(self):
|
251
|
-
"""用户 HTTP 请求中的 cookie 进行2次 hash 的值,只要保证相同 cookie 的 hash 值一致即可。
|
252
|
-
:rtype: str
|
253
|
-
"""
|
254
|
-
return self._CookieHash
|
255
|
-
|
256
|
-
@CookieHash.setter
|
257
|
-
def CookieHash(self, CookieHash):
|
258
|
-
self._CookieHash = CookieHash
|
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 LoginSource(self):
|
273
|
-
"""登录来源:
|
274
|
-
0:其他。
|
275
|
-
1:PC 网页。
|
276
|
-
2:移动页面。
|
277
|
-
3:App。
|
278
|
-
4:微信公众号。
|
279
|
-
:rtype: str
|
280
|
-
"""
|
281
|
-
return self._LoginSource
|
282
|
-
|
283
|
-
@LoginSource.setter
|
284
|
-
def LoginSource(self, LoginSource):
|
285
|
-
self._LoginSource = LoginSource
|
286
|
-
|
287
|
-
@property
|
288
|
-
def LoginType(self):
|
289
|
-
"""登录方式:
|
290
|
-
0:其他。
|
291
|
-
1:手动账号密码输入。
|
292
|
-
2:动态短信密码登录。
|
293
|
-
3:二维码扫描登录。
|
294
|
-
:rtype: str
|
295
|
-
"""
|
296
|
-
return self._LoginType
|
297
|
-
|
298
|
-
@LoginType.setter
|
299
|
-
def LoginType(self, LoginType):
|
300
|
-
self._LoginType = LoginType
|
301
|
-
|
302
|
-
@property
|
303
|
-
def LoginSpend(self):
|
304
|
-
"""登录耗时,单位:秒。
|
305
|
-
:rtype: str
|
306
|
-
"""
|
307
|
-
return self._LoginSpend
|
308
|
-
|
309
|
-
@LoginSpend.setter
|
310
|
-
def LoginSpend(self, LoginSpend):
|
311
|
-
self._LoginSpend = LoginSpend
|
312
|
-
|
313
|
-
@property
|
314
|
-
def RootId(self):
|
315
|
-
"""用户操作的目的 ID,如点赞等,该字段就是被点赞的消息 ID,如果是投票,则为被投号码的 ID。
|
316
|
-
:rtype: str
|
317
|
-
"""
|
318
|
-
return self._RootId
|
319
|
-
|
320
|
-
@RootId.setter
|
321
|
-
def RootId(self, RootId):
|
322
|
-
self._RootId = RootId
|
323
|
-
|
324
|
-
@property
|
325
|
-
def Referer(self):
|
326
|
-
"""用户 HTTP 请求的 referer 值。
|
327
|
-
:rtype: str
|
328
|
-
"""
|
329
|
-
return self._Referer
|
330
|
-
|
331
|
-
@Referer.setter
|
332
|
-
def Referer(self, Referer):
|
333
|
-
self._Referer = Referer
|
334
|
-
|
335
|
-
@property
|
336
|
-
def JumpUrl(self):
|
337
|
-
"""登录成功后跳转页面。
|
338
|
-
:rtype: str
|
339
|
-
"""
|
340
|
-
return self._JumpUrl
|
341
|
-
|
342
|
-
@JumpUrl.setter
|
343
|
-
def JumpUrl(self, JumpUrl):
|
344
|
-
self._JumpUrl = JumpUrl
|
345
|
-
|
346
|
-
@property
|
347
|
-
def UserAgent(self):
|
348
|
-
"""用户 HTTP 请求的 userAgent。
|
349
|
-
:rtype: str
|
350
|
-
"""
|
351
|
-
return self._UserAgent
|
352
|
-
|
353
|
-
@UserAgent.setter
|
354
|
-
def UserAgent(self, UserAgent):
|
355
|
-
self._UserAgent = UserAgent
|
356
|
-
|
357
|
-
@property
|
358
|
-
def XForwardedFor(self):
|
359
|
-
"""用户 HTTP 请求中的 x_forward_for。
|
360
|
-
:rtype: str
|
361
|
-
"""
|
362
|
-
return self._XForwardedFor
|
363
|
-
|
364
|
-
@XForwardedFor.setter
|
365
|
-
def XForwardedFor(self, XForwardedFor):
|
366
|
-
self._XForwardedFor = XForwardedFor
|
367
|
-
|
368
|
-
@property
|
369
|
-
def MouseClickCount(self):
|
370
|
-
"""用户操作过程中鼠标单击次数。
|
371
|
-
:rtype: str
|
372
|
-
"""
|
373
|
-
return self._MouseClickCount
|
374
|
-
|
375
|
-
@MouseClickCount.setter
|
376
|
-
def MouseClickCount(self, MouseClickCount):
|
377
|
-
self._MouseClickCount = MouseClickCount
|
378
|
-
|
379
|
-
@property
|
380
|
-
def KeyboardClickCount(self):
|
381
|
-
"""用户操作过程中键盘单击次数。
|
382
|
-
:rtype: str
|
383
|
-
"""
|
384
|
-
return self._KeyboardClickCount
|
385
|
-
|
386
|
-
@KeyboardClickCount.setter
|
387
|
-
def KeyboardClickCount(self, KeyboardClickCount):
|
388
|
-
self._KeyboardClickCount = KeyboardClickCount
|
389
|
-
|
390
|
-
@property
|
391
|
-
def MacAddress(self):
|
392
|
-
"""MAC 地址或设备唯一标识。
|
393
|
-
:rtype: str
|
394
|
-
"""
|
395
|
-
return self._MacAddress
|
396
|
-
|
397
|
-
@MacAddress.setter
|
398
|
-
def MacAddress(self, MacAddress):
|
399
|
-
self._MacAddress = MacAddress
|
400
|
-
|
401
|
-
@property
|
402
|
-
def VendorId(self):
|
403
|
-
"""手机制造商 ID,如果手机注册,请带上此信息。
|
404
|
-
:rtype: str
|
405
|
-
"""
|
406
|
-
return self._VendorId
|
407
|
-
|
408
|
-
@VendorId.setter
|
409
|
-
def VendorId(self, VendorId):
|
410
|
-
self._VendorId = VendorId
|
411
|
-
|
412
|
-
@property
|
413
|
-
def Imei(self):
|
414
|
-
"""手机设备号。支持以下格式:
|
415
|
-
1.imei明文
|
416
|
-
2.idfa明文,
|
417
|
-
3.imei小写后MD5值小写
|
418
|
-
4.idfa大写后MD5值小写
|
419
|
-
:rtype: str
|
420
|
-
"""
|
421
|
-
return self._Imei
|
422
|
-
|
423
|
-
@Imei.setter
|
424
|
-
def Imei(self, Imei):
|
425
|
-
self._Imei = Imei
|
426
|
-
|
427
|
-
@property
|
428
|
-
def AppVersion(self):
|
429
|
-
"""App 客户端版本。
|
430
|
-
:rtype: str
|
431
|
-
"""
|
432
|
-
return self._AppVersion
|
433
|
-
|
434
|
-
@AppVersion.setter
|
435
|
-
def AppVersion(self, AppVersion):
|
436
|
-
self._AppVersion = AppVersion
|
437
|
-
|
438
|
-
@property
|
439
|
-
def BusinessId(self):
|
440
|
-
"""业务 ID 网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据。
|
441
|
-
:rtype: str
|
442
|
-
"""
|
443
|
-
return self._BusinessId
|
444
|
-
|
445
|
-
@BusinessId.setter
|
446
|
-
def BusinessId(self, BusinessId):
|
447
|
-
self._BusinessId = BusinessId
|
448
|
-
|
449
|
-
@property
|
450
|
-
def WxSubType(self):
|
451
|
-
"""1:微信公众号。
|
452
|
-
2:微信小程序。
|
453
|
-
:rtype: str
|
454
|
-
"""
|
455
|
-
return self._WxSubType
|
456
|
-
|
457
|
-
@WxSubType.setter
|
458
|
-
def WxSubType(self, WxSubType):
|
459
|
-
self._WxSubType = WxSubType
|
460
|
-
|
461
|
-
@property
|
462
|
-
def RandNum(self):
|
463
|
-
"""Token 签名随机数,WxSubType为微信小程序时必填,建议16个字符。
|
464
|
-
:rtype: str
|
465
|
-
"""
|
466
|
-
return self._RandNum
|
467
|
-
|
468
|
-
@RandNum.setter
|
469
|
-
def RandNum(self, RandNum):
|
470
|
-
self._RandNum = RandNum
|
471
|
-
|
472
|
-
@property
|
473
|
-
def WxToken(self):
|
474
|
-
"""token
|
475
|
-
:rtype: str
|
476
|
-
"""
|
477
|
-
return self._WxToken
|
478
|
-
|
479
|
-
@WxToken.setter
|
480
|
-
def WxToken(self, WxToken):
|
481
|
-
self._WxToken = WxToken
|
482
|
-
|
483
|
-
@property
|
484
|
-
def CheckDevice(self):
|
485
|
-
"""是否识别设备异常:
|
486
|
-
0:不识别。
|
487
|
-
1:识别。
|
488
|
-
:rtype: str
|
489
|
-
"""
|
490
|
-
return self._CheckDevice
|
491
|
-
|
492
|
-
@CheckDevice.setter
|
493
|
-
def CheckDevice(self, CheckDevice):
|
494
|
-
self._CheckDevice = CheckDevice
|
495
|
-
|
496
|
-
|
497
|
-
def _deserialize(self, params):
|
498
|
-
self._AccountType = params.get("AccountType")
|
499
|
-
self._Uid = params.get("Uid")
|
500
|
-
self._UserIp = params.get("UserIp")
|
501
|
-
self._PostTime = params.get("PostTime")
|
502
|
-
self._AppIdU = params.get("AppIdU")
|
503
|
-
self._NickName = params.get("NickName")
|
504
|
-
self._PhoneNumber = params.get("PhoneNumber")
|
505
|
-
self._EmailAddress = params.get("EmailAddress")
|
506
|
-
self._RegisterTime = params.get("RegisterTime")
|
507
|
-
self._RegisterIp = params.get("RegisterIp")
|
508
|
-
self._CookieHash = params.get("CookieHash")
|
509
|
-
self._Address = params.get("Address")
|
510
|
-
self._LoginSource = params.get("LoginSource")
|
511
|
-
self._LoginType = params.get("LoginType")
|
512
|
-
self._LoginSpend = params.get("LoginSpend")
|
513
|
-
self._RootId = params.get("RootId")
|
514
|
-
self._Referer = params.get("Referer")
|
515
|
-
self._JumpUrl = params.get("JumpUrl")
|
516
|
-
self._UserAgent = params.get("UserAgent")
|
517
|
-
self._XForwardedFor = params.get("XForwardedFor")
|
518
|
-
self._MouseClickCount = params.get("MouseClickCount")
|
519
|
-
self._KeyboardClickCount = params.get("KeyboardClickCount")
|
520
|
-
self._MacAddress = params.get("MacAddress")
|
521
|
-
self._VendorId = params.get("VendorId")
|
522
|
-
self._Imei = params.get("Imei")
|
523
|
-
self._AppVersion = params.get("AppVersion")
|
524
|
-
self._BusinessId = params.get("BusinessId")
|
525
|
-
self._WxSubType = params.get("WxSubType")
|
526
|
-
self._RandNum = params.get("RandNum")
|
527
|
-
self._WxToken = params.get("WxToken")
|
528
|
-
self._CheckDevice = params.get("CheckDevice")
|
529
|
-
memeber_set = set(params.keys())
|
530
|
-
for name, value in vars(self).items():
|
531
|
-
property_name = name[1:]
|
532
|
-
if property_name in memeber_set:
|
533
|
-
memeber_set.remove(property_name)
|
534
|
-
if len(memeber_set) > 0:
|
535
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
class QueryActivityAntiRushResponse(AbstractModel):
|
540
|
-
"""QueryActivityAntiRush返回参数结构体
|
541
|
-
|
542
|
-
"""
|
543
|
-
|
544
|
-
def __init__(self):
|
545
|
-
r"""
|
546
|
-
:param _PostTime: 操作时间戳,单位:秒。
|
547
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
548
|
-
:type PostTime: str
|
549
|
-
:param _UserIp: 用户操作的真实外网 IP。
|
550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
551
|
-
:type UserIp: str
|
552
|
-
:param _Level: 0:表示无恶意。
|
553
|
-
1 - 4:恶意等级由低到高。
|
554
|
-
:type Level: int
|
555
|
-
:param _RiskType: 风险类型。
|
556
|
-
|
557
|
-
账号风险:
|
558
|
-
|
559
|
-
1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
|
560
|
-
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
|
561
|
-
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
|
562
|
-
4,黑名单,该账号在业务侧有过拉黑记录
|
563
|
-
5,白名单,该账号在业务侧有过加白名单记录
|
564
|
-
|
565
|
-
行为风险:
|
566
|
-
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
|
567
|
-
102,自动机,疑似自动机批量请求;
|
568
|
-
104,微信登录态无效,检查wxToken参数,是否已经失效;
|
569
|
-
|
570
|
-
环境风险:
|
571
|
-
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
|
572
|
-
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
|
573
|
-
206,设备异常,该设备存在异常的使用行为
|
574
|
-
:type RiskType: list of int
|
575
|
-
:param _AssociateAccount: accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
|
576
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
577
|
-
:type AssociateAccount: str
|
578
|
-
:param _Uid: uid值
|
579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
580
|
-
:type Uid: str
|
581
|
-
:param _RootId: 用户操作的目的ID
|
582
|
-
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
|
583
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
584
|
-
:type RootId: str
|
585
|
-
:param _CodeDesc: 业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
|
586
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
587
|
-
:type CodeDesc: str
|
588
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
589
|
-
:type RequestId: str
|
590
|
-
"""
|
591
|
-
self._PostTime = None
|
592
|
-
self._UserIp = None
|
593
|
-
self._Level = None
|
594
|
-
self._RiskType = None
|
595
|
-
self._AssociateAccount = None
|
596
|
-
self._Uid = None
|
597
|
-
self._RootId = None
|
598
|
-
self._CodeDesc = None
|
599
|
-
self._RequestId = None
|
600
|
-
|
601
|
-
@property
|
602
|
-
def PostTime(self):
|
603
|
-
"""操作时间戳,单位:秒。
|
604
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
605
|
-
:rtype: str
|
606
|
-
"""
|
607
|
-
return self._PostTime
|
608
|
-
|
609
|
-
@PostTime.setter
|
610
|
-
def PostTime(self, PostTime):
|
611
|
-
self._PostTime = PostTime
|
612
|
-
|
613
|
-
@property
|
614
|
-
def UserIp(self):
|
615
|
-
"""用户操作的真实外网 IP。
|
616
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
617
|
-
:rtype: str
|
618
|
-
"""
|
619
|
-
return self._UserIp
|
620
|
-
|
621
|
-
@UserIp.setter
|
622
|
-
def UserIp(self, UserIp):
|
623
|
-
self._UserIp = UserIp
|
624
|
-
|
625
|
-
@property
|
626
|
-
def Level(self):
|
627
|
-
"""0:表示无恶意。
|
628
|
-
1 - 4:恶意等级由低到高。
|
629
|
-
:rtype: int
|
630
|
-
"""
|
631
|
-
return self._Level
|
632
|
-
|
633
|
-
@Level.setter
|
634
|
-
def Level(self, Level):
|
635
|
-
self._Level = Level
|
636
|
-
|
637
|
-
@property
|
638
|
-
def RiskType(self):
|
639
|
-
"""风险类型。
|
640
|
-
|
641
|
-
账号风险:
|
642
|
-
|
643
|
-
1,账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素;
|
644
|
-
2,垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报;
|
645
|
-
3,无效账号,送检账号参数无法成功解析,请检查微信openid是否有误 ,QQopenid是否与appidU对应,手机号是否有误。
|
646
|
-
4,黑名单,该账号在业务侧有过拉黑记录
|
647
|
-
5,白名单,该账号在业务侧有过加白名单记录
|
648
|
-
|
649
|
-
行为风险:
|
650
|
-
101,批量操作,存在ip/设备/环境等因素的聚集性异常;
|
651
|
-
102,自动机,疑似自动机批量请求;
|
652
|
-
104,微信登录态无效,检查wxToken参数,是否已经失效;
|
653
|
-
|
654
|
-
环境风险:
|
655
|
-
201,环境异常,操作ip/设备/环境存在异常。当前ip为非常用ip或恶意ip段;
|
656
|
-
205,非公网有效ip,传进来的IP地址为内网ip地址或者ip保留地址;
|
657
|
-
206,设备异常,该设备存在异常的使用行为
|
658
|
-
:rtype: list of int
|
659
|
-
"""
|
660
|
-
return self._RiskType
|
661
|
-
|
662
|
-
@RiskType.setter
|
663
|
-
def RiskType(self, RiskType):
|
664
|
-
self._RiskType = RiskType
|
665
|
-
|
666
|
-
@property
|
667
|
-
def AssociateAccount(self):
|
668
|
-
"""accountType是QQ或微信开放账号时,用于标识QQ或微信用户登录后关联业务自身的账号ID
|
669
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
670
|
-
:rtype: str
|
671
|
-
"""
|
672
|
-
return self._AssociateAccount
|
673
|
-
|
674
|
-
@AssociateAccount.setter
|
675
|
-
def AssociateAccount(self, AssociateAccount):
|
676
|
-
self._AssociateAccount = AssociateAccount
|
677
|
-
|
678
|
-
@property
|
679
|
-
def Uid(self):
|
680
|
-
"""uid值
|
681
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
682
|
-
:rtype: str
|
683
|
-
"""
|
684
|
-
return self._Uid
|
685
|
-
|
686
|
-
@Uid.setter
|
687
|
-
def Uid(self, Uid):
|
688
|
-
self._Uid = Uid
|
689
|
-
|
690
|
-
@property
|
691
|
-
def RootId(self):
|
692
|
-
"""用户操作的目的ID
|
693
|
-
比如:点赞,该字段就是被点 赞的消息 id,如果是投票,就是被投号码的 ID
|
694
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
695
|
-
:rtype: str
|
696
|
-
"""
|
697
|
-
return self._RootId
|
698
|
-
|
699
|
-
@RootId.setter
|
700
|
-
def RootId(self, RootId):
|
701
|
-
self._RootId = RootId
|
702
|
-
|
703
|
-
@property
|
704
|
-
def CodeDesc(self):
|
705
|
-
"""业务侧错误码。成功时返回Success,错误时返回具体业务错误原因。
|
706
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
707
|
-
:rtype: str
|
708
|
-
"""
|
709
|
-
return self._CodeDesc
|
710
|
-
|
711
|
-
@CodeDesc.setter
|
712
|
-
def CodeDesc(self, CodeDesc):
|
713
|
-
self._CodeDesc = CodeDesc
|
714
|
-
|
715
|
-
@property
|
716
|
-
def RequestId(self):
|
717
|
-
"""唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
718
|
-
:rtype: str
|
719
|
-
"""
|
720
|
-
return self._RequestId
|
721
|
-
|
722
|
-
@RequestId.setter
|
723
|
-
def RequestId(self, RequestId):
|
724
|
-
self._RequestId = RequestId
|
725
|
-
|
726
|
-
|
727
|
-
def _deserialize(self, params):
|
728
|
-
self._PostTime = params.get("PostTime")
|
729
|
-
self._UserIp = params.get("UserIp")
|
730
|
-
self._Level = params.get("Level")
|
731
|
-
self._RiskType = params.get("RiskType")
|
732
|
-
self._AssociateAccount = params.get("AssociateAccount")
|
733
|
-
self._Uid = params.get("Uid")
|
734
|
-
self._RootId = params.get("RootId")
|
735
|
-
self._CodeDesc = params.get("CodeDesc")
|
736
|
-
self._RequestId = params.get("RequestId")
|