tencentcloud-sdk-python 3.0.1211__py2.py3-none-any.whl → 3.0.1213__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/asr_client.py +7 -1
- tencentcloud/asr/v20190614/models.py +2 -0
- tencentcloud/ccc/v20200210/models.py +12 -0
- tencentcloud/cfg/v20210820/models.py +13 -0
- tencentcloud/cls/v20201016/models.py +244 -6
- tencentcloud/cwp/v20180228/models.py +38 -0
- tencentcloud/dlc/v20210125/models.py +139 -0
- tencentcloud/ess/v20201111/ess_client.py +28 -0
- tencentcloud/ess/v20201111/models.py +211 -0
- tencentcloud/essbasic/v20210526/models.py +15 -0
- tencentcloud/facefusion/v20181201/models.py +9 -3
- tencentcloud/facefusion/v20220927/models.py +19 -7
- tencentcloud/goosefs/v20220519/models.py +61 -0
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/iotexplorer/v20190423/models.py +13 -5
- tencentcloud/iss/v20230517/errorcodes.py +15 -0
- tencentcloud/iss/v20230517/models.py +75 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +28 -0
- tencentcloud/lke/v20231130/errorcodes.py +1 -1
- tencentcloud/mna/v20210119/errorcodes.py +6 -0
- tencentcloud/mna/v20210119/mna_client.py +23 -0
- tencentcloud/mna/v20210119/models.py +120 -0
- tencentcloud/mps/v20190612/models.py +64 -5
- tencentcloud/ms/v20180408/ms_client.py +23 -69
- tencentcloud/ocr/v20181119/errorcodes.py +6 -0
- tencentcloud/ocr/v20181119/models.py +267 -1
- tencentcloud/ocr/v20181119/ocr_client.py +46 -0
- tencentcloud/tdmq/v20200217/models.py +25 -0
- tencentcloud/teo/v20220901/models.py +2 -3
- tencentcloud/tmt/v20180321/models.py +1 -1
- tencentcloud/trtc/v20190722/models.py +26 -0
- tencentcloud/vpc/v20170312/models.py +104 -0
- {tencentcloud_sdk_python-3.0.1211.dist-info → tencentcloud_sdk_python-3.0.1213.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1211.dist-info → tencentcloud_sdk_python-3.0.1213.dist-info}/RECORD +39 -39
- {tencentcloud_sdk_python-3.0.1211.dist-info → tencentcloud_sdk_python-3.0.1213.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1211.dist-info → tencentcloud_sdk_python-3.0.1213.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1211.dist-info → tencentcloud_sdk_python-3.0.1213.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -447,7 +447,13 @@ class AsrClient(AbstractClient):
|
|
447
447
|
|
448
448
|
|
449
449
|
def SentenceRecognition(self, request):
|
450
|
-
"""本接口用于对60
|
450
|
+
"""本接口用于对60秒之内的短音频文件进行识别。
|
451
|
+
• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、德语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。
|
452
|
+
• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
|
453
|
+
• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。
|
454
|
+
• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"
|
455
|
+
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。
|
456
|
+
• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
451
457
|
|
452
458
|
:param request: Request instance for SentenceRecognition.
|
453
459
|
:type request: :class:`tencentcloud.asr.v20190614.models.SentenceRecognitionRequest`
|
@@ -2464,6 +2464,8 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
2464
2464
|
:param _SubServiceType: 子服务类型。2: 一句话识别。
|
2465
2465
|
:type SubServiceType: int
|
2466
2466
|
:param _Url: 语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0时须填写该字段,为 1 时不填。音频时长不能超过60s,音频文件大小不能超过3MB。
|
2467
|
+
|
2468
|
+
注意:推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储音频、生成URL并提交请求,此种方式会走内网下载音频,极大降低整体请求时延;并且不会产生外网和流量下行费用,可节约成本(COS桶权限需要设置公有读私有写,或URL设置时效访问签名)
|
2467
2469
|
:type Url: str
|
2468
2470
|
:param _UsrAudioKey: 废弃参数,填写任意字符串即可。
|
2469
2471
|
:type UsrAudioKey: str
|
@@ -8003,6 +8003,8 @@ class ModifyStaffRequest(AbstractModel):
|
|
8003
8003
|
:type Phone: str
|
8004
8004
|
:param _Nick: 座席昵称
|
8005
8005
|
:type Nick: str
|
8006
|
+
:param _StaffNo: 座席工号
|
8007
|
+
:type StaffNo: str
|
8006
8008
|
:param _SkillGroupIds: 绑定技能组ID列表
|
8007
8009
|
:type SkillGroupIds: list of int
|
8008
8010
|
:param _UseMobileCallOut: 是否开启手机外呼开关
|
@@ -8015,6 +8017,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
8015
8017
|
self._Name = None
|
8016
8018
|
self._Phone = None
|
8017
8019
|
self._Nick = None
|
8020
|
+
self._StaffNo = None
|
8018
8021
|
self._SkillGroupIds = None
|
8019
8022
|
self._UseMobileCallOut = None
|
8020
8023
|
self._UseMobileAccept = None
|
@@ -8059,6 +8062,14 @@ class ModifyStaffRequest(AbstractModel):
|
|
8059
8062
|
def Nick(self, Nick):
|
8060
8063
|
self._Nick = Nick
|
8061
8064
|
|
8065
|
+
@property
|
8066
|
+
def StaffNo(self):
|
8067
|
+
return self._StaffNo
|
8068
|
+
|
8069
|
+
@StaffNo.setter
|
8070
|
+
def StaffNo(self, StaffNo):
|
8071
|
+
self._StaffNo = StaffNo
|
8072
|
+
|
8062
8073
|
@property
|
8063
8074
|
def SkillGroupIds(self):
|
8064
8075
|
return self._SkillGroupIds
|
@@ -8090,6 +8101,7 @@ class ModifyStaffRequest(AbstractModel):
|
|
8090
8101
|
self._Name = params.get("Name")
|
8091
8102
|
self._Phone = params.get("Phone")
|
8092
8103
|
self._Nick = params.get("Nick")
|
8104
|
+
self._StaffNo = params.get("StaffNo")
|
8093
8105
|
self._SkillGroupIds = params.get("SkillGroupIds")
|
8094
8106
|
self._UseMobileCallOut = params.get("UseMobileCallOut")
|
8095
8107
|
self._UseMobileAccept = params.get("UseMobileAccept")
|
@@ -5128,6 +5128,9 @@ class TemplateGroupAction(AbstractModel):
|
|
5128
5128
|
:param _ActionType: 动作类型:平台和自定义
|
5129
5129
|
注意:此字段可能返回 null,表示取不到有效值。
|
5130
5130
|
:type ActionType: str
|
5131
|
+
:param _ActionRisk: 动作风险等级,1:低风险 2:中风险 3:高风险
|
5132
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5133
|
+
:type ActionRisk: str
|
5131
5134
|
"""
|
5132
5135
|
self._TemplateGroupActionId = None
|
5133
5136
|
self._ActionId = None
|
@@ -5143,6 +5146,7 @@ class TemplateGroupAction(AbstractModel):
|
|
5143
5146
|
self._ActionApiType = None
|
5144
5147
|
self._ActionAttribute = None
|
5145
5148
|
self._ActionType = None
|
5149
|
+
self._ActionRisk = None
|
5146
5150
|
|
5147
5151
|
@property
|
5148
5152
|
def TemplateGroupActionId(self):
|
@@ -5256,6 +5260,14 @@ class TemplateGroupAction(AbstractModel):
|
|
5256
5260
|
def ActionType(self, ActionType):
|
5257
5261
|
self._ActionType = ActionType
|
5258
5262
|
|
5263
|
+
@property
|
5264
|
+
def ActionRisk(self):
|
5265
|
+
return self._ActionRisk
|
5266
|
+
|
5267
|
+
@ActionRisk.setter
|
5268
|
+
def ActionRisk(self, ActionRisk):
|
5269
|
+
self._ActionRisk = ActionRisk
|
5270
|
+
|
5259
5271
|
|
5260
5272
|
def _deserialize(self, params):
|
5261
5273
|
self._TemplateGroupActionId = params.get("TemplateGroupActionId")
|
@@ -5272,6 +5284,7 @@ class TemplateGroupAction(AbstractModel):
|
|
5272
5284
|
self._ActionApiType = params.get("ActionApiType")
|
5273
5285
|
self._ActionAttribute = params.get("ActionAttribute")
|
5274
5286
|
self._ActionType = params.get("ActionType")
|
5287
|
+
self._ActionRisk = params.get("ActionRisk")
|
5275
5288
|
memeber_set = set(params.keys())
|
5276
5289
|
for name, value in vars(self).items():
|
5277
5290
|
property_name = name[1:]
|
@@ -2756,20 +2756,23 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2756
2756
|
:param _VerifyCode: 验证码
|
2757
2757
|
注意:此字段可能返回 null,表示取不到有效值。
|
2758
2758
|
:type VerifyCode: str
|
2759
|
-
:param _StartTime:
|
2759
|
+
:param _StartTime: 默认查询范围的开始时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式
|
2760
2760
|
:type StartTime: str
|
2761
|
-
:param _EndTime:
|
2761
|
+
:param _EndTime: 默认查询范围的结束时间点,支持绝对时间(13位Unix时间戳)或相对时间表达式。注意,结束时间点要大于开始时间点
|
2762
2762
|
:type EndTime: str
|
2763
|
-
:param _NowTime:
|
2763
|
+
:param _NowTime: 仅当StartTime/EndTime为相对时间时使用,基于NowTime计算绝对时间,默认为创建时间
|
2764
2764
|
注意:此字段可能返回 null,表示取不到有效值。
|
2765
2765
|
:type NowTime: int
|
2766
|
-
:param _Params:
|
2766
|
+
:param _Params: 默认的检索分析语句,仅当Type为2时使用
|
2767
2767
|
注意:此字段可能返回 null,表示取不到有效值。
|
2768
2768
|
:type Params: list of ConsoleSharingParam
|
2769
|
-
:param _IsLockTimeRange:
|
2769
|
+
:param _IsLockTimeRange: 是否允许访问者自行修改检索分析时间范围。默认不锁定(false)
|
2770
2770
|
:type IsLockTimeRange: bool
|
2771
|
-
:param _IsLockQuery:
|
2771
|
+
:param _IsLockQuery: 是否允许访问者自行修改日志检索语句。在检索页分享中表示检索语句锁定状态;在仪表盘中表示过滤变量锁定状态。默认不锁定(false)
|
2772
2772
|
:type IsLockQuery: bool
|
2773
|
+
:param _IsSupportLogExport: 检索页分享是否允许访问者下载日志,默认不允许(false)
|
2774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2775
|
+
:type IsSupportLogExport: bool
|
2773
2776
|
"""
|
2774
2777
|
self._Name = None
|
2775
2778
|
self._Type = None
|
@@ -2783,6 +2786,7 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2783
2786
|
self._Params = None
|
2784
2787
|
self._IsLockTimeRange = None
|
2785
2788
|
self._IsLockQuery = None
|
2789
|
+
self._IsSupportLogExport = None
|
2786
2790
|
|
2787
2791
|
@property
|
2788
2792
|
def Name(self):
|
@@ -2880,6 +2884,14 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2880
2884
|
def IsLockQuery(self, IsLockQuery):
|
2881
2885
|
self._IsLockQuery = IsLockQuery
|
2882
2886
|
|
2887
|
+
@property
|
2888
|
+
def IsSupportLogExport(self):
|
2889
|
+
return self._IsSupportLogExport
|
2890
|
+
|
2891
|
+
@IsSupportLogExport.setter
|
2892
|
+
def IsSupportLogExport(self, IsSupportLogExport):
|
2893
|
+
self._IsSupportLogExport = IsSupportLogExport
|
2894
|
+
|
2883
2895
|
|
2884
2896
|
def _deserialize(self, params):
|
2885
2897
|
self._Name = params.get("Name")
|
@@ -2899,6 +2911,7 @@ class ConsoleSharingConfig(AbstractModel):
|
|
2899
2911
|
self._Params.append(obj)
|
2900
2912
|
self._IsLockTimeRange = params.get("IsLockTimeRange")
|
2901
2913
|
self._IsLockQuery = params.get("IsLockQuery")
|
2914
|
+
self._IsSupportLogExport = params.get("IsSupportLogExport")
|
2902
2915
|
memeber_set = set(params.keys())
|
2903
2916
|
for name, value in vars(self).items():
|
2904
2917
|
property_name = name[1:]
|
@@ -5252,6 +5265,71 @@ class CreateDashboardSubscribeRequest(AbstractModel):
|
|
5252
5265
|
|
5253
5266
|
"""
|
5254
5267
|
|
5268
|
+
def __init__(self):
|
5269
|
+
r"""
|
5270
|
+
:param _Name: 仪表盘订阅名称。
|
5271
|
+
:type Name: str
|
5272
|
+
:param _DashboardId: 仪表盘id。
|
5273
|
+
:type DashboardId: str
|
5274
|
+
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。<br><li/>{秒数} 取值范围: 0 ~ 59 <br><li/>{分钟} 取值范围: 0 ~ 59 <br><li/>{小时} 取值范围: 0 ~ 23 <br><li/>{日期} 取值范围: 1 ~ 31 AND (dayOfMonth最后一天: L) <br><li/>{月份} 取值范围: 1 ~ 12 <br><li/>{星期} 取值范围: 0 ~ 6 【0:星期日, 6星期六】
|
5275
|
+
:type Cron: str
|
5276
|
+
:param _SubscribeData: 仪表盘订阅数据。
|
5277
|
+
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
5278
|
+
"""
|
5279
|
+
self._Name = None
|
5280
|
+
self._DashboardId = None
|
5281
|
+
self._Cron = None
|
5282
|
+
self._SubscribeData = None
|
5283
|
+
|
5284
|
+
@property
|
5285
|
+
def Name(self):
|
5286
|
+
return self._Name
|
5287
|
+
|
5288
|
+
@Name.setter
|
5289
|
+
def Name(self, Name):
|
5290
|
+
self._Name = Name
|
5291
|
+
|
5292
|
+
@property
|
5293
|
+
def DashboardId(self):
|
5294
|
+
return self._DashboardId
|
5295
|
+
|
5296
|
+
@DashboardId.setter
|
5297
|
+
def DashboardId(self, DashboardId):
|
5298
|
+
self._DashboardId = DashboardId
|
5299
|
+
|
5300
|
+
@property
|
5301
|
+
def Cron(self):
|
5302
|
+
return self._Cron
|
5303
|
+
|
5304
|
+
@Cron.setter
|
5305
|
+
def Cron(self, Cron):
|
5306
|
+
self._Cron = Cron
|
5307
|
+
|
5308
|
+
@property
|
5309
|
+
def SubscribeData(self):
|
5310
|
+
return self._SubscribeData
|
5311
|
+
|
5312
|
+
@SubscribeData.setter
|
5313
|
+
def SubscribeData(self, SubscribeData):
|
5314
|
+
self._SubscribeData = SubscribeData
|
5315
|
+
|
5316
|
+
|
5317
|
+
def _deserialize(self, params):
|
5318
|
+
self._Name = params.get("Name")
|
5319
|
+
self._DashboardId = params.get("DashboardId")
|
5320
|
+
self._Cron = params.get("Cron")
|
5321
|
+
if params.get("SubscribeData") is not None:
|
5322
|
+
self._SubscribeData = DashboardSubscribeData()
|
5323
|
+
self._SubscribeData._deserialize(params.get("SubscribeData"))
|
5324
|
+
memeber_set = set(params.keys())
|
5325
|
+
for name, value in vars(self).items():
|
5326
|
+
property_name = name[1:]
|
5327
|
+
if property_name in memeber_set:
|
5328
|
+
memeber_set.remove(property_name)
|
5329
|
+
if len(memeber_set) > 0:
|
5330
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5331
|
+
|
5332
|
+
|
5255
5333
|
|
5256
5334
|
class CreateDashboardSubscribeResponse(AbstractModel):
|
5257
5335
|
"""CreateDashboardSubscribe返回参数结构体
|
@@ -8275,6 +8353,33 @@ class DeleteDashboardSubscribeRequest(AbstractModel):
|
|
8275
8353
|
|
8276
8354
|
"""
|
8277
8355
|
|
8356
|
+
def __init__(self):
|
8357
|
+
r"""
|
8358
|
+
:param _Id: 仪表盘订阅记录id。
|
8359
|
+
:type Id: int
|
8360
|
+
"""
|
8361
|
+
self._Id = None
|
8362
|
+
|
8363
|
+
@property
|
8364
|
+
def Id(self):
|
8365
|
+
return self._Id
|
8366
|
+
|
8367
|
+
@Id.setter
|
8368
|
+
def Id(self, Id):
|
8369
|
+
self._Id = Id
|
8370
|
+
|
8371
|
+
|
8372
|
+
def _deserialize(self, params):
|
8373
|
+
self._Id = params.get("Id")
|
8374
|
+
memeber_set = set(params.keys())
|
8375
|
+
for name, value in vars(self).items():
|
8376
|
+
property_name = name[1:]
|
8377
|
+
if property_name in memeber_set:
|
8378
|
+
memeber_set.remove(property_name)
|
8379
|
+
if len(memeber_set) > 0:
|
8380
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8381
|
+
|
8382
|
+
|
8278
8383
|
|
8279
8384
|
class DeleteDashboardSubscribeResponse(AbstractModel):
|
8280
8385
|
"""DeleteDashboardSubscribe返回参数结构体
|
@@ -10086,6 +10191,62 @@ class DescribeDashboardSubscribesRequest(AbstractModel):
|
|
10086
10191
|
|
10087
10192
|
"""
|
10088
10193
|
|
10194
|
+
def __init__(self):
|
10195
|
+
r"""
|
10196
|
+
:param _Filters: <br><li/> dashboardId:按照【仪表盘id】进行过滤。类型:String必选:否<br><br><li/> 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
10197
|
+
:type Filters: list of Filter
|
10198
|
+
:param _Offset: 分页的偏移量,默认值为0。
|
10199
|
+
:type Offset: int
|
10200
|
+
:param _Limit: 分页单页限制数目,默认值为20,最大值100。
|
10201
|
+
:type Limit: int
|
10202
|
+
"""
|
10203
|
+
self._Filters = None
|
10204
|
+
self._Offset = None
|
10205
|
+
self._Limit = None
|
10206
|
+
|
10207
|
+
@property
|
10208
|
+
def Filters(self):
|
10209
|
+
return self._Filters
|
10210
|
+
|
10211
|
+
@Filters.setter
|
10212
|
+
def Filters(self, Filters):
|
10213
|
+
self._Filters = Filters
|
10214
|
+
|
10215
|
+
@property
|
10216
|
+
def Offset(self):
|
10217
|
+
return self._Offset
|
10218
|
+
|
10219
|
+
@Offset.setter
|
10220
|
+
def Offset(self, Offset):
|
10221
|
+
self._Offset = Offset
|
10222
|
+
|
10223
|
+
@property
|
10224
|
+
def Limit(self):
|
10225
|
+
return self._Limit
|
10226
|
+
|
10227
|
+
@Limit.setter
|
10228
|
+
def Limit(self, Limit):
|
10229
|
+
self._Limit = Limit
|
10230
|
+
|
10231
|
+
|
10232
|
+
def _deserialize(self, params):
|
10233
|
+
if params.get("Filters") is not None:
|
10234
|
+
self._Filters = []
|
10235
|
+
for item in params.get("Filters"):
|
10236
|
+
obj = Filter()
|
10237
|
+
obj._deserialize(item)
|
10238
|
+
self._Filters.append(obj)
|
10239
|
+
self._Offset = params.get("Offset")
|
10240
|
+
self._Limit = params.get("Limit")
|
10241
|
+
memeber_set = set(params.keys())
|
10242
|
+
for name, value in vars(self).items():
|
10243
|
+
property_name = name[1:]
|
10244
|
+
if property_name in memeber_set:
|
10245
|
+
memeber_set.remove(property_name)
|
10246
|
+
if len(memeber_set) > 0:
|
10247
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10248
|
+
|
10249
|
+
|
10089
10250
|
|
10090
10251
|
class DescribeDashboardSubscribesResponse(AbstractModel):
|
10091
10252
|
"""DescribeDashboardSubscribes返回参数结构体
|
@@ -17021,6 +17182,83 @@ class ModifyDashboardSubscribeRequest(AbstractModel):
|
|
17021
17182
|
|
17022
17183
|
"""
|
17023
17184
|
|
17185
|
+
def __init__(self):
|
17186
|
+
r"""
|
17187
|
+
:param _Id: 仪表盘订阅id。
|
17188
|
+
:type Id: int
|
17189
|
+
:param _DashboardId: 仪表盘id。
|
17190
|
+
:type DashboardId: str
|
17191
|
+
:param _Name: 仪表盘订阅名称。
|
17192
|
+
:type Name: str
|
17193
|
+
:param _Cron: 订阅时间cron表达式,格式为:{秒数} {分钟} {小时} {日期} {月份} {星期};(有效数据为:{分钟} {小时} {日期} {月份} {星期})。
|
17194
|
+
:type Cron: str
|
17195
|
+
:param _SubscribeData: 仪表盘订阅数据。
|
17196
|
+
:type SubscribeData: :class:`tencentcloud.cls.v20201016.models.DashboardSubscribeData`
|
17197
|
+
"""
|
17198
|
+
self._Id = None
|
17199
|
+
self._DashboardId = None
|
17200
|
+
self._Name = None
|
17201
|
+
self._Cron = None
|
17202
|
+
self._SubscribeData = None
|
17203
|
+
|
17204
|
+
@property
|
17205
|
+
def Id(self):
|
17206
|
+
return self._Id
|
17207
|
+
|
17208
|
+
@Id.setter
|
17209
|
+
def Id(self, Id):
|
17210
|
+
self._Id = Id
|
17211
|
+
|
17212
|
+
@property
|
17213
|
+
def DashboardId(self):
|
17214
|
+
return self._DashboardId
|
17215
|
+
|
17216
|
+
@DashboardId.setter
|
17217
|
+
def DashboardId(self, DashboardId):
|
17218
|
+
self._DashboardId = DashboardId
|
17219
|
+
|
17220
|
+
@property
|
17221
|
+
def Name(self):
|
17222
|
+
return self._Name
|
17223
|
+
|
17224
|
+
@Name.setter
|
17225
|
+
def Name(self, Name):
|
17226
|
+
self._Name = Name
|
17227
|
+
|
17228
|
+
@property
|
17229
|
+
def Cron(self):
|
17230
|
+
return self._Cron
|
17231
|
+
|
17232
|
+
@Cron.setter
|
17233
|
+
def Cron(self, Cron):
|
17234
|
+
self._Cron = Cron
|
17235
|
+
|
17236
|
+
@property
|
17237
|
+
def SubscribeData(self):
|
17238
|
+
return self._SubscribeData
|
17239
|
+
|
17240
|
+
@SubscribeData.setter
|
17241
|
+
def SubscribeData(self, SubscribeData):
|
17242
|
+
self._SubscribeData = SubscribeData
|
17243
|
+
|
17244
|
+
|
17245
|
+
def _deserialize(self, params):
|
17246
|
+
self._Id = params.get("Id")
|
17247
|
+
self._DashboardId = params.get("DashboardId")
|
17248
|
+
self._Name = params.get("Name")
|
17249
|
+
self._Cron = params.get("Cron")
|
17250
|
+
if params.get("SubscribeData") is not None:
|
17251
|
+
self._SubscribeData = DashboardSubscribeData()
|
17252
|
+
self._SubscribeData._deserialize(params.get("SubscribeData"))
|
17253
|
+
memeber_set = set(params.keys())
|
17254
|
+
for name, value in vars(self).items():
|
17255
|
+
property_name = name[1:]
|
17256
|
+
if property_name in memeber_set:
|
17257
|
+
memeber_set.remove(property_name)
|
17258
|
+
if len(memeber_set) > 0:
|
17259
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
17260
|
+
|
17261
|
+
|
17024
17262
|
|
17025
17263
|
class ModifyDashboardSubscribeResponse(AbstractModel):
|
17026
17264
|
"""ModifyDashboardSubscribe返回参数结构体
|
@@ -13281,11 +13281,15 @@ class CanFixVulInfo(AbstractModel):
|
|
13281
13281
|
:param _FixTag: 修复提示tag
|
13282
13282
|
注意:此字段可能返回 null,表示取不到有效值。
|
13283
13283
|
:type FixTag: list of str
|
13284
|
+
:param _VulCategory: 漏洞分类1 web cms漏洞,2应用漏洞,4linux软件漏洞,5windows系统漏洞
|
13285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13286
|
+
:type VulCategory: int
|
13284
13287
|
"""
|
13285
13288
|
self._VulId = None
|
13286
13289
|
self._VulName = None
|
13287
13290
|
self._HostList = None
|
13288
13291
|
self._FixTag = None
|
13292
|
+
self._VulCategory = None
|
13289
13293
|
|
13290
13294
|
@property
|
13291
13295
|
def VulId(self):
|
@@ -13319,6 +13323,14 @@ class CanFixVulInfo(AbstractModel):
|
|
13319
13323
|
def FixTag(self, FixTag):
|
13320
13324
|
self._FixTag = FixTag
|
13321
13325
|
|
13326
|
+
@property
|
13327
|
+
def VulCategory(self):
|
13328
|
+
return self._VulCategory
|
13329
|
+
|
13330
|
+
@VulCategory.setter
|
13331
|
+
def VulCategory(self, VulCategory):
|
13332
|
+
self._VulCategory = VulCategory
|
13333
|
+
|
13322
13334
|
|
13323
13335
|
def _deserialize(self, params):
|
13324
13336
|
self._VulId = params.get("VulId")
|
@@ -13330,6 +13342,7 @@ class CanFixVulInfo(AbstractModel):
|
|
13330
13342
|
obj._deserialize(item)
|
13331
13343
|
self._HostList.append(obj)
|
13332
13344
|
self._FixTag = params.get("FixTag")
|
13345
|
+
self._VulCategory = params.get("VulCategory")
|
13333
13346
|
memeber_set = set(params.keys())
|
13334
13347
|
for name, value in vars(self).items():
|
13335
13348
|
property_name = name[1:]
|
@@ -16281,9 +16294,12 @@ class CreateVulFixTaskQuuids(AbstractModel):
|
|
16281
16294
|
:type VulId: int
|
16282
16295
|
:param _Quuids: 需要修复漏洞的主机,所有主机必须有VulId的这个漏洞且是待修复状态。
|
16283
16296
|
:type Quuids: list of str
|
16297
|
+
:param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
|
16298
|
+
:type FixMethod: int
|
16284
16299
|
"""
|
16285
16300
|
self._VulId = None
|
16286
16301
|
self._Quuids = None
|
16302
|
+
self._FixMethod = None
|
16287
16303
|
|
16288
16304
|
@property
|
16289
16305
|
def VulId(self):
|
@@ -16301,10 +16317,19 @@ class CreateVulFixTaskQuuids(AbstractModel):
|
|
16301
16317
|
def Quuids(self, Quuids):
|
16302
16318
|
self._Quuids = Quuids
|
16303
16319
|
|
16320
|
+
@property
|
16321
|
+
def FixMethod(self):
|
16322
|
+
return self._FixMethod
|
16323
|
+
|
16324
|
+
@FixMethod.setter
|
16325
|
+
def FixMethod(self, FixMethod):
|
16326
|
+
self._FixMethod = FixMethod
|
16327
|
+
|
16304
16328
|
|
16305
16329
|
def _deserialize(self, params):
|
16306
16330
|
self._VulId = params.get("VulId")
|
16307
16331
|
self._Quuids = params.get("Quuids")
|
16332
|
+
self._FixMethod = params.get("FixMethod")
|
16308
16333
|
memeber_set = set(params.keys())
|
16309
16334
|
for name, value in vars(self).items():
|
16310
16335
|
property_name = name[1:]
|
@@ -88205,6 +88230,9 @@ class VulFixStatusInfo(AbstractModel):
|
|
88205
88230
|
:param _FixSuccessCnt: 修复成功的数量
|
88206
88231
|
注意:此字段可能返回 null,表示取不到有效值。
|
88207
88232
|
:type FixSuccessCnt: int
|
88233
|
+
:param _FixMethod: 修复方式 0组件更新或者安装补丁,1禁用服务
|
88234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
88235
|
+
:type FixMethod: int
|
88208
88236
|
"""
|
88209
88237
|
self._VulId = None
|
88210
88238
|
self._VulName = None
|
@@ -88212,6 +88240,7 @@ class VulFixStatusInfo(AbstractModel):
|
|
88212
88240
|
self._HostList = None
|
88213
88241
|
self._FailCnt = None
|
88214
88242
|
self._FixSuccessCnt = None
|
88243
|
+
self._FixMethod = None
|
88215
88244
|
|
88216
88245
|
@property
|
88217
88246
|
def VulId(self):
|
@@ -88261,6 +88290,14 @@ class VulFixStatusInfo(AbstractModel):
|
|
88261
88290
|
def FixSuccessCnt(self, FixSuccessCnt):
|
88262
88291
|
self._FixSuccessCnt = FixSuccessCnt
|
88263
88292
|
|
88293
|
+
@property
|
88294
|
+
def FixMethod(self):
|
88295
|
+
return self._FixMethod
|
88296
|
+
|
88297
|
+
@FixMethod.setter
|
88298
|
+
def FixMethod(self, FixMethod):
|
88299
|
+
self._FixMethod = FixMethod
|
88300
|
+
|
88264
88301
|
|
88265
88302
|
def _deserialize(self, params):
|
88266
88303
|
self._VulId = params.get("VulId")
|
@@ -88274,6 +88311,7 @@ class VulFixStatusInfo(AbstractModel):
|
|
88274
88311
|
self._HostList.append(obj)
|
88275
88312
|
self._FailCnt = params.get("FailCnt")
|
88276
88313
|
self._FixSuccessCnt = params.get("FixSuccessCnt")
|
88314
|
+
self._FixMethod = params.get("FixMethod")
|
88277
88315
|
memeber_set = set(params.keys())
|
88278
88316
|
for name, value in vars(self).items():
|
88279
88317
|
property_name = name[1:]
|