tencentcloud-sdk-python 3.0.1420__py2.py3-none-any.whl → 3.0.1422__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.
Files changed (166) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +15 -0
  3. tencentcloud/batch/v20170312/models.py +4 -4
  4. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  5. tencentcloud/cdb/v20170320/models.py +8 -8
  6. tencentcloud/cdn/v20180606/models.py +4 -4
  7. tencentcloud/cdwch/v20200915/models.py +17 -2
  8. tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
  9. tencentcloud/cdwdoris/v20211228/models.py +244 -4
  10. tencentcloud/cfg/v20210820/models.py +40 -0
  11. tencentcloud/ckafka/v20190819/ckafka_client.py +0 -23
  12. tencentcloud/ckafka/v20190819/models.py +0 -371
  13. tencentcloud/ctem/v20231128/models.py +30 -0
  14. tencentcloud/cvm/v20170312/models.py +4 -4
  15. tencentcloud/dts/v20211206/models.py +32 -2
  16. tencentcloud/emr/v20190103/models.py +74 -24
  17. tencentcloud/faceid/v20180301/models.py +22 -16
  18. tencentcloud/gs/v20191118/models.py +71 -0
  19. tencentcloud/igtm/v20231024/igtm_client.py +69 -0
  20. tencentcloud/igtm/v20231024/models.py +1202 -198
  21. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
  22. tencentcloud/live/v20180801/live_client.py +69 -0
  23. tencentcloud/live/v20180801/models.py +102 -0
  24. tencentcloud/ocr/v20181119/models.py +4 -18
  25. tencentcloud/ocr/v20181119/ocr_client.py +3 -1
  26. tencentcloud/omics/v20221128/models.py +62 -2
  27. tencentcloud/ses/v20201002/models.py +171 -0
  28. tencentcloud/tcb/v20180608/models.py +64 -10
  29. tencentcloud/tdmq/v20200217/models.py +15 -0
  30. tencentcloud/teo/v20220901/models.py +664 -2
  31. tencentcloud/teo/v20220901/teo_client.py +115 -0
  32. tencentcloud/vrs/v20200824/vrs_client.py +1 -1
  33. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/METADATA +1 -1
  34. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/RECORD +37 -166
  35. tencentcloud/cis/__init__.py +0 -0
  36. tencentcloud/cis/v20180408/__init__.py +0 -0
  37. tencentcloud/cis/v20180408/cis_client.py +0 -187
  38. tencentcloud/cis/v20180408/errorcodes.py +0 -21
  39. tencentcloud/cis/v20180408/models.py +0 -1688
  40. tencentcloud/dataintegration/__init__.py +0 -0
  41. tencentcloud/dataintegration/v20220613/__init__.py +0 -0
  42. tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
  43. tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
  44. tencentcloud/dataintegration/v20220613/models.py +0 -168
  45. tencentcloud/dtf/__init__.py +0 -0
  46. tencentcloud/dtf/v20200506/__init__.py +0 -0
  47. tencentcloud/dtf/v20200506/dtf_client.py +0 -49
  48. tencentcloud/dtf/v20200506/errorcodes.py +0 -21
  49. tencentcloud/dtf/v20200506/models.py +0 -538
  50. tencentcloud/gpm/__init__.py +0 -0
  51. tencentcloud/gpm/v20200820/__init__.py +0 -0
  52. tencentcloud/gpm/v20200820/errorcodes.py +0 -168
  53. tencentcloud/gpm/v20200820/gpm_client.py +0 -476
  54. tencentcloud/gpm/v20200820/models.py +0 -4255
  55. tencentcloud/gse/__init__.py +0 -0
  56. tencentcloud/gse/v20191112/__init__.py +0 -0
  57. tencentcloud/gse/v20191112/errorcodes.py +0 -90
  58. tencentcloud/gse/v20191112/gse_client.py +0 -1993
  59. tencentcloud/gse/v20191112/models.py +0 -15093
  60. tencentcloud/iecp/__init__.py +0 -0
  61. tencentcloud/iecp/v20210914/__init__.py +0 -0
  62. tencentcloud/iecp/v20210914/errorcodes.py +0 -75
  63. tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
  64. tencentcloud/iecp/v20210914/models.py +0 -17466
  65. tencentcloud/iir/__init__.py +0 -0
  66. tencentcloud/iir/v20200417/__init__.py +0 -0
  67. tencentcloud/iir/v20200417/errorcodes.py +0 -48
  68. tencentcloud/iir/v20200417/iir_client.py +0 -53
  69. tencentcloud/iir/v20200417/models.py +0 -451
  70. tencentcloud/iottid/__init__.py +0 -0
  71. tencentcloud/iottid/v20190411/__init__.py +0 -0
  72. tencentcloud/iottid/v20190411/errorcodes.py +0 -54
  73. tencentcloud/iottid/v20190411/iottid_client.py +0 -233
  74. tencentcloud/iottid/v20190411/models.py +0 -1053
  75. tencentcloud/mgobe/__init__.py +0 -0
  76. tencentcloud/mgobe/v20190929/__init__.py +0 -0
  77. tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
  78. tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
  79. tencentcloud/mgobe/v20190929/models.py +0 -97
  80. tencentcloud/mgobe/v20201014/__init__.py +0 -0
  81. tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
  82. tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
  83. tencentcloud/mgobe/v20201014/models.py +0 -1361
  84. tencentcloud/mvj/__init__.py +0 -0
  85. tencentcloud/mvj/v20190926/__init__.py +0 -0
  86. tencentcloud/mvj/v20190926/errorcodes.py +0 -30
  87. tencentcloud/mvj/v20190926/models.py +0 -263
  88. tencentcloud/mvj/v20190926/mvj_client.py +0 -51
  89. tencentcloud/pds/__init__.py +0 -0
  90. tencentcloud/pds/v20210701/__init__.py +0 -0
  91. tencentcloud/pds/v20210701/errorcodes.py +0 -48
  92. tencentcloud/pds/v20210701/models.py +0 -346
  93. tencentcloud/pds/v20210701/pds_client.py +0 -72
  94. tencentcloud/smpn/__init__.py +0 -0
  95. tencentcloud/smpn/v20190822/__init__.py +0 -0
  96. tencentcloud/smpn/v20190822/errorcodes.py +0 -27
  97. tencentcloud/smpn/v20190822/models.py +0 -389
  98. tencentcloud/smpn/v20190822/smpn_client.py +0 -76
  99. tencentcloud/solar/__init__.py +0 -0
  100. tencentcloud/solar/v20181011/__init__.py +0 -0
  101. tencentcloud/solar/v20181011/errorcodes.py +0 -42
  102. tencentcloud/solar/v20181011/models.py +0 -3848
  103. tencentcloud/solar/v20181011/solar_client.py +0 -417
  104. tencentcloud/tan/__init__.py +0 -0
  105. tencentcloud/tan/v20220420/__init__.py +0 -0
  106. tencentcloud/tan/v20220420/errorcodes.py +0 -81
  107. tencentcloud/tan/v20220420/models.py +0 -112
  108. tencentcloud/tan/v20220420/tan_client.py +0 -51
  109. tencentcloud/tav/__init__.py +0 -0
  110. tencentcloud/tav/v20190118/__init__.py +0 -0
  111. tencentcloud/tav/v20190118/errorcodes.py +0 -15
  112. tencentcloud/tav/v20190118/models.py +0 -550
  113. tencentcloud/tav/v20190118/tav_client.py +0 -118
  114. tencentcloud/tbm/__init__.py +0 -0
  115. tencentcloud/tbm/v20180129/__init__.py +0 -0
  116. tencentcloud/tbm/v20180129/errorcodes.py +0 -39
  117. tencentcloud/tbm/v20180129/models.py +0 -2354
  118. tencentcloud/tbm/v20180129/tbm_client.py +0 -233
  119. tencentcloud/tcex/__init__.py +0 -0
  120. tencentcloud/tcex/v20200727/__init__.py +0 -0
  121. tencentcloud/tcex/v20200727/errorcodes.py +0 -51
  122. tencentcloud/tcex/v20200727/models.py +0 -374
  123. tencentcloud/tcex/v20200727/tcex_client.py +0 -76
  124. tencentcloud/tci/__init__.py +0 -0
  125. tencentcloud/tci/v20190318/__init__.py +0 -0
  126. tencentcloud/tci/v20190318/errorcodes.py +0 -237
  127. tencentcloud/tci/v20190318/models.py +0 -11569
  128. tencentcloud/tci/v20190318/tci_client.py +0 -1017
  129. tencentcloud/tic/__init__.py +0 -0
  130. tencentcloud/tic/v20201117/__init__.py +0 -0
  131. tencentcloud/tic/v20201117/errorcodes.py +0 -48
  132. tencentcloud/tic/v20201117/models.py +0 -1952
  133. tencentcloud/tic/v20201117/tic_client.py +0 -342
  134. tencentcloud/ticm/__init__.py +0 -0
  135. tencentcloud/ticm/v20181127/__init__.py +0 -0
  136. tencentcloud/ticm/v20181127/errorcodes.py +0 -36
  137. tencentcloud/ticm/v20181127/models.py +0 -3385
  138. tencentcloud/ticm/v20181127/ticm_client.py +0 -95
  139. tencentcloud/tics/__init__.py +0 -0
  140. tencentcloud/tics/v20181115/__init__.py +0 -0
  141. tencentcloud/tics/v20181115/errorcodes.py +0 -30
  142. tencentcloud/tics/v20181115/models.py +0 -1324
  143. tencentcloud/tics/v20181115/tics_client.py +0 -118
  144. tencentcloud/tiems/__init__.py +0 -0
  145. tencentcloud/tiems/v20190416/__init__.py +0 -0
  146. tencentcloud/tiems/v20190416/errorcodes.py +0 -36
  147. tencentcloud/tiems/v20190416/models.py +0 -6644
  148. tencentcloud/tiems/v20190416/tiems_client.py +0 -651
  149. tencentcloud/trdp/__init__.py +0 -0
  150. tencentcloud/trdp/v20220726/__init__.py +0 -0
  151. tencentcloud/trdp/v20220726/errorcodes.py +0 -30
  152. tencentcloud/trdp/v20220726/models.py +0 -1609
  153. tencentcloud/trdp/v20220726/trdp_client.py +0 -49
  154. tencentcloud/ump/__init__.py +0 -0
  155. tencentcloud/ump/v20200918/__init__.py +0 -0
  156. tencentcloud/ump/v20200918/errorcodes.py +0 -57
  157. tencentcloud/ump/v20200918/models.py +0 -4089
  158. tencentcloud/ump/v20200918/ump_client.py +0 -454
  159. tencentcloud/youmall/__init__.py +0 -0
  160. tencentcloud/youmall/v20180228/__init__.py +0 -0
  161. tencentcloud/youmall/v20180228/errorcodes.py +0 -93
  162. tencentcloud/youmall/v20180228/models.py +0 -8181
  163. tencentcloud/youmall/v20180228/youmall_client.py +0 -740
  164. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/LICENSE +0 -0
  165. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/WHEEL +0 -0
  166. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1422.dist-info}/top_level.txt +0 -0
@@ -1,2354 +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 AgePortrait(AbstractModel):
22
- """用户年龄画像
23
-
24
- """
25
-
26
- def __init__(self):
27
- r"""
28
- :param _AgeRange: 年龄区间
29
- :type AgeRange: str
30
- :param _Percent: 百分比
31
- :type Percent: float
32
- """
33
- self._AgeRange = None
34
- self._Percent = None
35
-
36
- @property
37
- def AgeRange(self):
38
- """年龄区间
39
- :rtype: str
40
- """
41
- return self._AgeRange
42
-
43
- @AgeRange.setter
44
- def AgeRange(self, AgeRange):
45
- self._AgeRange = AgeRange
46
-
47
- @property
48
- def Percent(self):
49
- """百分比
50
- :rtype: float
51
- """
52
- return self._Percent
53
-
54
- @Percent.setter
55
- def Percent(self, Percent):
56
- self._Percent = Percent
57
-
58
-
59
- def _deserialize(self, params):
60
- self._AgeRange = params.get("AgeRange")
61
- self._Percent = params.get("Percent")
62
- memeber_set = set(params.keys())
63
- for name, value in vars(self).items():
64
- property_name = name[1:]
65
- if property_name in memeber_set:
66
- memeber_set.remove(property_name)
67
- if len(memeber_set) > 0:
68
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
69
-
70
-
71
-
72
- class AgePortraitInfo(AbstractModel):
73
- """用户年龄画像元素数组
74
-
75
- """
76
-
77
- def __init__(self):
78
- r"""
79
- :param _PortraitSet: 用户年龄画像数组
80
- :type PortraitSet: list of AgePortrait
81
- """
82
- self._PortraitSet = None
83
-
84
- @property
85
- def PortraitSet(self):
86
- """用户年龄画像数组
87
- :rtype: list of AgePortrait
88
- """
89
- return self._PortraitSet
90
-
91
- @PortraitSet.setter
92
- def PortraitSet(self, PortraitSet):
93
- self._PortraitSet = PortraitSet
94
-
95
-
96
- def _deserialize(self, params):
97
- if params.get("PortraitSet") is not None:
98
- self._PortraitSet = []
99
- for item in params.get("PortraitSet"):
100
- obj = AgePortrait()
101
- obj._deserialize(item)
102
- self._PortraitSet.append(obj)
103
- memeber_set = set(params.keys())
104
- for name, value in vars(self).items():
105
- property_name = name[1:]
106
- if property_name in memeber_set:
107
- memeber_set.remove(property_name)
108
- if len(memeber_set) > 0:
109
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
110
-
111
-
112
-
113
- class BrandReportArticle(AbstractModel):
114
- """文章信息
115
-
116
- """
117
-
118
- def __init__(self):
119
- r"""
120
- :param _Title: 文章标题
121
- :type Title: str
122
- :param _Url: 文章url地址
123
- :type Url: str
124
- :param _FromSite: 文章来源
125
- :type FromSite: str
126
- :param _PubTime: 文章发表日期
127
- :type PubTime: str
128
- :param _Flag: 文章标识
129
- :type Flag: int
130
- :param _Hot: 文章热度值
131
- :type Hot: int
132
- :param _Level: 文章来源等级
133
- :type Level: int
134
- :param _Abstract: 文章摘要
135
- :type Abstract: str
136
- :param _ArticleId: 文章ID
137
- :type ArticleId: str
138
- """
139
- self._Title = None
140
- self._Url = None
141
- self._FromSite = None
142
- self._PubTime = None
143
- self._Flag = None
144
- self._Hot = None
145
- self._Level = None
146
- self._Abstract = None
147
- self._ArticleId = None
148
-
149
- @property
150
- def Title(self):
151
- """文章标题
152
- :rtype: str
153
- """
154
- return self._Title
155
-
156
- @Title.setter
157
- def Title(self, Title):
158
- self._Title = Title
159
-
160
- @property
161
- def Url(self):
162
- """文章url地址
163
- :rtype: str
164
- """
165
- return self._Url
166
-
167
- @Url.setter
168
- def Url(self, Url):
169
- self._Url = Url
170
-
171
- @property
172
- def FromSite(self):
173
- """文章来源
174
- :rtype: str
175
- """
176
- return self._FromSite
177
-
178
- @FromSite.setter
179
- def FromSite(self, FromSite):
180
- self._FromSite = FromSite
181
-
182
- @property
183
- def PubTime(self):
184
- """文章发表日期
185
- :rtype: str
186
- """
187
- return self._PubTime
188
-
189
- @PubTime.setter
190
- def PubTime(self, PubTime):
191
- self._PubTime = PubTime
192
-
193
- @property
194
- def Flag(self):
195
- """文章标识
196
- :rtype: int
197
- """
198
- return self._Flag
199
-
200
- @Flag.setter
201
- def Flag(self, Flag):
202
- self._Flag = Flag
203
-
204
- @property
205
- def Hot(self):
206
- """文章热度值
207
- :rtype: int
208
- """
209
- return self._Hot
210
-
211
- @Hot.setter
212
- def Hot(self, Hot):
213
- self._Hot = Hot
214
-
215
- @property
216
- def Level(self):
217
- """文章来源等级
218
- :rtype: int
219
- """
220
- return self._Level
221
-
222
- @Level.setter
223
- def Level(self, Level):
224
- self._Level = Level
225
-
226
- @property
227
- def Abstract(self):
228
- """文章摘要
229
- :rtype: str
230
- """
231
- return self._Abstract
232
-
233
- @Abstract.setter
234
- def Abstract(self, Abstract):
235
- self._Abstract = Abstract
236
-
237
- @property
238
- def ArticleId(self):
239
- """文章ID
240
- :rtype: str
241
- """
242
- return self._ArticleId
243
-
244
- @ArticleId.setter
245
- def ArticleId(self, ArticleId):
246
- self._ArticleId = ArticleId
247
-
248
-
249
- def _deserialize(self, params):
250
- self._Title = params.get("Title")
251
- self._Url = params.get("Url")
252
- self._FromSite = params.get("FromSite")
253
- self._PubTime = params.get("PubTime")
254
- self._Flag = params.get("Flag")
255
- self._Hot = params.get("Hot")
256
- self._Level = params.get("Level")
257
- self._Abstract = params.get("Abstract")
258
- self._ArticleId = params.get("ArticleId")
259
- memeber_set = set(params.keys())
260
- for name, value in vars(self).items():
261
- property_name = name[1:]
262
- if property_name in memeber_set:
263
- memeber_set.remove(property_name)
264
- if len(memeber_set) > 0:
265
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
266
-
267
-
268
-
269
- class Comment(AbstractModel):
270
- """用户好评差评个数信息
271
-
272
- """
273
-
274
- def __init__(self):
275
- r"""
276
- :param _Date: 评论的日期
277
- :type Date: str
278
- :param _NegCommentCount: 差评的个数
279
- :type NegCommentCount: int
280
- :param _PosCommentCount: 好评的个数
281
- :type PosCommentCount: int
282
- """
283
- self._Date = None
284
- self._NegCommentCount = None
285
- self._PosCommentCount = None
286
-
287
- @property
288
- def Date(self):
289
- """评论的日期
290
- :rtype: str
291
- """
292
- return self._Date
293
-
294
- @Date.setter
295
- def Date(self, Date):
296
- self._Date = Date
297
-
298
- @property
299
- def NegCommentCount(self):
300
- """差评的个数
301
- :rtype: int
302
- """
303
- return self._NegCommentCount
304
-
305
- @NegCommentCount.setter
306
- def NegCommentCount(self, NegCommentCount):
307
- self._NegCommentCount = NegCommentCount
308
-
309
- @property
310
- def PosCommentCount(self):
311
- """好评的个数
312
- :rtype: int
313
- """
314
- return self._PosCommentCount
315
-
316
- @PosCommentCount.setter
317
- def PosCommentCount(self, PosCommentCount):
318
- self._PosCommentCount = PosCommentCount
319
-
320
-
321
- def _deserialize(self, params):
322
- self._Date = params.get("Date")
323
- self._NegCommentCount = params.get("NegCommentCount")
324
- self._PosCommentCount = params.get("PosCommentCount")
325
- memeber_set = set(params.keys())
326
- for name, value in vars(self).items():
327
- property_name = name[1:]
328
- if property_name in memeber_set:
329
- memeber_set.remove(property_name)
330
- if len(memeber_set) > 0:
331
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
332
-
333
-
334
-
335
- class CommentInfo(AbstractModel):
336
- """用户评论内容类型
337
-
338
- """
339
-
340
- def __init__(self):
341
- r"""
342
- :param _Comment: 用户评论内容
343
- :type Comment: str
344
- :param _Date: 评论的时间
345
- :type Date: str
346
- """
347
- self._Comment = None
348
- self._Date = None
349
-
350
- @property
351
- def Comment(self):
352
- """用户评论内容
353
- :rtype: str
354
- """
355
- return self._Comment
356
-
357
- @Comment.setter
358
- def Comment(self, Comment):
359
- self._Comment = Comment
360
-
361
- @property
362
- def Date(self):
363
- """评论的时间
364
- :rtype: str
365
- """
366
- return self._Date
367
-
368
- @Date.setter
369
- def Date(self, Date):
370
- self._Date = Date
371
-
372
-
373
- def _deserialize(self, params):
374
- self._Comment = params.get("Comment")
375
- self._Date = params.get("Date")
376
- memeber_set = set(params.keys())
377
- for name, value in vars(self).items():
378
- property_name = name[1:]
379
- if property_name in memeber_set:
380
- memeber_set.remove(property_name)
381
- if len(memeber_set) > 0:
382
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
383
-
384
-
385
-
386
- class DateCount(AbstractModel):
387
- """按日期的统计数据
388
-
389
- """
390
-
391
- def __init__(self):
392
- r"""
393
- :param _Date: 统计日期
394
- :type Date: str
395
- :param _Count: 统计值
396
- :type Count: int
397
- """
398
- self._Date = None
399
- self._Count = None
400
-
401
- @property
402
- def Date(self):
403
- """统计日期
404
- :rtype: str
405
- """
406
- return self._Date
407
-
408
- @Date.setter
409
- def Date(self, Date):
410
- self._Date = Date
411
-
412
- @property
413
- def Count(self):
414
- """统计值
415
- :rtype: int
416
- """
417
- return self._Count
418
-
419
- @Count.setter
420
- def Count(self, Count):
421
- self._Count = Count
422
-
423
-
424
- def _deserialize(self, params):
425
- self._Date = params.get("Date")
426
- self._Count = params.get("Count")
427
- memeber_set = set(params.keys())
428
- for name, value in vars(self).items():
429
- property_name = name[1:]
430
- if property_name in memeber_set:
431
- memeber_set.remove(property_name)
432
- if len(memeber_set) > 0:
433
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
434
-
435
-
436
-
437
- class DescribeBrandCommentCountRequest(AbstractModel):
438
- """DescribeBrandCommentCount请求参数结构体
439
-
440
- """
441
-
442
- def __init__(self):
443
- r"""
444
- :param _BrandId: 品牌ID
445
- :type BrandId: str
446
- :param _StartDate: 查询开始日期
447
- :type StartDate: str
448
- :param _EndDate: 查询结束日期
449
- :type EndDate: str
450
- """
451
- self._BrandId = None
452
- self._StartDate = None
453
- self._EndDate = None
454
-
455
- @property
456
- def BrandId(self):
457
- """品牌ID
458
- :rtype: str
459
- """
460
- return self._BrandId
461
-
462
- @BrandId.setter
463
- def BrandId(self, BrandId):
464
- self._BrandId = BrandId
465
-
466
- @property
467
- def StartDate(self):
468
- """查询开始日期
469
- :rtype: str
470
- """
471
- return self._StartDate
472
-
473
- @StartDate.setter
474
- def StartDate(self, StartDate):
475
- self._StartDate = StartDate
476
-
477
- @property
478
- def EndDate(self):
479
- """查询结束日期
480
- :rtype: str
481
- """
482
- return self._EndDate
483
-
484
- @EndDate.setter
485
- def EndDate(self, EndDate):
486
- self._EndDate = EndDate
487
-
488
-
489
- def _deserialize(self, params):
490
- self._BrandId = params.get("BrandId")
491
- self._StartDate = params.get("StartDate")
492
- self._EndDate = params.get("EndDate")
493
- memeber_set = set(params.keys())
494
- for name, value in vars(self).items():
495
- property_name = name[1:]
496
- if property_name in memeber_set:
497
- memeber_set.remove(property_name)
498
- if len(memeber_set) > 0:
499
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
500
-
501
-
502
-
503
- class DescribeBrandCommentCountResponse(AbstractModel):
504
- """DescribeBrandCommentCount返回参数结构体
505
-
506
- """
507
-
508
- def __init__(self):
509
- r"""
510
- :param _CommentSet: 按天统计好评/差评数
511
- :type CommentSet: list of Comment
512
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
513
- :type RequestId: str
514
- """
515
- self._CommentSet = None
516
- self._RequestId = None
517
-
518
- @property
519
- def CommentSet(self):
520
- """按天统计好评/差评数
521
- :rtype: list of Comment
522
- """
523
- return self._CommentSet
524
-
525
- @CommentSet.setter
526
- def CommentSet(self, CommentSet):
527
- self._CommentSet = CommentSet
528
-
529
- @property
530
- def RequestId(self):
531
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
532
- :rtype: str
533
- """
534
- return self._RequestId
535
-
536
- @RequestId.setter
537
- def RequestId(self, RequestId):
538
- self._RequestId = RequestId
539
-
540
-
541
- def _deserialize(self, params):
542
- if params.get("CommentSet") is not None:
543
- self._CommentSet = []
544
- for item in params.get("CommentSet"):
545
- obj = Comment()
546
- obj._deserialize(item)
547
- self._CommentSet.append(obj)
548
- self._RequestId = params.get("RequestId")
549
-
550
-
551
- class DescribeBrandExposureRequest(AbstractModel):
552
- """DescribeBrandExposure请求参数结构体
553
-
554
- """
555
-
556
- def __init__(self):
557
- r"""
558
- :param _BrandId: 品牌ID
559
- :type BrandId: str
560
- :param _StartDate: 查询开始时间
561
- :type StartDate: str
562
- :param _EndDate: 查询结束时间
563
- :type EndDate: str
564
- """
565
- self._BrandId = None
566
- self._StartDate = None
567
- self._EndDate = None
568
-
569
- @property
570
- def BrandId(self):
571
- """品牌ID
572
- :rtype: str
573
- """
574
- return self._BrandId
575
-
576
- @BrandId.setter
577
- def BrandId(self, BrandId):
578
- self._BrandId = BrandId
579
-
580
- @property
581
- def StartDate(self):
582
- """查询开始时间
583
- :rtype: str
584
- """
585
- return self._StartDate
586
-
587
- @StartDate.setter
588
- def StartDate(self, StartDate):
589
- self._StartDate = StartDate
590
-
591
- @property
592
- def EndDate(self):
593
- """查询结束时间
594
- :rtype: str
595
- """
596
- return self._EndDate
597
-
598
- @EndDate.setter
599
- def EndDate(self, EndDate):
600
- self._EndDate = EndDate
601
-
602
-
603
- def _deserialize(self, params):
604
- self._BrandId = params.get("BrandId")
605
- self._StartDate = params.get("StartDate")
606
- self._EndDate = params.get("EndDate")
607
- memeber_set = set(params.keys())
608
- for name, value in vars(self).items():
609
- property_name = name[1:]
610
- if property_name in memeber_set:
611
- memeber_set.remove(property_name)
612
- if len(memeber_set) > 0:
613
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
614
-
615
-
616
-
617
- class DescribeBrandExposureResponse(AbstractModel):
618
- """DescribeBrandExposure返回参数结构体
619
-
620
- """
621
-
622
- def __init__(self):
623
- r"""
624
- :param _TotalCount: 累计曝光量
625
- :type TotalCount: int
626
- :param _DateCountSet: 按天计算的统计数据
627
- :type DateCountSet: list of DateCount
628
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
629
- :type RequestId: str
630
- """
631
- self._TotalCount = None
632
- self._DateCountSet = None
633
- self._RequestId = None
634
-
635
- @property
636
- def TotalCount(self):
637
- """累计曝光量
638
- :rtype: int
639
- """
640
- return self._TotalCount
641
-
642
- @TotalCount.setter
643
- def TotalCount(self, TotalCount):
644
- self._TotalCount = TotalCount
645
-
646
- @property
647
- def DateCountSet(self):
648
- """按天计算的统计数据
649
- :rtype: list of DateCount
650
- """
651
- return self._DateCountSet
652
-
653
- @DateCountSet.setter
654
- def DateCountSet(self, DateCountSet):
655
- self._DateCountSet = DateCountSet
656
-
657
- @property
658
- def RequestId(self):
659
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
660
- :rtype: str
661
- """
662
- return self._RequestId
663
-
664
- @RequestId.setter
665
- def RequestId(self, RequestId):
666
- self._RequestId = RequestId
667
-
668
-
669
- def _deserialize(self, params):
670
- self._TotalCount = params.get("TotalCount")
671
- if params.get("DateCountSet") is not None:
672
- self._DateCountSet = []
673
- for item in params.get("DateCountSet"):
674
- obj = DateCount()
675
- obj._deserialize(item)
676
- self._DateCountSet.append(obj)
677
- self._RequestId = params.get("RequestId")
678
-
679
-
680
- class DescribeBrandMediaReportRequest(AbstractModel):
681
- """DescribeBrandMediaReport请求参数结构体
682
-
683
- """
684
-
685
- def __init__(self):
686
- r"""
687
- :param _BrandId: 品牌ID
688
- :type BrandId: str
689
- :param _StartDate: 查询开始时间
690
- :type StartDate: str
691
- :param _EndDate: 查询结束时间
692
- :type EndDate: str
693
- """
694
- self._BrandId = None
695
- self._StartDate = None
696
- self._EndDate = None
697
-
698
- @property
699
- def BrandId(self):
700
- """品牌ID
701
- :rtype: str
702
- """
703
- return self._BrandId
704
-
705
- @BrandId.setter
706
- def BrandId(self, BrandId):
707
- self._BrandId = BrandId
708
-
709
- @property
710
- def StartDate(self):
711
- """查询开始时间
712
- :rtype: str
713
- """
714
- return self._StartDate
715
-
716
- @StartDate.setter
717
- def StartDate(self, StartDate):
718
- self._StartDate = StartDate
719
-
720
- @property
721
- def EndDate(self):
722
- """查询结束时间
723
- :rtype: str
724
- """
725
- return self._EndDate
726
-
727
- @EndDate.setter
728
- def EndDate(self, EndDate):
729
- self._EndDate = EndDate
730
-
731
-
732
- def _deserialize(self, params):
733
- self._BrandId = params.get("BrandId")
734
- self._StartDate = params.get("StartDate")
735
- self._EndDate = params.get("EndDate")
736
- memeber_set = set(params.keys())
737
- for name, value in vars(self).items():
738
- property_name = name[1:]
739
- if property_name in memeber_set:
740
- memeber_set.remove(property_name)
741
- if len(memeber_set) > 0:
742
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
743
-
744
-
745
-
746
- class DescribeBrandMediaReportResponse(AbstractModel):
747
- """DescribeBrandMediaReport返回参数结构体
748
-
749
- """
750
-
751
- def __init__(self):
752
- r"""
753
- :param _TotalCount: 查询范围内文章总数
754
- :type TotalCount: int
755
- :param _DateCountSet: 按天计算的每天文章数
756
- :type DateCountSet: list of DateCount
757
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
758
- :type RequestId: str
759
- """
760
- self._TotalCount = None
761
- self._DateCountSet = None
762
- self._RequestId = None
763
-
764
- @property
765
- def TotalCount(self):
766
- """查询范围内文章总数
767
- :rtype: int
768
- """
769
- return self._TotalCount
770
-
771
- @TotalCount.setter
772
- def TotalCount(self, TotalCount):
773
- self._TotalCount = TotalCount
774
-
775
- @property
776
- def DateCountSet(self):
777
- """按天计算的每天文章数
778
- :rtype: list of DateCount
779
- """
780
- return self._DateCountSet
781
-
782
- @DateCountSet.setter
783
- def DateCountSet(self, DateCountSet):
784
- self._DateCountSet = DateCountSet
785
-
786
- @property
787
- def RequestId(self):
788
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
789
- :rtype: str
790
- """
791
- return self._RequestId
792
-
793
- @RequestId.setter
794
- def RequestId(self, RequestId):
795
- self._RequestId = RequestId
796
-
797
-
798
- def _deserialize(self, params):
799
- self._TotalCount = params.get("TotalCount")
800
- if params.get("DateCountSet") is not None:
801
- self._DateCountSet = []
802
- for item in params.get("DateCountSet"):
803
- obj = DateCount()
804
- obj._deserialize(item)
805
- self._DateCountSet.append(obj)
806
- self._RequestId = params.get("RequestId")
807
-
808
-
809
- class DescribeBrandNegCommentsRequest(AbstractModel):
810
- """DescribeBrandNegComments请求参数结构体
811
-
812
- """
813
-
814
- def __init__(self):
815
- r"""
816
- :param _BrandId: 品牌ID
817
- :type BrandId: str
818
- :param _StartDate: 查询开始时间
819
- :type StartDate: str
820
- :param _EndDate: 查询结束时间
821
- :type EndDate: str
822
- :param _Limit: 查询条数上限,默认20
823
- :type Limit: int
824
- :param _Offset: 查询偏移,默认从0开始
825
- :type Offset: int
826
- """
827
- self._BrandId = None
828
- self._StartDate = None
829
- self._EndDate = None
830
- self._Limit = None
831
- self._Offset = None
832
-
833
- @property
834
- def BrandId(self):
835
- """品牌ID
836
- :rtype: str
837
- """
838
- return self._BrandId
839
-
840
- @BrandId.setter
841
- def BrandId(self, BrandId):
842
- self._BrandId = BrandId
843
-
844
- @property
845
- def StartDate(self):
846
- """查询开始时间
847
- :rtype: str
848
- """
849
- return self._StartDate
850
-
851
- @StartDate.setter
852
- def StartDate(self, StartDate):
853
- self._StartDate = StartDate
854
-
855
- @property
856
- def EndDate(self):
857
- """查询结束时间
858
- :rtype: str
859
- """
860
- return self._EndDate
861
-
862
- @EndDate.setter
863
- def EndDate(self, EndDate):
864
- self._EndDate = EndDate
865
-
866
- @property
867
- def Limit(self):
868
- """查询条数上限,默认20
869
- :rtype: int
870
- """
871
- return self._Limit
872
-
873
- @Limit.setter
874
- def Limit(self, Limit):
875
- self._Limit = Limit
876
-
877
- @property
878
- def Offset(self):
879
- """查询偏移,默认从0开始
880
- :rtype: int
881
- """
882
- return self._Offset
883
-
884
- @Offset.setter
885
- def Offset(self, Offset):
886
- self._Offset = Offset
887
-
888
-
889
- def _deserialize(self, params):
890
- self._BrandId = params.get("BrandId")
891
- self._StartDate = params.get("StartDate")
892
- self._EndDate = params.get("EndDate")
893
- self._Limit = params.get("Limit")
894
- self._Offset = params.get("Offset")
895
- memeber_set = set(params.keys())
896
- for name, value in vars(self).items():
897
- property_name = name[1:]
898
- if property_name in memeber_set:
899
- memeber_set.remove(property_name)
900
- if len(memeber_set) > 0:
901
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
902
-
903
-
904
-
905
- class DescribeBrandNegCommentsResponse(AbstractModel):
906
- """DescribeBrandNegComments返回参数结构体
907
-
908
- """
909
-
910
- def __init__(self):
911
- r"""
912
- :param _BrandCommentSet: 评论列表
913
- :type BrandCommentSet: list of CommentInfo
914
- :param _TotalComments: 总的差评个数
915
- :type TotalComments: int
916
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
917
- :type RequestId: str
918
- """
919
- self._BrandCommentSet = None
920
- self._TotalComments = None
921
- self._RequestId = None
922
-
923
- @property
924
- def BrandCommentSet(self):
925
- """评论列表
926
- :rtype: list of CommentInfo
927
- """
928
- return self._BrandCommentSet
929
-
930
- @BrandCommentSet.setter
931
- def BrandCommentSet(self, BrandCommentSet):
932
- self._BrandCommentSet = BrandCommentSet
933
-
934
- @property
935
- def TotalComments(self):
936
- """总的差评个数
937
- :rtype: int
938
- """
939
- return self._TotalComments
940
-
941
- @TotalComments.setter
942
- def TotalComments(self, TotalComments):
943
- self._TotalComments = TotalComments
944
-
945
- @property
946
- def RequestId(self):
947
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
948
- :rtype: str
949
- """
950
- return self._RequestId
951
-
952
- @RequestId.setter
953
- def RequestId(self, RequestId):
954
- self._RequestId = RequestId
955
-
956
-
957
- def _deserialize(self, params):
958
- if params.get("BrandCommentSet") is not None:
959
- self._BrandCommentSet = []
960
- for item in params.get("BrandCommentSet"):
961
- obj = CommentInfo()
962
- obj._deserialize(item)
963
- self._BrandCommentSet.append(obj)
964
- self._TotalComments = params.get("TotalComments")
965
- self._RequestId = params.get("RequestId")
966
-
967
-
968
- class DescribeBrandPosCommentsRequest(AbstractModel):
969
- """DescribeBrandPosComments请求参数结构体
970
-
971
- """
972
-
973
- def __init__(self):
974
- r"""
975
- :param _BrandId: 品牌ID
976
- :type BrandId: str
977
- :param _StartDate: 查询开始时间
978
- :type StartDate: str
979
- :param _EndDate: 查询结束时间
980
- :type EndDate: str
981
- :param _Limit: 查询条数上限,默认20
982
- :type Limit: int
983
- :param _Offset: 查询偏移,从0开始
984
- :type Offset: int
985
- """
986
- self._BrandId = None
987
- self._StartDate = None
988
- self._EndDate = None
989
- self._Limit = None
990
- self._Offset = None
991
-
992
- @property
993
- def BrandId(self):
994
- """品牌ID
995
- :rtype: str
996
- """
997
- return self._BrandId
998
-
999
- @BrandId.setter
1000
- def BrandId(self, BrandId):
1001
- self._BrandId = BrandId
1002
-
1003
- @property
1004
- def StartDate(self):
1005
- """查询开始时间
1006
- :rtype: str
1007
- """
1008
- return self._StartDate
1009
-
1010
- @StartDate.setter
1011
- def StartDate(self, StartDate):
1012
- self._StartDate = StartDate
1013
-
1014
- @property
1015
- def EndDate(self):
1016
- """查询结束时间
1017
- :rtype: str
1018
- """
1019
- return self._EndDate
1020
-
1021
- @EndDate.setter
1022
- def EndDate(self, EndDate):
1023
- self._EndDate = EndDate
1024
-
1025
- @property
1026
- def Limit(self):
1027
- """查询条数上限,默认20
1028
- :rtype: int
1029
- """
1030
- return self._Limit
1031
-
1032
- @Limit.setter
1033
- def Limit(self, Limit):
1034
- self._Limit = Limit
1035
-
1036
- @property
1037
- def Offset(self):
1038
- """查询偏移,从0开始
1039
- :rtype: int
1040
- """
1041
- return self._Offset
1042
-
1043
- @Offset.setter
1044
- def Offset(self, Offset):
1045
- self._Offset = Offset
1046
-
1047
-
1048
- def _deserialize(self, params):
1049
- self._BrandId = params.get("BrandId")
1050
- self._StartDate = params.get("StartDate")
1051
- self._EndDate = params.get("EndDate")
1052
- self._Limit = params.get("Limit")
1053
- self._Offset = params.get("Offset")
1054
- memeber_set = set(params.keys())
1055
- for name, value in vars(self).items():
1056
- property_name = name[1:]
1057
- if property_name in memeber_set:
1058
- memeber_set.remove(property_name)
1059
- if len(memeber_set) > 0:
1060
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1061
-
1062
-
1063
-
1064
- class DescribeBrandPosCommentsResponse(AbstractModel):
1065
- """DescribeBrandPosComments返回参数结构体
1066
-
1067
- """
1068
-
1069
- def __init__(self):
1070
- r"""
1071
- :param _BrandCommentSet: 评论列表
1072
- :type BrandCommentSet: list of CommentInfo
1073
- :param _TotalComments: 总的好评个数
1074
- :type TotalComments: int
1075
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1076
- :type RequestId: str
1077
- """
1078
- self._BrandCommentSet = None
1079
- self._TotalComments = None
1080
- self._RequestId = None
1081
-
1082
- @property
1083
- def BrandCommentSet(self):
1084
- """评论列表
1085
- :rtype: list of CommentInfo
1086
- """
1087
- return self._BrandCommentSet
1088
-
1089
- @BrandCommentSet.setter
1090
- def BrandCommentSet(self, BrandCommentSet):
1091
- self._BrandCommentSet = BrandCommentSet
1092
-
1093
- @property
1094
- def TotalComments(self):
1095
- """总的好评个数
1096
- :rtype: int
1097
- """
1098
- return self._TotalComments
1099
-
1100
- @TotalComments.setter
1101
- def TotalComments(self, TotalComments):
1102
- self._TotalComments = TotalComments
1103
-
1104
- @property
1105
- def RequestId(self):
1106
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1107
- :rtype: str
1108
- """
1109
- return self._RequestId
1110
-
1111
- @RequestId.setter
1112
- def RequestId(self, RequestId):
1113
- self._RequestId = RequestId
1114
-
1115
-
1116
- def _deserialize(self, params):
1117
- if params.get("BrandCommentSet") is not None:
1118
- self._BrandCommentSet = []
1119
- for item in params.get("BrandCommentSet"):
1120
- obj = CommentInfo()
1121
- obj._deserialize(item)
1122
- self._BrandCommentSet.append(obj)
1123
- self._TotalComments = params.get("TotalComments")
1124
- self._RequestId = params.get("RequestId")
1125
-
1126
-
1127
- class DescribeBrandSocialOpinionRequest(AbstractModel):
1128
- """DescribeBrandSocialOpinion请求参数结构体
1129
-
1130
- """
1131
-
1132
- def __init__(self):
1133
- r"""
1134
- :param _BrandId: 品牌ID
1135
- :type BrandId: str
1136
- :param _StartDate: 检索开始时间
1137
- :type StartDate: str
1138
- :param _EndDate: 检索结束时间
1139
- :type EndDate: str
1140
- :param _Offset: 查询偏移,默认从0开始
1141
- :type Offset: int
1142
- :param _Limit: 查询条数上限,默认20
1143
- :type Limit: int
1144
- :param _ShowList: 列表显示标记,若为true,则返回文章列表详情
1145
- :type ShowList: bool
1146
- """
1147
- self._BrandId = None
1148
- self._StartDate = None
1149
- self._EndDate = None
1150
- self._Offset = None
1151
- self._Limit = None
1152
- self._ShowList = None
1153
-
1154
- @property
1155
- def BrandId(self):
1156
- """品牌ID
1157
- :rtype: str
1158
- """
1159
- return self._BrandId
1160
-
1161
- @BrandId.setter
1162
- def BrandId(self, BrandId):
1163
- self._BrandId = BrandId
1164
-
1165
- @property
1166
- def StartDate(self):
1167
- """检索开始时间
1168
- :rtype: str
1169
- """
1170
- return self._StartDate
1171
-
1172
- @StartDate.setter
1173
- def StartDate(self, StartDate):
1174
- self._StartDate = StartDate
1175
-
1176
- @property
1177
- def EndDate(self):
1178
- """检索结束时间
1179
- :rtype: str
1180
- """
1181
- return self._EndDate
1182
-
1183
- @EndDate.setter
1184
- def EndDate(self, EndDate):
1185
- self._EndDate = EndDate
1186
-
1187
- @property
1188
- def Offset(self):
1189
- """查询偏移,默认从0开始
1190
- :rtype: int
1191
- """
1192
- return self._Offset
1193
-
1194
- @Offset.setter
1195
- def Offset(self, Offset):
1196
- self._Offset = Offset
1197
-
1198
- @property
1199
- def Limit(self):
1200
- """查询条数上限,默认20
1201
- :rtype: int
1202
- """
1203
- return self._Limit
1204
-
1205
- @Limit.setter
1206
- def Limit(self, Limit):
1207
- self._Limit = Limit
1208
-
1209
- @property
1210
- def ShowList(self):
1211
- """列表显示标记,若为true,则返回文章列表详情
1212
- :rtype: bool
1213
- """
1214
- return self._ShowList
1215
-
1216
- @ShowList.setter
1217
- def ShowList(self, ShowList):
1218
- self._ShowList = ShowList
1219
-
1220
-
1221
- def _deserialize(self, params):
1222
- self._BrandId = params.get("BrandId")
1223
- self._StartDate = params.get("StartDate")
1224
- self._EndDate = params.get("EndDate")
1225
- self._Offset = params.get("Offset")
1226
- self._Limit = params.get("Limit")
1227
- self._ShowList = params.get("ShowList")
1228
- memeber_set = set(params.keys())
1229
- for name, value in vars(self).items():
1230
- property_name = name[1:]
1231
- if property_name in memeber_set:
1232
- memeber_set.remove(property_name)
1233
- if len(memeber_set) > 0:
1234
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1235
-
1236
-
1237
-
1238
- class DescribeBrandSocialOpinionResponse(AbstractModel):
1239
- """DescribeBrandSocialOpinion返回参数结构体
1240
-
1241
- """
1242
-
1243
- def __init__(self):
1244
- r"""
1245
- :param _ArticleCount: 文章总数
1246
- :type ArticleCount: int
1247
- :param _FromCount: 来源统计总数
1248
- :type FromCount: int
1249
- :param _AdverseCount: 疑似负面报道总数
1250
- :type AdverseCount: int
1251
- :param _ArticleSet: 文章列表详情
1252
- :type ArticleSet: list of BrandReportArticle
1253
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1254
- :type RequestId: str
1255
- """
1256
- self._ArticleCount = None
1257
- self._FromCount = None
1258
- self._AdverseCount = None
1259
- self._ArticleSet = None
1260
- self._RequestId = None
1261
-
1262
- @property
1263
- def ArticleCount(self):
1264
- """文章总数
1265
- :rtype: int
1266
- """
1267
- return self._ArticleCount
1268
-
1269
- @ArticleCount.setter
1270
- def ArticleCount(self, ArticleCount):
1271
- self._ArticleCount = ArticleCount
1272
-
1273
- @property
1274
- def FromCount(self):
1275
- """来源统计总数
1276
- :rtype: int
1277
- """
1278
- return self._FromCount
1279
-
1280
- @FromCount.setter
1281
- def FromCount(self, FromCount):
1282
- self._FromCount = FromCount
1283
-
1284
- @property
1285
- def AdverseCount(self):
1286
- """疑似负面报道总数
1287
- :rtype: int
1288
- """
1289
- return self._AdverseCount
1290
-
1291
- @AdverseCount.setter
1292
- def AdverseCount(self, AdverseCount):
1293
- self._AdverseCount = AdverseCount
1294
-
1295
- @property
1296
- def ArticleSet(self):
1297
- """文章列表详情
1298
- :rtype: list of BrandReportArticle
1299
- """
1300
- return self._ArticleSet
1301
-
1302
- @ArticleSet.setter
1303
- def ArticleSet(self, ArticleSet):
1304
- self._ArticleSet = ArticleSet
1305
-
1306
- @property
1307
- def RequestId(self):
1308
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1309
- :rtype: str
1310
- """
1311
- return self._RequestId
1312
-
1313
- @RequestId.setter
1314
- def RequestId(self, RequestId):
1315
- self._RequestId = RequestId
1316
-
1317
-
1318
- def _deserialize(self, params):
1319
- self._ArticleCount = params.get("ArticleCount")
1320
- self._FromCount = params.get("FromCount")
1321
- self._AdverseCount = params.get("AdverseCount")
1322
- if params.get("ArticleSet") is not None:
1323
- self._ArticleSet = []
1324
- for item in params.get("ArticleSet"):
1325
- obj = BrandReportArticle()
1326
- obj._deserialize(item)
1327
- self._ArticleSet.append(obj)
1328
- self._RequestId = params.get("RequestId")
1329
-
1330
-
1331
- class DescribeBrandSocialReportRequest(AbstractModel):
1332
- """DescribeBrandSocialReport请求参数结构体
1333
-
1334
- """
1335
-
1336
- def __init__(self):
1337
- r"""
1338
- :param _BrandId: 品牌ID
1339
- :type BrandId: str
1340
- :param _StartDate: 查询开始时间
1341
- :type StartDate: str
1342
- :param _EndDate: 查询结束时间
1343
- :type EndDate: str
1344
- """
1345
- self._BrandId = None
1346
- self._StartDate = None
1347
- self._EndDate = None
1348
-
1349
- @property
1350
- def BrandId(self):
1351
- """品牌ID
1352
- :rtype: str
1353
- """
1354
- return self._BrandId
1355
-
1356
- @BrandId.setter
1357
- def BrandId(self, BrandId):
1358
- self._BrandId = BrandId
1359
-
1360
- @property
1361
- def StartDate(self):
1362
- """查询开始时间
1363
- :rtype: str
1364
- """
1365
- return self._StartDate
1366
-
1367
- @StartDate.setter
1368
- def StartDate(self, StartDate):
1369
- self._StartDate = StartDate
1370
-
1371
- @property
1372
- def EndDate(self):
1373
- """查询结束时间
1374
- :rtype: str
1375
- """
1376
- return self._EndDate
1377
-
1378
- @EndDate.setter
1379
- def EndDate(self, EndDate):
1380
- self._EndDate = EndDate
1381
-
1382
-
1383
- def _deserialize(self, params):
1384
- self._BrandId = params.get("BrandId")
1385
- self._StartDate = params.get("StartDate")
1386
- self._EndDate = params.get("EndDate")
1387
- memeber_set = set(params.keys())
1388
- for name, value in vars(self).items():
1389
- property_name = name[1:]
1390
- if property_name in memeber_set:
1391
- memeber_set.remove(property_name)
1392
- if len(memeber_set) > 0:
1393
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1394
-
1395
-
1396
-
1397
- class DescribeBrandSocialReportResponse(AbstractModel):
1398
- """DescribeBrandSocialReport返回参数结构体
1399
-
1400
- """
1401
-
1402
- def __init__(self):
1403
- r"""
1404
- :param _TotalCount: 累计统计数据
1405
- :type TotalCount: int
1406
- :param _DateCountSet: 按天计算的统计数据
1407
- :type DateCountSet: list of DateCount
1408
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1409
- :type RequestId: str
1410
- """
1411
- self._TotalCount = None
1412
- self._DateCountSet = None
1413
- self._RequestId = None
1414
-
1415
- @property
1416
- def TotalCount(self):
1417
- """累计统计数据
1418
- :rtype: int
1419
- """
1420
- return self._TotalCount
1421
-
1422
- @TotalCount.setter
1423
- def TotalCount(self, TotalCount):
1424
- self._TotalCount = TotalCount
1425
-
1426
- @property
1427
- def DateCountSet(self):
1428
- """按天计算的统计数据
1429
- :rtype: list of DateCount
1430
- """
1431
- return self._DateCountSet
1432
-
1433
- @DateCountSet.setter
1434
- def DateCountSet(self, DateCountSet):
1435
- self._DateCountSet = DateCountSet
1436
-
1437
- @property
1438
- def RequestId(self):
1439
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1440
- :rtype: str
1441
- """
1442
- return self._RequestId
1443
-
1444
- @RequestId.setter
1445
- def RequestId(self, RequestId):
1446
- self._RequestId = RequestId
1447
-
1448
-
1449
- def _deserialize(self, params):
1450
- self._TotalCount = params.get("TotalCount")
1451
- if params.get("DateCountSet") is not None:
1452
- self._DateCountSet = []
1453
- for item in params.get("DateCountSet"):
1454
- obj = DateCount()
1455
- obj._deserialize(item)
1456
- self._DateCountSet.append(obj)
1457
- self._RequestId = params.get("RequestId")
1458
-
1459
-
1460
- class DescribeIndustryNewsRequest(AbstractModel):
1461
- """DescribeIndustryNews请求参数结构体
1462
-
1463
- """
1464
-
1465
- def __init__(self):
1466
- r"""
1467
- :param _IndustryId: 行业ID
1468
- :type IndustryId: str
1469
- :param _StartDate: 查询开始时间
1470
- :type StartDate: str
1471
- :param _EndDate: 查询结束时间
1472
- :type EndDate: str
1473
- :param _ShowList: 是否显示列表,若为 true,则返回文章列表
1474
- :type ShowList: bool
1475
- :param _Offset: 查询偏移,默认从0开始
1476
- :type Offset: int
1477
- :param _Limit: 查询条数上限,默认20
1478
- :type Limit: int
1479
- """
1480
- self._IndustryId = None
1481
- self._StartDate = None
1482
- self._EndDate = None
1483
- self._ShowList = None
1484
- self._Offset = None
1485
- self._Limit = None
1486
-
1487
- @property
1488
- def IndustryId(self):
1489
- """行业ID
1490
- :rtype: str
1491
- """
1492
- return self._IndustryId
1493
-
1494
- @IndustryId.setter
1495
- def IndustryId(self, IndustryId):
1496
- self._IndustryId = IndustryId
1497
-
1498
- @property
1499
- def StartDate(self):
1500
- """查询开始时间
1501
- :rtype: str
1502
- """
1503
- return self._StartDate
1504
-
1505
- @StartDate.setter
1506
- def StartDate(self, StartDate):
1507
- self._StartDate = StartDate
1508
-
1509
- @property
1510
- def EndDate(self):
1511
- """查询结束时间
1512
- :rtype: str
1513
- """
1514
- return self._EndDate
1515
-
1516
- @EndDate.setter
1517
- def EndDate(self, EndDate):
1518
- self._EndDate = EndDate
1519
-
1520
- @property
1521
- def ShowList(self):
1522
- """是否显示列表,若为 true,则返回文章列表
1523
- :rtype: bool
1524
- """
1525
- return self._ShowList
1526
-
1527
- @ShowList.setter
1528
- def ShowList(self, ShowList):
1529
- self._ShowList = ShowList
1530
-
1531
- @property
1532
- def Offset(self):
1533
- """查询偏移,默认从0开始
1534
- :rtype: int
1535
- """
1536
- return self._Offset
1537
-
1538
- @Offset.setter
1539
- def Offset(self, Offset):
1540
- self._Offset = Offset
1541
-
1542
- @property
1543
- def Limit(self):
1544
- """查询条数上限,默认20
1545
- :rtype: int
1546
- """
1547
- return self._Limit
1548
-
1549
- @Limit.setter
1550
- def Limit(self, Limit):
1551
- self._Limit = Limit
1552
-
1553
-
1554
- def _deserialize(self, params):
1555
- self._IndustryId = params.get("IndustryId")
1556
- self._StartDate = params.get("StartDate")
1557
- self._EndDate = params.get("EndDate")
1558
- self._ShowList = params.get("ShowList")
1559
- self._Offset = params.get("Offset")
1560
- self._Limit = params.get("Limit")
1561
- memeber_set = set(params.keys())
1562
- for name, value in vars(self).items():
1563
- property_name = name[1:]
1564
- if property_name in memeber_set:
1565
- memeber_set.remove(property_name)
1566
- if len(memeber_set) > 0:
1567
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1568
-
1569
-
1570
-
1571
- class DescribeIndustryNewsResponse(AbstractModel):
1572
- """DescribeIndustryNews返回参数结构体
1573
-
1574
- """
1575
-
1576
- def __init__(self):
1577
- r"""
1578
- :param _NewsCount: 总计文章数量
1579
- :type NewsCount: int
1580
- :param _FromCount: 总计来源数量
1581
- :type FromCount: int
1582
- :param _AdverseCount: 总计疑似负面数量
1583
- :type AdverseCount: int
1584
- :param _NewsSet: 文章列表
1585
- :type NewsSet: list of IndustryNews
1586
- :param _DateCountSet: 按天统计的数量列表
1587
- :type DateCountSet: list of DateCount
1588
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1589
- :type RequestId: str
1590
- """
1591
- self._NewsCount = None
1592
- self._FromCount = None
1593
- self._AdverseCount = None
1594
- self._NewsSet = None
1595
- self._DateCountSet = None
1596
- self._RequestId = None
1597
-
1598
- @property
1599
- def NewsCount(self):
1600
- """总计文章数量
1601
- :rtype: int
1602
- """
1603
- return self._NewsCount
1604
-
1605
- @NewsCount.setter
1606
- def NewsCount(self, NewsCount):
1607
- self._NewsCount = NewsCount
1608
-
1609
- @property
1610
- def FromCount(self):
1611
- """总计来源数量
1612
- :rtype: int
1613
- """
1614
- return self._FromCount
1615
-
1616
- @FromCount.setter
1617
- def FromCount(self, FromCount):
1618
- self._FromCount = FromCount
1619
-
1620
- @property
1621
- def AdverseCount(self):
1622
- """总计疑似负面数量
1623
- :rtype: int
1624
- """
1625
- return self._AdverseCount
1626
-
1627
- @AdverseCount.setter
1628
- def AdverseCount(self, AdverseCount):
1629
- self._AdverseCount = AdverseCount
1630
-
1631
- @property
1632
- def NewsSet(self):
1633
- """文章列表
1634
- :rtype: list of IndustryNews
1635
- """
1636
- return self._NewsSet
1637
-
1638
- @NewsSet.setter
1639
- def NewsSet(self, NewsSet):
1640
- self._NewsSet = NewsSet
1641
-
1642
- @property
1643
- def DateCountSet(self):
1644
- """按天统计的数量列表
1645
- :rtype: list of DateCount
1646
- """
1647
- return self._DateCountSet
1648
-
1649
- @DateCountSet.setter
1650
- def DateCountSet(self, DateCountSet):
1651
- self._DateCountSet = DateCountSet
1652
-
1653
- @property
1654
- def RequestId(self):
1655
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1656
- :rtype: str
1657
- """
1658
- return self._RequestId
1659
-
1660
- @RequestId.setter
1661
- def RequestId(self, RequestId):
1662
- self._RequestId = RequestId
1663
-
1664
-
1665
- def _deserialize(self, params):
1666
- self._NewsCount = params.get("NewsCount")
1667
- self._FromCount = params.get("FromCount")
1668
- self._AdverseCount = params.get("AdverseCount")
1669
- if params.get("NewsSet") is not None:
1670
- self._NewsSet = []
1671
- for item in params.get("NewsSet"):
1672
- obj = IndustryNews()
1673
- obj._deserialize(item)
1674
- self._NewsSet.append(obj)
1675
- if params.get("DateCountSet") is not None:
1676
- self._DateCountSet = []
1677
- for item in params.get("DateCountSet"):
1678
- obj = DateCount()
1679
- obj._deserialize(item)
1680
- self._DateCountSet.append(obj)
1681
- self._RequestId = params.get("RequestId")
1682
-
1683
-
1684
- class DescribeUserPortraitRequest(AbstractModel):
1685
- """DescribeUserPortrait请求参数结构体
1686
-
1687
- """
1688
-
1689
- def __init__(self):
1690
- r"""
1691
- :param _BrandId: 品牌ID
1692
- :type BrandId: str
1693
- """
1694
- self._BrandId = None
1695
-
1696
- @property
1697
- def BrandId(self):
1698
- """品牌ID
1699
- :rtype: str
1700
- """
1701
- return self._BrandId
1702
-
1703
- @BrandId.setter
1704
- def BrandId(self, BrandId):
1705
- self._BrandId = BrandId
1706
-
1707
-
1708
- def _deserialize(self, params):
1709
- self._BrandId = params.get("BrandId")
1710
- memeber_set = set(params.keys())
1711
- for name, value in vars(self).items():
1712
- property_name = name[1:]
1713
- if property_name in memeber_set:
1714
- memeber_set.remove(property_name)
1715
- if len(memeber_set) > 0:
1716
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1717
-
1718
-
1719
-
1720
- class DescribeUserPortraitResponse(AbstractModel):
1721
- """DescribeUserPortrait返回参数结构体
1722
-
1723
- """
1724
-
1725
- def __init__(self):
1726
- r"""
1727
- :param _Age: 年龄画像
1728
- :type Age: :class:`tencentcloud.tbm.v20180129.models.AgePortraitInfo`
1729
- :param _Gender: 性别画像
1730
- :type Gender: :class:`tencentcloud.tbm.v20180129.models.GenderPortraitInfo`
1731
- :param _Province: 省份画像
1732
- :type Province: :class:`tencentcloud.tbm.v20180129.models.ProvincePortraitInfo`
1733
- :param _Movie: 电影喜好画像
1734
- :type Movie: :class:`tencentcloud.tbm.v20180129.models.MoviePortraitInfo`
1735
- :param _Star: 明星喜好画像
1736
- :type Star: :class:`tencentcloud.tbm.v20180129.models.StarPortraitInfo`
1737
- :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1738
- :type RequestId: str
1739
- """
1740
- self._Age = None
1741
- self._Gender = None
1742
- self._Province = None
1743
- self._Movie = None
1744
- self._Star = None
1745
- self._RequestId = None
1746
-
1747
- @property
1748
- def Age(self):
1749
- """年龄画像
1750
- :rtype: :class:`tencentcloud.tbm.v20180129.models.AgePortraitInfo`
1751
- """
1752
- return self._Age
1753
-
1754
- @Age.setter
1755
- def Age(self, Age):
1756
- self._Age = Age
1757
-
1758
- @property
1759
- def Gender(self):
1760
- """性别画像
1761
- :rtype: :class:`tencentcloud.tbm.v20180129.models.GenderPortraitInfo`
1762
- """
1763
- return self._Gender
1764
-
1765
- @Gender.setter
1766
- def Gender(self, Gender):
1767
- self._Gender = Gender
1768
-
1769
- @property
1770
- def Province(self):
1771
- """省份画像
1772
- :rtype: :class:`tencentcloud.tbm.v20180129.models.ProvincePortraitInfo`
1773
- """
1774
- return self._Province
1775
-
1776
- @Province.setter
1777
- def Province(self, Province):
1778
- self._Province = Province
1779
-
1780
- @property
1781
- def Movie(self):
1782
- """电影喜好画像
1783
- :rtype: :class:`tencentcloud.tbm.v20180129.models.MoviePortraitInfo`
1784
- """
1785
- return self._Movie
1786
-
1787
- @Movie.setter
1788
- def Movie(self, Movie):
1789
- self._Movie = Movie
1790
-
1791
- @property
1792
- def Star(self):
1793
- """明星喜好画像
1794
- :rtype: :class:`tencentcloud.tbm.v20180129.models.StarPortraitInfo`
1795
- """
1796
- return self._Star
1797
-
1798
- @Star.setter
1799
- def Star(self, Star):
1800
- self._Star = Star
1801
-
1802
- @property
1803
- def RequestId(self):
1804
- """唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1805
- :rtype: str
1806
- """
1807
- return self._RequestId
1808
-
1809
- @RequestId.setter
1810
- def RequestId(self, RequestId):
1811
- self._RequestId = RequestId
1812
-
1813
-
1814
- def _deserialize(self, params):
1815
- if params.get("Age") is not None:
1816
- self._Age = AgePortraitInfo()
1817
- self._Age._deserialize(params.get("Age"))
1818
- if params.get("Gender") is not None:
1819
- self._Gender = GenderPortraitInfo()
1820
- self._Gender._deserialize(params.get("Gender"))
1821
- if params.get("Province") is not None:
1822
- self._Province = ProvincePortraitInfo()
1823
- self._Province._deserialize(params.get("Province"))
1824
- if params.get("Movie") is not None:
1825
- self._Movie = MoviePortraitInfo()
1826
- self._Movie._deserialize(params.get("Movie"))
1827
- if params.get("Star") is not None:
1828
- self._Star = StarPortraitInfo()
1829
- self._Star._deserialize(params.get("Star"))
1830
- self._RequestId = params.get("RequestId")
1831
-
1832
-
1833
- class GenderPortrait(AbstractModel):
1834
- """性别画像元素
1835
-
1836
- """
1837
-
1838
- def __init__(self):
1839
- r"""
1840
- :param _Gender: 性别
1841
- :type Gender: str
1842
- :param _Percent: 百分比
1843
- :type Percent: int
1844
- """
1845
- self._Gender = None
1846
- self._Percent = None
1847
-
1848
- @property
1849
- def Gender(self):
1850
- """性别
1851
- :rtype: str
1852
- """
1853
- return self._Gender
1854
-
1855
- @Gender.setter
1856
- def Gender(self, Gender):
1857
- self._Gender = Gender
1858
-
1859
- @property
1860
- def Percent(self):
1861
- """百分比
1862
- :rtype: int
1863
- """
1864
- return self._Percent
1865
-
1866
- @Percent.setter
1867
- def Percent(self, Percent):
1868
- self._Percent = Percent
1869
-
1870
-
1871
- def _deserialize(self, params):
1872
- self._Gender = params.get("Gender")
1873
- self._Percent = params.get("Percent")
1874
- memeber_set = set(params.keys())
1875
- for name, value in vars(self).items():
1876
- property_name = name[1:]
1877
- if property_name in memeber_set:
1878
- memeber_set.remove(property_name)
1879
- if len(memeber_set) > 0:
1880
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1881
-
1882
-
1883
-
1884
- class GenderPortraitInfo(AbstractModel):
1885
- """用户性别画像元素数组
1886
-
1887
- """
1888
-
1889
- def __init__(self):
1890
- r"""
1891
- :param _PortraitSet: 用户性别画像数组
1892
- :type PortraitSet: list of GenderPortrait
1893
- """
1894
- self._PortraitSet = None
1895
-
1896
- @property
1897
- def PortraitSet(self):
1898
- """用户性别画像数组
1899
- :rtype: list of GenderPortrait
1900
- """
1901
- return self._PortraitSet
1902
-
1903
- @PortraitSet.setter
1904
- def PortraitSet(self, PortraitSet):
1905
- self._PortraitSet = PortraitSet
1906
-
1907
-
1908
- def _deserialize(self, params):
1909
- if params.get("PortraitSet") is not None:
1910
- self._PortraitSet = []
1911
- for item in params.get("PortraitSet"):
1912
- obj = GenderPortrait()
1913
- obj._deserialize(item)
1914
- self._PortraitSet.append(obj)
1915
- memeber_set = set(params.keys())
1916
- for name, value in vars(self).items():
1917
- property_name = name[1:]
1918
- if property_name in memeber_set:
1919
- memeber_set.remove(property_name)
1920
- if len(memeber_set) > 0:
1921
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1922
-
1923
-
1924
-
1925
- class IndustryNews(AbstractModel):
1926
- """行业报道新闻
1927
-
1928
- """
1929
-
1930
- def __init__(self):
1931
- r"""
1932
- :param _IndustryId: 行业报道ID
1933
- :type IndustryId: str
1934
- :param _PubTime: 报道发表时间
1935
- :type PubTime: str
1936
- :param _FromSite: 报道来源
1937
- :type FromSite: str
1938
- :param _Title: 报道标题
1939
- :type Title: str
1940
- :param _Url: 报道来源url
1941
- :type Url: str
1942
- :param _Level: 报道来源等级
1943
- :type Level: int
1944
- :param _Hot: 热度值
1945
- :type Hot: int
1946
- :param _Flag: 报道标识
1947
- :type Flag: int
1948
- :param _Abstract: 报道摘要
1949
- :type Abstract: str
1950
- """
1951
- self._IndustryId = None
1952
- self._PubTime = None
1953
- self._FromSite = None
1954
- self._Title = None
1955
- self._Url = None
1956
- self._Level = None
1957
- self._Hot = None
1958
- self._Flag = None
1959
- self._Abstract = None
1960
-
1961
- @property
1962
- def IndustryId(self):
1963
- """行业报道ID
1964
- :rtype: str
1965
- """
1966
- return self._IndustryId
1967
-
1968
- @IndustryId.setter
1969
- def IndustryId(self, IndustryId):
1970
- self._IndustryId = IndustryId
1971
-
1972
- @property
1973
- def PubTime(self):
1974
- """报道发表时间
1975
- :rtype: str
1976
- """
1977
- return self._PubTime
1978
-
1979
- @PubTime.setter
1980
- def PubTime(self, PubTime):
1981
- self._PubTime = PubTime
1982
-
1983
- @property
1984
- def FromSite(self):
1985
- """报道来源
1986
- :rtype: str
1987
- """
1988
- return self._FromSite
1989
-
1990
- @FromSite.setter
1991
- def FromSite(self, FromSite):
1992
- self._FromSite = FromSite
1993
-
1994
- @property
1995
- def Title(self):
1996
- """报道标题
1997
- :rtype: str
1998
- """
1999
- return self._Title
2000
-
2001
- @Title.setter
2002
- def Title(self, Title):
2003
- self._Title = Title
2004
-
2005
- @property
2006
- def Url(self):
2007
- """报道来源url
2008
- :rtype: str
2009
- """
2010
- return self._Url
2011
-
2012
- @Url.setter
2013
- def Url(self, Url):
2014
- self._Url = Url
2015
-
2016
- @property
2017
- def Level(self):
2018
- """报道来源等级
2019
- :rtype: int
2020
- """
2021
- return self._Level
2022
-
2023
- @Level.setter
2024
- def Level(self, Level):
2025
- self._Level = Level
2026
-
2027
- @property
2028
- def Hot(self):
2029
- """热度值
2030
- :rtype: int
2031
- """
2032
- return self._Hot
2033
-
2034
- @Hot.setter
2035
- def Hot(self, Hot):
2036
- self._Hot = Hot
2037
-
2038
- @property
2039
- def Flag(self):
2040
- """报道标识
2041
- :rtype: int
2042
- """
2043
- return self._Flag
2044
-
2045
- @Flag.setter
2046
- def Flag(self, Flag):
2047
- self._Flag = Flag
2048
-
2049
- @property
2050
- def Abstract(self):
2051
- """报道摘要
2052
- :rtype: str
2053
- """
2054
- return self._Abstract
2055
-
2056
- @Abstract.setter
2057
- def Abstract(self, Abstract):
2058
- self._Abstract = Abstract
2059
-
2060
-
2061
- def _deserialize(self, params):
2062
- self._IndustryId = params.get("IndustryId")
2063
- self._PubTime = params.get("PubTime")
2064
- self._FromSite = params.get("FromSite")
2065
- self._Title = params.get("Title")
2066
- self._Url = params.get("Url")
2067
- self._Level = params.get("Level")
2068
- self._Hot = params.get("Hot")
2069
- self._Flag = params.get("Flag")
2070
- self._Abstract = params.get("Abstract")
2071
- memeber_set = set(params.keys())
2072
- for name, value in vars(self).items():
2073
- property_name = name[1:]
2074
- if property_name in memeber_set:
2075
- memeber_set.remove(property_name)
2076
- if len(memeber_set) > 0:
2077
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2078
-
2079
-
2080
-
2081
- class MoviePortrait(AbstractModel):
2082
- """电影喜好画像元素
2083
-
2084
- """
2085
-
2086
- def __init__(self):
2087
- r"""
2088
- :param _Name: 电影名称
2089
- :type Name: str
2090
- :param _Percent: 百分比
2091
- :type Percent: float
2092
- """
2093
- self._Name = None
2094
- self._Percent = None
2095
-
2096
- @property
2097
- def Name(self):
2098
- """电影名称
2099
- :rtype: str
2100
- """
2101
- return self._Name
2102
-
2103
- @Name.setter
2104
- def Name(self, Name):
2105
- self._Name = Name
2106
-
2107
- @property
2108
- def Percent(self):
2109
- """百分比
2110
- :rtype: float
2111
- """
2112
- return self._Percent
2113
-
2114
- @Percent.setter
2115
- def Percent(self, Percent):
2116
- self._Percent = Percent
2117
-
2118
-
2119
- def _deserialize(self, params):
2120
- self._Name = params.get("Name")
2121
- self._Percent = params.get("Percent")
2122
- memeber_set = set(params.keys())
2123
- for name, value in vars(self).items():
2124
- property_name = name[1:]
2125
- if property_name in memeber_set:
2126
- memeber_set.remove(property_name)
2127
- if len(memeber_set) > 0:
2128
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2129
-
2130
-
2131
-
2132
- class MoviePortraitInfo(AbstractModel):
2133
- """用户喜好电影画像元素数组
2134
-
2135
- """
2136
-
2137
- def __init__(self):
2138
- r"""
2139
- :param _PortraitSet: 用户喜好电影画像数组
2140
- :type PortraitSet: list of MoviePortrait
2141
- """
2142
- self._PortraitSet = None
2143
-
2144
- @property
2145
- def PortraitSet(self):
2146
- """用户喜好电影画像数组
2147
- :rtype: list of MoviePortrait
2148
- """
2149
- return self._PortraitSet
2150
-
2151
- @PortraitSet.setter
2152
- def PortraitSet(self, PortraitSet):
2153
- self._PortraitSet = PortraitSet
2154
-
2155
-
2156
- def _deserialize(self, params):
2157
- if params.get("PortraitSet") is not None:
2158
- self._PortraitSet = []
2159
- for item in params.get("PortraitSet"):
2160
- obj = MoviePortrait()
2161
- obj._deserialize(item)
2162
- self._PortraitSet.append(obj)
2163
- memeber_set = set(params.keys())
2164
- for name, value in vars(self).items():
2165
- property_name = name[1:]
2166
- if property_name in memeber_set:
2167
- memeber_set.remove(property_name)
2168
- if len(memeber_set) > 0:
2169
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2170
-
2171
-
2172
-
2173
- class ProvincePortrait(AbstractModel):
2174
- """省份画像元素
2175
-
2176
- """
2177
-
2178
- def __init__(self):
2179
- r"""
2180
- :param _Province: 省份名称
2181
- :type Province: str
2182
- :param _Percent: 百分比
2183
- :type Percent: float
2184
- """
2185
- self._Province = None
2186
- self._Percent = None
2187
-
2188
- @property
2189
- def Province(self):
2190
- """省份名称
2191
- :rtype: str
2192
- """
2193
- return self._Province
2194
-
2195
- @Province.setter
2196
- def Province(self, Province):
2197
- self._Province = Province
2198
-
2199
- @property
2200
- def Percent(self):
2201
- """百分比
2202
- :rtype: float
2203
- """
2204
- return self._Percent
2205
-
2206
- @Percent.setter
2207
- def Percent(self, Percent):
2208
- self._Percent = Percent
2209
-
2210
-
2211
- def _deserialize(self, params):
2212
- self._Province = params.get("Province")
2213
- self._Percent = params.get("Percent")
2214
- memeber_set = set(params.keys())
2215
- for name, value in vars(self).items():
2216
- property_name = name[1:]
2217
- if property_name in memeber_set:
2218
- memeber_set.remove(property_name)
2219
- if len(memeber_set) > 0:
2220
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2221
-
2222
-
2223
-
2224
- class ProvincePortraitInfo(AbstractModel):
2225
- """用户省份画像元素数组
2226
-
2227
- """
2228
-
2229
- def __init__(self):
2230
- r"""
2231
- :param _PortraitSet: 用户省份画像数组
2232
- :type PortraitSet: list of ProvincePortrait
2233
- """
2234
- self._PortraitSet = None
2235
-
2236
- @property
2237
- def PortraitSet(self):
2238
- """用户省份画像数组
2239
- :rtype: list of ProvincePortrait
2240
- """
2241
- return self._PortraitSet
2242
-
2243
- @PortraitSet.setter
2244
- def PortraitSet(self, PortraitSet):
2245
- self._PortraitSet = PortraitSet
2246
-
2247
-
2248
- def _deserialize(self, params):
2249
- if params.get("PortraitSet") is not None:
2250
- self._PortraitSet = []
2251
- for item in params.get("PortraitSet"):
2252
- obj = ProvincePortrait()
2253
- obj._deserialize(item)
2254
- self._PortraitSet.append(obj)
2255
- memeber_set = set(params.keys())
2256
- for name, value in vars(self).items():
2257
- property_name = name[1:]
2258
- if property_name in memeber_set:
2259
- memeber_set.remove(property_name)
2260
- if len(memeber_set) > 0:
2261
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2262
-
2263
-
2264
-
2265
- class StarPortrait(AbstractModel):
2266
- """明星喜好画像元素
2267
-
2268
- """
2269
-
2270
- def __init__(self):
2271
- r"""
2272
- :param _Name: 喜欢的明星名字
2273
- :type Name: str
2274
- :param _Percent: 百分比
2275
- :type Percent: float
2276
- """
2277
- self._Name = None
2278
- self._Percent = None
2279
-
2280
- @property
2281
- def Name(self):
2282
- """喜欢的明星名字
2283
- :rtype: str
2284
- """
2285
- return self._Name
2286
-
2287
- @Name.setter
2288
- def Name(self, Name):
2289
- self._Name = Name
2290
-
2291
- @property
2292
- def Percent(self):
2293
- """百分比
2294
- :rtype: float
2295
- """
2296
- return self._Percent
2297
-
2298
- @Percent.setter
2299
- def Percent(self, Percent):
2300
- self._Percent = Percent
2301
-
2302
-
2303
- def _deserialize(self, params):
2304
- self._Name = params.get("Name")
2305
- self._Percent = params.get("Percent")
2306
- memeber_set = set(params.keys())
2307
- for name, value in vars(self).items():
2308
- property_name = name[1:]
2309
- if property_name in memeber_set:
2310
- memeber_set.remove(property_name)
2311
- if len(memeber_set) > 0:
2312
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2313
-
2314
-
2315
-
2316
- class StarPortraitInfo(AbstractModel):
2317
- """用户喜好的明星画像元素数组
2318
-
2319
- """
2320
-
2321
- def __init__(self):
2322
- r"""
2323
- :param _PortraitSet: 用户喜好的明星画像数组
2324
- :type PortraitSet: list of StarPortrait
2325
- """
2326
- self._PortraitSet = None
2327
-
2328
- @property
2329
- def PortraitSet(self):
2330
- """用户喜好的明星画像数组
2331
- :rtype: list of StarPortrait
2332
- """
2333
- return self._PortraitSet
2334
-
2335
- @PortraitSet.setter
2336
- def PortraitSet(self, PortraitSet):
2337
- self._PortraitSet = PortraitSet
2338
-
2339
-
2340
- def _deserialize(self, params):
2341
- if params.get("PortraitSet") is not None:
2342
- self._PortraitSet = []
2343
- for item in params.get("PortraitSet"):
2344
- obj = StarPortrait()
2345
- obj._deserialize(item)
2346
- self._PortraitSet.append(obj)
2347
- memeber_set = set(params.keys())
2348
- for name, value in vars(self).items():
2349
- property_name = name[1:]
2350
- if property_name in memeber_set:
2351
- memeber_set.remove(property_name)
2352
- if len(memeber_set) > 0:
2353
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2354
-