tencentcloud-sdk-python 3.0.1419__py2.py3-none-any.whl → 3.0.1421__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/ai3d/v20250513/models.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +244 -4
- tencentcloud/cfg/v20210820/models.py +40 -0
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +355 -4
- tencentcloud/ess/v20201111/models.py +8 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/models.py +71 -0
- tencentcloud/igtm/v20231024/igtm_client.py +69 -0
- tencentcloud/igtm/v20231024/models.py +1202 -198
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +4 -2
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lke/v20231130/models.py +395 -2
- tencentcloud/mrs/v20200910/models.py +15 -0
- tencentcloud/nlp/v20190408/errorcodes.py +0 -21
- tencentcloud/nlp/v20190408/models.py +99 -1004
- tencentcloud/nlp/v20190408/nlp_client.py +0 -138
- tencentcloud/ocr/v20181119/models.py +4 -18
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/omics/v20221128/models.py +60 -0
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ses/v20201002/models.py +171 -0
- tencentcloud/ssl/v20191205/errorcodes.py +6 -0
- tencentcloud/tcb/v20180608/models.py +64 -10
- tencentcloud/tdmq/v20200217/models.py +30 -0
- tencentcloud/teo/v20220901/models.py +664 -2
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/tione/v20211111/models.py +23 -0
- tencentcloud/tke/v20180525/models.py +46 -46
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +16 -0
- tencentcloud/vod/v20180717/models.py +8 -4
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/RECORD +44 -173
- tencentcloud/cis/__init__.py +0 -0
- tencentcloud/cis/v20180408/__init__.py +0 -0
- tencentcloud/cis/v20180408/cis_client.py +0 -187
- tencentcloud/cis/v20180408/errorcodes.py +0 -21
- tencentcloud/cis/v20180408/models.py +0 -1688
- tencentcloud/dataintegration/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
- tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
- tencentcloud/dataintegration/v20220613/models.py +0 -168
- tencentcloud/dtf/__init__.py +0 -0
- tencentcloud/dtf/v20200506/__init__.py +0 -0
- tencentcloud/dtf/v20200506/dtf_client.py +0 -49
- tencentcloud/dtf/v20200506/errorcodes.py +0 -21
- tencentcloud/dtf/v20200506/models.py +0 -538
- tencentcloud/gpm/__init__.py +0 -0
- tencentcloud/gpm/v20200820/__init__.py +0 -0
- tencentcloud/gpm/v20200820/errorcodes.py +0 -168
- tencentcloud/gpm/v20200820/gpm_client.py +0 -476
- tencentcloud/gpm/v20200820/models.py +0 -4255
- tencentcloud/gse/__init__.py +0 -0
- tencentcloud/gse/v20191112/__init__.py +0 -0
- tencentcloud/gse/v20191112/errorcodes.py +0 -90
- tencentcloud/gse/v20191112/gse_client.py +0 -1993
- tencentcloud/gse/v20191112/models.py +0 -15093
- tencentcloud/iecp/__init__.py +0 -0
- tencentcloud/iecp/v20210914/__init__.py +0 -0
- tencentcloud/iecp/v20210914/errorcodes.py +0 -75
- tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
- tencentcloud/iecp/v20210914/models.py +0 -17466
- tencentcloud/iir/__init__.py +0 -0
- tencentcloud/iir/v20200417/__init__.py +0 -0
- tencentcloud/iir/v20200417/errorcodes.py +0 -48
- tencentcloud/iir/v20200417/iir_client.py +0 -53
- tencentcloud/iir/v20200417/models.py +0 -451
- tencentcloud/iottid/__init__.py +0 -0
- tencentcloud/iottid/v20190411/__init__.py +0 -0
- tencentcloud/iottid/v20190411/errorcodes.py +0 -54
- tencentcloud/iottid/v20190411/iottid_client.py +0 -233
- tencentcloud/iottid/v20190411/models.py +0 -1053
- tencentcloud/mgobe/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
- tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
- tencentcloud/mgobe/v20190929/models.py +0 -97
- tencentcloud/mgobe/v20201014/__init__.py +0 -0
- tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
- tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
- tencentcloud/mgobe/v20201014/models.py +0 -1361
- tencentcloud/mvj/__init__.py +0 -0
- tencentcloud/mvj/v20190926/__init__.py +0 -0
- tencentcloud/mvj/v20190926/errorcodes.py +0 -30
- tencentcloud/mvj/v20190926/models.py +0 -263
- tencentcloud/mvj/v20190926/mvj_client.py +0 -51
- tencentcloud/pds/__init__.py +0 -0
- tencentcloud/pds/v20210701/__init__.py +0 -0
- tencentcloud/pds/v20210701/errorcodes.py +0 -48
- tencentcloud/pds/v20210701/models.py +0 -346
- tencentcloud/pds/v20210701/pds_client.py +0 -72
- tencentcloud/smpn/__init__.py +0 -0
- tencentcloud/smpn/v20190822/__init__.py +0 -0
- tencentcloud/smpn/v20190822/errorcodes.py +0 -27
- tencentcloud/smpn/v20190822/models.py +0 -389
- tencentcloud/smpn/v20190822/smpn_client.py +0 -76
- tencentcloud/solar/__init__.py +0 -0
- tencentcloud/solar/v20181011/__init__.py +0 -0
- tencentcloud/solar/v20181011/errorcodes.py +0 -42
- tencentcloud/solar/v20181011/models.py +0 -3848
- tencentcloud/solar/v20181011/solar_client.py +0 -417
- tencentcloud/tan/__init__.py +0 -0
- tencentcloud/tan/v20220420/__init__.py +0 -0
- tencentcloud/tan/v20220420/errorcodes.py +0 -81
- tencentcloud/tan/v20220420/models.py +0 -112
- tencentcloud/tan/v20220420/tan_client.py +0 -51
- tencentcloud/tav/__init__.py +0 -0
- tencentcloud/tav/v20190118/__init__.py +0 -0
- tencentcloud/tav/v20190118/errorcodes.py +0 -15
- tencentcloud/tav/v20190118/models.py +0 -550
- tencentcloud/tav/v20190118/tav_client.py +0 -118
- tencentcloud/tbm/__init__.py +0 -0
- tencentcloud/tbm/v20180129/__init__.py +0 -0
- tencentcloud/tbm/v20180129/errorcodes.py +0 -39
- tencentcloud/tbm/v20180129/models.py +0 -2354
- tencentcloud/tbm/v20180129/tbm_client.py +0 -233
- tencentcloud/tcex/__init__.py +0 -0
- tencentcloud/tcex/v20200727/__init__.py +0 -0
- tencentcloud/tcex/v20200727/errorcodes.py +0 -51
- tencentcloud/tcex/v20200727/models.py +0 -374
- tencentcloud/tcex/v20200727/tcex_client.py +0 -76
- tencentcloud/tci/__init__.py +0 -0
- tencentcloud/tci/v20190318/__init__.py +0 -0
- tencentcloud/tci/v20190318/errorcodes.py +0 -237
- tencentcloud/tci/v20190318/models.py +0 -11569
- tencentcloud/tci/v20190318/tci_client.py +0 -1017
- tencentcloud/tic/__init__.py +0 -0
- tencentcloud/tic/v20201117/__init__.py +0 -0
- tencentcloud/tic/v20201117/errorcodes.py +0 -48
- tencentcloud/tic/v20201117/models.py +0 -1952
- tencentcloud/tic/v20201117/tic_client.py +0 -342
- tencentcloud/ticm/__init__.py +0 -0
- tencentcloud/ticm/v20181127/__init__.py +0 -0
- tencentcloud/ticm/v20181127/errorcodes.py +0 -36
- tencentcloud/ticm/v20181127/models.py +0 -3385
- tencentcloud/ticm/v20181127/ticm_client.py +0 -95
- tencentcloud/tics/__init__.py +0 -0
- tencentcloud/tics/v20181115/__init__.py +0 -0
- tencentcloud/tics/v20181115/errorcodes.py +0 -30
- tencentcloud/tics/v20181115/models.py +0 -1324
- tencentcloud/tics/v20181115/tics_client.py +0 -118
- tencentcloud/tiems/__init__.py +0 -0
- tencentcloud/tiems/v20190416/__init__.py +0 -0
- tencentcloud/tiems/v20190416/errorcodes.py +0 -36
- tencentcloud/tiems/v20190416/models.py +0 -6644
- tencentcloud/tiems/v20190416/tiems_client.py +0 -651
- tencentcloud/trdp/__init__.py +0 -0
- tencentcloud/trdp/v20220726/__init__.py +0 -0
- tencentcloud/trdp/v20220726/errorcodes.py +0 -30
- tencentcloud/trdp/v20220726/models.py +0 -1609
- tencentcloud/trdp/v20220726/trdp_client.py +0 -49
- tencentcloud/ump/__init__.py +0 -0
- tencentcloud/ump/v20200918/__init__.py +0 -0
- tencentcloud/ump/v20200918/errorcodes.py +0 -57
- tencentcloud/ump/v20200918/models.py +0 -4089
- tencentcloud/ump/v20200918/ump_client.py +0 -454
- tencentcloud/youmall/__init__.py +0 -0
- tencentcloud/youmall/v20180228/__init__.py +0 -0
- tencentcloud/youmall/v20180228/errorcodes.py +0 -93
- tencentcloud/youmall/v20180228/models.py +0 -8181
- tencentcloud/youmall/v20180228/youmall_client.py +0 -740
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1419.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/top_level.txt +0 -0
@@ -1,346 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2025 Tencent. 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 DescribeNewUserAcquisitionRequest(AbstractModel):
|
22
|
-
"""DescribeNewUserAcquisition请求参数结构体
|
23
|
-
|
24
|
-
"""
|
25
|
-
|
26
|
-
def __init__(self):
|
27
|
-
r"""
|
28
|
-
:param _ServiceParams: 用户信息
|
29
|
-
:type ServiceParams: :class:`tencentcloud.pds.v20210701.models.UserInfos`
|
30
|
-
"""
|
31
|
-
self._ServiceParams = None
|
32
|
-
|
33
|
-
@property
|
34
|
-
def ServiceParams(self):
|
35
|
-
"""用户信息
|
36
|
-
:rtype: :class:`tencentcloud.pds.v20210701.models.UserInfos`
|
37
|
-
"""
|
38
|
-
return self._ServiceParams
|
39
|
-
|
40
|
-
@ServiceParams.setter
|
41
|
-
def ServiceParams(self, ServiceParams):
|
42
|
-
self._ServiceParams = ServiceParams
|
43
|
-
|
44
|
-
|
45
|
-
def _deserialize(self, params):
|
46
|
-
if params.get("ServiceParams") is not None:
|
47
|
-
self._ServiceParams = UserInfos()
|
48
|
-
self._ServiceParams._deserialize(params.get("ServiceParams"))
|
49
|
-
memeber_set = set(params.keys())
|
50
|
-
for name, value in vars(self).items():
|
51
|
-
property_name = name[1:]
|
52
|
-
if property_name in memeber_set:
|
53
|
-
memeber_set.remove(property_name)
|
54
|
-
if len(memeber_set) > 0:
|
55
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
class DescribeNewUserAcquisitionResponse(AbstractModel):
|
60
|
-
"""DescribeNewUserAcquisition返回参数结构体
|
61
|
-
|
62
|
-
"""
|
63
|
-
|
64
|
-
def __init__(self):
|
65
|
-
r"""
|
66
|
-
:param _ServiceRsp: 用户信誉分,1-5从低到高
|
67
|
-
:type ServiceRsp: :class:`tencentcloud.pds.v20210701.models.Score`
|
68
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
69
|
-
:type RequestId: str
|
70
|
-
"""
|
71
|
-
self._ServiceRsp = None
|
72
|
-
self._RequestId = None
|
73
|
-
|
74
|
-
@property
|
75
|
-
def ServiceRsp(self):
|
76
|
-
"""用户信誉分,1-5从低到高
|
77
|
-
:rtype: :class:`tencentcloud.pds.v20210701.models.Score`
|
78
|
-
"""
|
79
|
-
return self._ServiceRsp
|
80
|
-
|
81
|
-
@ServiceRsp.setter
|
82
|
-
def ServiceRsp(self, ServiceRsp):
|
83
|
-
self._ServiceRsp = ServiceRsp
|
84
|
-
|
85
|
-
@property
|
86
|
-
def RequestId(self):
|
87
|
-
"""唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
88
|
-
:rtype: str
|
89
|
-
"""
|
90
|
-
return self._RequestId
|
91
|
-
|
92
|
-
@RequestId.setter
|
93
|
-
def RequestId(self, RequestId):
|
94
|
-
self._RequestId = RequestId
|
95
|
-
|
96
|
-
|
97
|
-
def _deserialize(self, params):
|
98
|
-
if params.get("ServiceRsp") is not None:
|
99
|
-
self._ServiceRsp = Score()
|
100
|
-
self._ServiceRsp._deserialize(params.get("ServiceRsp"))
|
101
|
-
self._RequestId = params.get("RequestId")
|
102
|
-
|
103
|
-
|
104
|
-
class DescribeStockEstimationRequest(AbstractModel):
|
105
|
-
"""DescribeStockEstimation请求参数结构体
|
106
|
-
|
107
|
-
"""
|
108
|
-
|
109
|
-
def __init__(self):
|
110
|
-
r"""
|
111
|
-
:param _ServiceParams: 用户信息
|
112
|
-
:type ServiceParams: :class:`tencentcloud.pds.v20210701.models.UserInfos`
|
113
|
-
"""
|
114
|
-
self._ServiceParams = None
|
115
|
-
|
116
|
-
@property
|
117
|
-
def ServiceParams(self):
|
118
|
-
"""用户信息
|
119
|
-
:rtype: :class:`tencentcloud.pds.v20210701.models.UserInfos`
|
120
|
-
"""
|
121
|
-
return self._ServiceParams
|
122
|
-
|
123
|
-
@ServiceParams.setter
|
124
|
-
def ServiceParams(self, ServiceParams):
|
125
|
-
self._ServiceParams = ServiceParams
|
126
|
-
|
127
|
-
|
128
|
-
def _deserialize(self, params):
|
129
|
-
if params.get("ServiceParams") is not None:
|
130
|
-
self._ServiceParams = UserInfos()
|
131
|
-
self._ServiceParams._deserialize(params.get("ServiceParams"))
|
132
|
-
memeber_set = set(params.keys())
|
133
|
-
for name, value in vars(self).items():
|
134
|
-
property_name = name[1:]
|
135
|
-
if property_name in memeber_set:
|
136
|
-
memeber_set.remove(property_name)
|
137
|
-
if len(memeber_set) > 0:
|
138
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
class DescribeStockEstimationResponse(AbstractModel):
|
143
|
-
"""DescribeStockEstimation返回参数结构体
|
144
|
-
|
145
|
-
"""
|
146
|
-
|
147
|
-
def __init__(self):
|
148
|
-
r"""
|
149
|
-
:param _ServiceRsp: 用户信誉分,1-5从低到高
|
150
|
-
:type ServiceRsp: :class:`tencentcloud.pds.v20210701.models.Score`
|
151
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
152
|
-
:type RequestId: str
|
153
|
-
"""
|
154
|
-
self._ServiceRsp = None
|
155
|
-
self._RequestId = None
|
156
|
-
|
157
|
-
@property
|
158
|
-
def ServiceRsp(self):
|
159
|
-
"""用户信誉分,1-5从低到高
|
160
|
-
:rtype: :class:`tencentcloud.pds.v20210701.models.Score`
|
161
|
-
"""
|
162
|
-
return self._ServiceRsp
|
163
|
-
|
164
|
-
@ServiceRsp.setter
|
165
|
-
def ServiceRsp(self, ServiceRsp):
|
166
|
-
self._ServiceRsp = ServiceRsp
|
167
|
-
|
168
|
-
@property
|
169
|
-
def RequestId(self):
|
170
|
-
"""唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
171
|
-
:rtype: str
|
172
|
-
"""
|
173
|
-
return self._RequestId
|
174
|
-
|
175
|
-
@RequestId.setter
|
176
|
-
def RequestId(self, RequestId):
|
177
|
-
self._RequestId = RequestId
|
178
|
-
|
179
|
-
|
180
|
-
def _deserialize(self, params):
|
181
|
-
if params.get("ServiceRsp") is not None:
|
182
|
-
self._ServiceRsp = Score()
|
183
|
-
self._ServiceRsp._deserialize(params.get("ServiceRsp"))
|
184
|
-
self._RequestId = params.get("RequestId")
|
185
|
-
|
186
|
-
|
187
|
-
class Score(AbstractModel):
|
188
|
-
"""信誉分,1-5从低到高
|
189
|
-
|
190
|
-
"""
|
191
|
-
|
192
|
-
def __init__(self):
|
193
|
-
r"""
|
194
|
-
:param _Star: 信誉分,1-5从低到高
|
195
|
-
:type Star: int
|
196
|
-
"""
|
197
|
-
self._Star = None
|
198
|
-
|
199
|
-
@property
|
200
|
-
def Star(self):
|
201
|
-
"""信誉分,1-5从低到高
|
202
|
-
:rtype: int
|
203
|
-
"""
|
204
|
-
return self._Star
|
205
|
-
|
206
|
-
@Star.setter
|
207
|
-
def Star(self, Star):
|
208
|
-
self._Star = Star
|
209
|
-
|
210
|
-
|
211
|
-
def _deserialize(self, params):
|
212
|
-
self._Star = params.get("Star")
|
213
|
-
memeber_set = set(params.keys())
|
214
|
-
for name, value in vars(self).items():
|
215
|
-
property_name = name[1:]
|
216
|
-
if property_name in memeber_set:
|
217
|
-
memeber_set.remove(property_name)
|
218
|
-
if len(memeber_set) > 0:
|
219
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
class UserInfos(AbstractModel):
|
224
|
-
"""用户信息
|
225
|
-
|
226
|
-
"""
|
227
|
-
|
228
|
-
def __init__(self):
|
229
|
-
r"""
|
230
|
-
:param _PhoneNum: 用户的手机号
|
231
|
-
:type PhoneNum: str
|
232
|
-
:param _Openid: 用户的微信OpenID
|
233
|
-
:type Openid: str
|
234
|
-
:param _IP: 用户移动设备的客户端IP
|
235
|
-
:type IP: str
|
236
|
-
:param _WiFiBssid: 用户WiFi的BSSID
|
237
|
-
:type WiFiBssid: str
|
238
|
-
:param _IMEI: 用户Android设备的IMEI
|
239
|
-
:type IMEI: str
|
240
|
-
:param _OAID: 用户Android设备的OAID
|
241
|
-
:type OAID: str
|
242
|
-
:param _IDFA: 用户iOS设备的IDFA
|
243
|
-
:type IDFA: str
|
244
|
-
"""
|
245
|
-
self._PhoneNum = None
|
246
|
-
self._Openid = None
|
247
|
-
self._IP = None
|
248
|
-
self._WiFiBssid = None
|
249
|
-
self._IMEI = None
|
250
|
-
self._OAID = None
|
251
|
-
self._IDFA = None
|
252
|
-
|
253
|
-
@property
|
254
|
-
def PhoneNum(self):
|
255
|
-
"""用户的手机号
|
256
|
-
:rtype: str
|
257
|
-
"""
|
258
|
-
return self._PhoneNum
|
259
|
-
|
260
|
-
@PhoneNum.setter
|
261
|
-
def PhoneNum(self, PhoneNum):
|
262
|
-
self._PhoneNum = PhoneNum
|
263
|
-
|
264
|
-
@property
|
265
|
-
def Openid(self):
|
266
|
-
"""用户的微信OpenID
|
267
|
-
:rtype: str
|
268
|
-
"""
|
269
|
-
return self._Openid
|
270
|
-
|
271
|
-
@Openid.setter
|
272
|
-
def Openid(self, Openid):
|
273
|
-
self._Openid = Openid
|
274
|
-
|
275
|
-
@property
|
276
|
-
def IP(self):
|
277
|
-
"""用户移动设备的客户端IP
|
278
|
-
:rtype: str
|
279
|
-
"""
|
280
|
-
return self._IP
|
281
|
-
|
282
|
-
@IP.setter
|
283
|
-
def IP(self, IP):
|
284
|
-
self._IP = IP
|
285
|
-
|
286
|
-
@property
|
287
|
-
def WiFiBssid(self):
|
288
|
-
"""用户WiFi的BSSID
|
289
|
-
:rtype: str
|
290
|
-
"""
|
291
|
-
return self._WiFiBssid
|
292
|
-
|
293
|
-
@WiFiBssid.setter
|
294
|
-
def WiFiBssid(self, WiFiBssid):
|
295
|
-
self._WiFiBssid = WiFiBssid
|
296
|
-
|
297
|
-
@property
|
298
|
-
def IMEI(self):
|
299
|
-
"""用户Android设备的IMEI
|
300
|
-
:rtype: str
|
301
|
-
"""
|
302
|
-
return self._IMEI
|
303
|
-
|
304
|
-
@IMEI.setter
|
305
|
-
def IMEI(self, IMEI):
|
306
|
-
self._IMEI = IMEI
|
307
|
-
|
308
|
-
@property
|
309
|
-
def OAID(self):
|
310
|
-
"""用户Android设备的OAID
|
311
|
-
:rtype: str
|
312
|
-
"""
|
313
|
-
return self._OAID
|
314
|
-
|
315
|
-
@OAID.setter
|
316
|
-
def OAID(self, OAID):
|
317
|
-
self._OAID = OAID
|
318
|
-
|
319
|
-
@property
|
320
|
-
def IDFA(self):
|
321
|
-
"""用户iOS设备的IDFA
|
322
|
-
:rtype: str
|
323
|
-
"""
|
324
|
-
return self._IDFA
|
325
|
-
|
326
|
-
@IDFA.setter
|
327
|
-
def IDFA(self, IDFA):
|
328
|
-
self._IDFA = IDFA
|
329
|
-
|
330
|
-
|
331
|
-
def _deserialize(self, params):
|
332
|
-
self._PhoneNum = params.get("PhoneNum")
|
333
|
-
self._Openid = params.get("Openid")
|
334
|
-
self._IP = params.get("IP")
|
335
|
-
self._WiFiBssid = params.get("WiFiBssid")
|
336
|
-
self._IMEI = params.get("IMEI")
|
337
|
-
self._OAID = params.get("OAID")
|
338
|
-
self._IDFA = params.get("IDFA")
|
339
|
-
memeber_set = set(params.keys())
|
340
|
-
for name, value in vars(self).items():
|
341
|
-
property_name = name[1:]
|
342
|
-
if property_name in memeber_set:
|
343
|
-
memeber_set.remove(property_name)
|
344
|
-
if len(memeber_set) > 0:
|
345
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
346
|
-
|
@@ -1,72 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2025 Tencent. 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 json
|
17
|
-
|
18
|
-
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
-
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
-
from tencentcloud.pds.v20210701 import models
|
21
|
-
|
22
|
-
|
23
|
-
class PdsClient(AbstractClient):
|
24
|
-
_apiVersion = '2021-07-01'
|
25
|
-
_endpoint = 'pds.tencentcloudapi.com'
|
26
|
-
_service = 'pds'
|
27
|
-
|
28
|
-
|
29
|
-
def DescribeNewUserAcquisition(self, request):
|
30
|
-
"""判断新用户信誉值
|
31
|
-
|
32
|
-
:param request: Request instance for DescribeNewUserAcquisition.
|
33
|
-
:type request: :class:`tencentcloud.pds.v20210701.models.DescribeNewUserAcquisitionRequest`
|
34
|
-
:rtype: :class:`tencentcloud.pds.v20210701.models.DescribeNewUserAcquisitionResponse`
|
35
|
-
|
36
|
-
"""
|
37
|
-
try:
|
38
|
-
params = request._serialize()
|
39
|
-
headers = request.headers
|
40
|
-
body = self.call("DescribeNewUserAcquisition", params, headers=headers)
|
41
|
-
response = json.loads(body)
|
42
|
-
model = models.DescribeNewUserAcquisitionResponse()
|
43
|
-
model._deserialize(response["Response"])
|
44
|
-
return model
|
45
|
-
except Exception as e:
|
46
|
-
if isinstance(e, TencentCloudSDKException):
|
47
|
-
raise
|
48
|
-
else:
|
49
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
-
|
51
|
-
|
52
|
-
def DescribeStockEstimation(self, request):
|
53
|
-
"""查询存量判断服务
|
54
|
-
|
55
|
-
:param request: Request instance for DescribeStockEstimation.
|
56
|
-
:type request: :class:`tencentcloud.pds.v20210701.models.DescribeStockEstimationRequest`
|
57
|
-
:rtype: :class:`tencentcloud.pds.v20210701.models.DescribeStockEstimationResponse`
|
58
|
-
|
59
|
-
"""
|
60
|
-
try:
|
61
|
-
params = request._serialize()
|
62
|
-
headers = request.headers
|
63
|
-
body = self.call("DescribeStockEstimation", params, headers=headers)
|
64
|
-
response = json.loads(body)
|
65
|
-
model = models.DescribeStockEstimationResponse()
|
66
|
-
model._deserialize(response["Response"])
|
67
|
-
return model
|
68
|
-
except Exception as e:
|
69
|
-
if isinstance(e, TencentCloudSDKException):
|
70
|
-
raise
|
71
|
-
else:
|
72
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
tencentcloud/smpn/__init__.py
DELETED
File without changes
|
File without changes
|
@@ -1,27 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2025 Tencent. 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
|
-
|
17
|
-
# 内部请求超时。
|
18
|
-
INTERNALERROR_TIMEOUT = 'InternalError.Timeout'
|
19
|
-
|
20
|
-
# 号码格式错误。
|
21
|
-
INVALIDPARAMETER_PHONENUMBER = 'InvalidParameter.PhoneNumber'
|
22
|
-
|
23
|
-
# 资源不存在。
|
24
|
-
RESOURCENOTFOUND = 'ResourceNotFound'
|
25
|
-
|
26
|
-
# 资源不可用。
|
27
|
-
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|