tencentcloud-sdk-python 3.0.1250__py2.py3-none-any.whl → 3.0.1251__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 (32) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +8 -1
  3. tencentcloud/ccc/v20200210/models.py +117 -0
  4. tencentcloud/cls/v20201016/cls_client.py +92 -0
  5. tencentcloud/cls/v20201016/models.py +688 -0
  6. tencentcloud/cynosdb/v20190107/models.py +13 -0
  7. tencentcloud/dc/v20180410/dc_client.py +23 -0
  8. tencentcloud/dc/v20180410/models.py +426 -0
  9. tencentcloud/emr/v20190103/errorcodes.py +1 -1
  10. tencentcloud/emr/v20190103/models.py +1 -93
  11. tencentcloud/ess/v20201111/models.py +4 -5
  12. tencentcloud/essbasic/v20210526/models.py +2 -3
  13. tencentcloud/faceid/v20180301/models.py +27 -0
  14. tencentcloud/gwlb/__init__.py +0 -0
  15. tencentcloud/gwlb/v20240906/__init__.py +0 -0
  16. tencentcloud/gwlb/v20240906/errorcodes.py +48 -0
  17. tencentcloud/gwlb/v20240906/gwlb_client.py +448 -0
  18. tencentcloud/gwlb/v20240906/models.py +2834 -0
  19. tencentcloud/privatedns/v20201028/errorcodes.py +18 -0
  20. tencentcloud/privatedns/v20201028/models.py +142 -0
  21. tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
  22. tencentcloud/sms/v20190711/errorcodes.py +3 -0
  23. tencentcloud/sms/v20210111/errorcodes.py +3 -0
  24. tencentcloud/teo/v20220901/models.py +8 -5
  25. tencentcloud/tke/v20180525/models.py +2 -2
  26. tencentcloud/vclm/v20240523/models.py +12 -0
  27. tencentcloud/vtc/v20240223/models.py +12 -0
  28. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/METADATA +1 -1
  29. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/RECORD +32 -27
  30. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/LICENSE +0 -0
  31. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/WHEEL +0 -0
  32. {tencentcloud_sdk_python-3.0.1250.dist-info → tencentcloud_sdk_python-3.0.1251.dist-info}/top_level.txt +0 -0
@@ -6472,6 +6472,105 @@ class CreateMachineGroupResponse(AbstractModel):
6472
6472
  self._RequestId = params.get("RequestId")
6473
6473
 
6474
6474
 
6475
+ class CreateNoticeContentRequest(AbstractModel):
6476
+ """CreateNoticeContent请求参数结构体
6477
+
6478
+ """
6479
+
6480
+ def __init__(self):
6481
+ r"""
6482
+ :param _Name: 模版名称。
6483
+ :type Name: str
6484
+ :param _Type: 模版内容语言。0:中文1:英文
6485
+ :type Type: int
6486
+ :param _NoticeContents: 模版详细配置。
6487
+ :type NoticeContents: list of NoticeContent
6488
+ """
6489
+ self._Name = None
6490
+ self._Type = None
6491
+ self._NoticeContents = None
6492
+
6493
+ @property
6494
+ def Name(self):
6495
+ return self._Name
6496
+
6497
+ @Name.setter
6498
+ def Name(self, Name):
6499
+ self._Name = Name
6500
+
6501
+ @property
6502
+ def Type(self):
6503
+ return self._Type
6504
+
6505
+ @Type.setter
6506
+ def Type(self, Type):
6507
+ self._Type = Type
6508
+
6509
+ @property
6510
+ def NoticeContents(self):
6511
+ return self._NoticeContents
6512
+
6513
+ @NoticeContents.setter
6514
+ def NoticeContents(self, NoticeContents):
6515
+ self._NoticeContents = NoticeContents
6516
+
6517
+
6518
+ def _deserialize(self, params):
6519
+ self._Name = params.get("Name")
6520
+ self._Type = params.get("Type")
6521
+ if params.get("NoticeContents") is not None:
6522
+ self._NoticeContents = []
6523
+ for item in params.get("NoticeContents"):
6524
+ obj = NoticeContent()
6525
+ obj._deserialize(item)
6526
+ self._NoticeContents.append(obj)
6527
+ memeber_set = set(params.keys())
6528
+ for name, value in vars(self).items():
6529
+ property_name = name[1:]
6530
+ if property_name in memeber_set:
6531
+ memeber_set.remove(property_name)
6532
+ if len(memeber_set) > 0:
6533
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6534
+
6535
+
6536
+
6537
+ class CreateNoticeContentResponse(AbstractModel):
6538
+ """CreateNoticeContent返回参数结构体
6539
+
6540
+ """
6541
+
6542
+ def __init__(self):
6543
+ r"""
6544
+ :param _NoticeContentId: 通知内容配置ID
6545
+ :type NoticeContentId: str
6546
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6547
+ :type RequestId: str
6548
+ """
6549
+ self._NoticeContentId = None
6550
+ self._RequestId = None
6551
+
6552
+ @property
6553
+ def NoticeContentId(self):
6554
+ return self._NoticeContentId
6555
+
6556
+ @NoticeContentId.setter
6557
+ def NoticeContentId(self, NoticeContentId):
6558
+ self._NoticeContentId = NoticeContentId
6559
+
6560
+ @property
6561
+ def RequestId(self):
6562
+ return self._RequestId
6563
+
6564
+ @RequestId.setter
6565
+ def RequestId(self, RequestId):
6566
+ self._RequestId = RequestId
6567
+
6568
+
6569
+ def _deserialize(self, params):
6570
+ self._NoticeContentId = params.get("NoticeContentId")
6571
+ self._RequestId = params.get("RequestId")
6572
+
6573
+
6475
6574
  class CreateScheduledSqlRequest(AbstractModel):
6476
6575
  """CreateScheduledSql请求参数结构体
6477
6576
 
@@ -8911,6 +9010,64 @@ class DeleteMachineGroupResponse(AbstractModel):
8911
9010
  self._RequestId = params.get("RequestId")
8912
9011
 
8913
9012
 
9013
+ class DeleteNoticeContentRequest(AbstractModel):
9014
+ """DeleteNoticeContent请求参数结构体
9015
+
9016
+ """
9017
+
9018
+ def __init__(self):
9019
+ r"""
9020
+ :param _NoticeContentId: 通知内容模版ID
9021
+ :type NoticeContentId: str
9022
+ """
9023
+ self._NoticeContentId = None
9024
+
9025
+ @property
9026
+ def NoticeContentId(self):
9027
+ return self._NoticeContentId
9028
+
9029
+ @NoticeContentId.setter
9030
+ def NoticeContentId(self, NoticeContentId):
9031
+ self._NoticeContentId = NoticeContentId
9032
+
9033
+
9034
+ def _deserialize(self, params):
9035
+ self._NoticeContentId = params.get("NoticeContentId")
9036
+ memeber_set = set(params.keys())
9037
+ for name, value in vars(self).items():
9038
+ property_name = name[1:]
9039
+ if property_name in memeber_set:
9040
+ memeber_set.remove(property_name)
9041
+ if len(memeber_set) > 0:
9042
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9043
+
9044
+
9045
+
9046
+ class DeleteNoticeContentResponse(AbstractModel):
9047
+ """DeleteNoticeContent返回参数结构体
9048
+
9049
+ """
9050
+
9051
+ def __init__(self):
9052
+ r"""
9053
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9054
+ :type RequestId: str
9055
+ """
9056
+ self._RequestId = None
9057
+
9058
+ @property
9059
+ def RequestId(self):
9060
+ return self._RequestId
9061
+
9062
+ @RequestId.setter
9063
+ def RequestId(self, RequestId):
9064
+ self._RequestId = RequestId
9065
+
9066
+
9067
+ def _deserialize(self, params):
9068
+ self._RequestId = params.get("RequestId")
9069
+
9070
+
8914
9071
  class DeleteScheduledSqlRequest(AbstractModel):
8915
9072
  """DeleteScheduledSql请求参数结构体
8916
9073
 
@@ -12056,6 +12213,133 @@ class DescribeMachinesResponse(AbstractModel):
12056
12213
  self._RequestId = params.get("RequestId")
12057
12214
 
12058
12215
 
12216
+ class DescribeNoticeContentsRequest(AbstractModel):
12217
+ """DescribeNoticeContents请求参数结构体
12218
+
12219
+ """
12220
+
12221
+ def __init__(self):
12222
+ r"""
12223
+ :param _Filters: <li> name
12224
+ 按照【通知内容模版名称】进行过滤。
12225
+ 类型:String
12226
+ 必选:否
12227
+ </li>
12228
+ <li> noticeContentId
12229
+ 按照【通知内容模版ID】进行过滤。
12230
+ 类型:String
12231
+ 必选:否
12232
+ </li>
12233
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
12234
+ :type Filters: list of Filter
12235
+ :param _Offset: 分页的偏移量,默认值为0。
12236
+ :type Offset: int
12237
+ :param _Limit: 分页单页限制数目,默认值为20,最大值100。
12238
+ :type Limit: int
12239
+ """
12240
+ self._Filters = None
12241
+ self._Offset = None
12242
+ self._Limit = None
12243
+
12244
+ @property
12245
+ def Filters(self):
12246
+ return self._Filters
12247
+
12248
+ @Filters.setter
12249
+ def Filters(self, Filters):
12250
+ self._Filters = Filters
12251
+
12252
+ @property
12253
+ def Offset(self):
12254
+ return self._Offset
12255
+
12256
+ @Offset.setter
12257
+ def Offset(self, Offset):
12258
+ self._Offset = Offset
12259
+
12260
+ @property
12261
+ def Limit(self):
12262
+ return self._Limit
12263
+
12264
+ @Limit.setter
12265
+ def Limit(self, Limit):
12266
+ self._Limit = Limit
12267
+
12268
+
12269
+ def _deserialize(self, params):
12270
+ if params.get("Filters") is not None:
12271
+ self._Filters = []
12272
+ for item in params.get("Filters"):
12273
+ obj = Filter()
12274
+ obj._deserialize(item)
12275
+ self._Filters.append(obj)
12276
+ self._Offset = params.get("Offset")
12277
+ self._Limit = params.get("Limit")
12278
+ memeber_set = set(params.keys())
12279
+ for name, value in vars(self).items():
12280
+ property_name = name[1:]
12281
+ if property_name in memeber_set:
12282
+ memeber_set.remove(property_name)
12283
+ if len(memeber_set) > 0:
12284
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12285
+
12286
+
12287
+
12288
+ class DescribeNoticeContentsResponse(AbstractModel):
12289
+ """DescribeNoticeContents返回参数结构体
12290
+
12291
+ """
12292
+
12293
+ def __init__(self):
12294
+ r"""
12295
+ :param _NoticeContents: 通知内容模版列表。
12296
+ 注意:此字段可能返回 null,表示取不到有效值。
12297
+ :type NoticeContents: list of NoticeContentTemplate
12298
+ :param _TotalCount: 符合条件的通知内容模版总数。
12299
+ :type TotalCount: int
12300
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12301
+ :type RequestId: str
12302
+ """
12303
+ self._NoticeContents = None
12304
+ self._TotalCount = None
12305
+ self._RequestId = None
12306
+
12307
+ @property
12308
+ def NoticeContents(self):
12309
+ return self._NoticeContents
12310
+
12311
+ @NoticeContents.setter
12312
+ def NoticeContents(self, NoticeContents):
12313
+ self._NoticeContents = NoticeContents
12314
+
12315
+ @property
12316
+ def TotalCount(self):
12317
+ return self._TotalCount
12318
+
12319
+ @TotalCount.setter
12320
+ def TotalCount(self, TotalCount):
12321
+ self._TotalCount = TotalCount
12322
+
12323
+ @property
12324
+ def RequestId(self):
12325
+ return self._RequestId
12326
+
12327
+ @RequestId.setter
12328
+ def RequestId(self, RequestId):
12329
+ self._RequestId = RequestId
12330
+
12331
+
12332
+ def _deserialize(self, params):
12333
+ if params.get("NoticeContents") is not None:
12334
+ self._NoticeContents = []
12335
+ for item in params.get("NoticeContents"):
12336
+ obj = NoticeContentTemplate()
12337
+ obj._deserialize(item)
12338
+ self._NoticeContents.append(obj)
12339
+ self._TotalCount = params.get("TotalCount")
12340
+ self._RequestId = params.get("RequestId")
12341
+
12342
+
12059
12343
  class DescribePartitionsRequest(AbstractModel):
12060
12344
  """DescribePartitions请求参数结构体
12061
12345
 
@@ -18174,6 +18458,107 @@ class ModifyMachineGroupResponse(AbstractModel):
18174
18458
  self._RequestId = params.get("RequestId")
18175
18459
 
18176
18460
 
18461
+ class ModifyNoticeContentRequest(AbstractModel):
18462
+ """ModifyNoticeContent请求参数结构体
18463
+
18464
+ """
18465
+
18466
+ def __init__(self):
18467
+ r"""
18468
+ :param _NoticeContentId: 通知内容模版ID。
18469
+ :type NoticeContentId: str
18470
+ :param _Name: 通知内容模版名称。
18471
+ :type Name: str
18472
+ :param _Type: 通知内容语言。
18473
+
18474
+ 0:中文 1:英文
18475
+ :type Type: int
18476
+ :param _NoticeContents: 通知内容模版详细信息。
18477
+ :type NoticeContents: list of NoticeContent
18478
+ """
18479
+ self._NoticeContentId = None
18480
+ self._Name = None
18481
+ self._Type = None
18482
+ self._NoticeContents = None
18483
+
18484
+ @property
18485
+ def NoticeContentId(self):
18486
+ return self._NoticeContentId
18487
+
18488
+ @NoticeContentId.setter
18489
+ def NoticeContentId(self, NoticeContentId):
18490
+ self._NoticeContentId = NoticeContentId
18491
+
18492
+ @property
18493
+ def Name(self):
18494
+ return self._Name
18495
+
18496
+ @Name.setter
18497
+ def Name(self, Name):
18498
+ self._Name = Name
18499
+
18500
+ @property
18501
+ def Type(self):
18502
+ return self._Type
18503
+
18504
+ @Type.setter
18505
+ def Type(self, Type):
18506
+ self._Type = Type
18507
+
18508
+ @property
18509
+ def NoticeContents(self):
18510
+ return self._NoticeContents
18511
+
18512
+ @NoticeContents.setter
18513
+ def NoticeContents(self, NoticeContents):
18514
+ self._NoticeContents = NoticeContents
18515
+
18516
+
18517
+ def _deserialize(self, params):
18518
+ self._NoticeContentId = params.get("NoticeContentId")
18519
+ self._Name = params.get("Name")
18520
+ self._Type = params.get("Type")
18521
+ if params.get("NoticeContents") is not None:
18522
+ self._NoticeContents = []
18523
+ for item in params.get("NoticeContents"):
18524
+ obj = NoticeContent()
18525
+ obj._deserialize(item)
18526
+ self._NoticeContents.append(obj)
18527
+ memeber_set = set(params.keys())
18528
+ for name, value in vars(self).items():
18529
+ property_name = name[1:]
18530
+ if property_name in memeber_set:
18531
+ memeber_set.remove(property_name)
18532
+ if len(memeber_set) > 0:
18533
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18534
+
18535
+
18536
+
18537
+ class ModifyNoticeContentResponse(AbstractModel):
18538
+ """ModifyNoticeContent返回参数结构体
18539
+
18540
+ """
18541
+
18542
+ def __init__(self):
18543
+ r"""
18544
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18545
+ :type RequestId: str
18546
+ """
18547
+ self._RequestId = None
18548
+
18549
+ @property
18550
+ def RequestId(self):
18551
+ return self._RequestId
18552
+
18553
+ @RequestId.setter
18554
+ def RequestId(self, RequestId):
18555
+ self._RequestId = RequestId
18556
+
18557
+
18558
+ def _deserialize(self, params):
18559
+ self._RequestId = params.get("RequestId")
18560
+
18561
+
18177
18562
  class ModifyScheduledSqlRequest(AbstractModel):
18178
18563
  """ModifyScheduledSql请求参数结构体
18179
18564
 
@@ -18791,9 +19176,14 @@ class MonitorTime(AbstractModel):
18791
19176
  :param _Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
18792
19177
  当type为`Period`,`Fixed`时,time字段生效。
18793
19178
  :type Time: int
19179
+ :param _CronExpression: 执行的周期cron表达式。示例:`"*/1 * * * *"` 从左到右每个field的含义 Minutes field, Hours field,Day of month field,Month field,Day of week field, 不支持秒级别。
19180
+ 当type为`Cron`时,CronExpression字段生效。
19181
+ 注意:此字段可能返回 null,表示取不到有效值。
19182
+ :type CronExpression: str
18794
19183
  """
18795
19184
  self._Type = None
18796
19185
  self._Time = None
19186
+ self._CronExpression = None
18797
19187
 
18798
19188
  @property
18799
19189
  def Type(self):
@@ -18811,10 +19201,19 @@ class MonitorTime(AbstractModel):
18811
19201
  def Time(self, Time):
18812
19202
  self._Time = Time
18813
19203
 
19204
+ @property
19205
+ def CronExpression(self):
19206
+ return self._CronExpression
19207
+
19208
+ @CronExpression.setter
19209
+ def CronExpression(self, CronExpression):
19210
+ self._CronExpression = CronExpression
19211
+
18814
19212
 
18815
19213
  def _deserialize(self, params):
18816
19214
  self._Type = params.get("Type")
18817
19215
  self._Time = params.get("Time")
19216
+ self._CronExpression = params.get("CronExpression")
18818
19217
  memeber_set = set(params.keys())
18819
19218
  for name, value in vars(self).items():
18820
19219
  property_name = name[1:]
@@ -18918,6 +19317,282 @@ class MultiTopicSearchInformation(AbstractModel):
18918
19317
 
18919
19318
 
18920
19319
 
19320
+ class NoticeContent(AbstractModel):
19321
+ """通知内容模版详细配置
19322
+
19323
+ """
19324
+
19325
+ def __init__(self):
19326
+ r"""
19327
+ :param _Type: 渠道类型
19328
+
19329
+ Email:邮件;Sms:短信;WeChat:微信;Phone:电话;WeCom:企业微信;DingTalk:钉钉;Lark:飞书;Http:自定义回调;
19330
+ :type Type: str
19331
+ :param _TriggerContent: 告警触发通知内容模版。
19332
+ 注意:此字段可能返回 null,表示取不到有效值。
19333
+ :type TriggerContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
19334
+ :param _RecoveryContent: 告警恢复通知内容模版。
19335
+ 注意:此字段可能返回 null,表示取不到有效值。
19336
+ :type RecoveryContent: :class:`tencentcloud.cls.v20201016.models.NoticeContentInfo`
19337
+ """
19338
+ self._Type = None
19339
+ self._TriggerContent = None
19340
+ self._RecoveryContent = None
19341
+
19342
+ @property
19343
+ def Type(self):
19344
+ return self._Type
19345
+
19346
+ @Type.setter
19347
+ def Type(self, Type):
19348
+ self._Type = Type
19349
+
19350
+ @property
19351
+ def TriggerContent(self):
19352
+ return self._TriggerContent
19353
+
19354
+ @TriggerContent.setter
19355
+ def TriggerContent(self, TriggerContent):
19356
+ self._TriggerContent = TriggerContent
19357
+
19358
+ @property
19359
+ def RecoveryContent(self):
19360
+ return self._RecoveryContent
19361
+
19362
+ @RecoveryContent.setter
19363
+ def RecoveryContent(self, RecoveryContent):
19364
+ self._RecoveryContent = RecoveryContent
19365
+
19366
+
19367
+ def _deserialize(self, params):
19368
+ self._Type = params.get("Type")
19369
+ if params.get("TriggerContent") is not None:
19370
+ self._TriggerContent = NoticeContentInfo()
19371
+ self._TriggerContent._deserialize(params.get("TriggerContent"))
19372
+ if params.get("RecoveryContent") is not None:
19373
+ self._RecoveryContent = NoticeContentInfo()
19374
+ self._RecoveryContent._deserialize(params.get("RecoveryContent"))
19375
+ memeber_set = set(params.keys())
19376
+ for name, value in vars(self).items():
19377
+ property_name = name[1:]
19378
+ if property_name in memeber_set:
19379
+ memeber_set.remove(property_name)
19380
+ if len(memeber_set) > 0:
19381
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19382
+
19383
+
19384
+
19385
+ class NoticeContentInfo(AbstractModel):
19386
+ """通知模板内容
19387
+
19388
+ """
19389
+
19390
+ def __init__(self):
19391
+ r"""
19392
+ :param _Title: 通知内容模板标题信息。
19393
+ 部分通知渠道类型不支持“标题”,请参照腾讯云控制台页面。
19394
+ 注意:此字段可能返回 null,表示取不到有效值。
19395
+ :type Title: str
19396
+ :param _Content: 通知内容模板正文信息。
19397
+ 注意:此字段可能返回 null,表示取不到有效值。
19398
+ :type Content: str
19399
+ :param _Headers: 请求头(Request Headers):在HTTP请求中,请求头包含了客户端向服务器发送的附加信息,如用户代理、授权凭证、期望的响应格式等。
19400
+ 仅“自定义回调”支持该配置。
19401
+ 注意:此字段可能返回 null,表示取不到有效值。
19402
+ :type Headers: list of str
19403
+ """
19404
+ self._Title = None
19405
+ self._Content = None
19406
+ self._Headers = None
19407
+
19408
+ @property
19409
+ def Title(self):
19410
+ return self._Title
19411
+
19412
+ @Title.setter
19413
+ def Title(self, Title):
19414
+ self._Title = Title
19415
+
19416
+ @property
19417
+ def Content(self):
19418
+ return self._Content
19419
+
19420
+ @Content.setter
19421
+ def Content(self, Content):
19422
+ self._Content = Content
19423
+
19424
+ @property
19425
+ def Headers(self):
19426
+ return self._Headers
19427
+
19428
+ @Headers.setter
19429
+ def Headers(self, Headers):
19430
+ self._Headers = Headers
19431
+
19432
+
19433
+ def _deserialize(self, params):
19434
+ self._Title = params.get("Title")
19435
+ self._Content = params.get("Content")
19436
+ self._Headers = params.get("Headers")
19437
+ memeber_set = set(params.keys())
19438
+ for name, value in vars(self).items():
19439
+ property_name = name[1:]
19440
+ if property_name in memeber_set:
19441
+ memeber_set.remove(property_name)
19442
+ if len(memeber_set) > 0:
19443
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19444
+
19445
+
19446
+
19447
+ class NoticeContentTemplate(AbstractModel):
19448
+ """通知内容模板信息
19449
+
19450
+ """
19451
+
19452
+ def __init__(self):
19453
+ r"""
19454
+ :param _NoticeContentId: 通知内容模板ID。
19455
+ 注意:此字段可能返回 null,表示取不到有效值。
19456
+ :type NoticeContentId: str
19457
+ :param _Name: 通知内容模板名称
19458
+ 注意:此字段可能返回 null,表示取不到有效值。
19459
+ :type Name: str
19460
+ :param _Type: 语言类型。
19461
+
19462
+ 0: 中文
19463
+ 1: 英文
19464
+ 注意:此字段可能返回 null,表示取不到有效值。
19465
+ :type Type: int
19466
+ :param _NoticeContents: 通知内容模板信息。
19467
+ 注意:此字段可能返回 null,表示取不到有效值。
19468
+ :type NoticeContents: list of NoticeContent
19469
+ :param _Flag: 通知内容模板标记。
19470
+
19471
+ 0: 用户自定义
19472
+ 1: 系统内置
19473
+ 注意:此字段可能返回 null,表示取不到有效值。
19474
+ :type Flag: int
19475
+ :param _Uin: 创建者主账号。
19476
+ 注意:此字段可能返回 null,表示取不到有效值。
19477
+ :type Uin: int
19478
+ :param _SubUin: 创建/修改者子账号。
19479
+ 注意:此字段可能返回 null,表示取不到有效值。
19480
+ :type SubUin: int
19481
+ :param _CreateTime: 创建时间 秒级时间戳。
19482
+ 注意:此字段可能返回 null,表示取不到有效值。
19483
+ :type CreateTime: int
19484
+ :param _UpdateTime: 更新时间 秒级时间戳。
19485
+ 注意:此字段可能返回 null,表示取不到有效值。
19486
+ :type UpdateTime: int
19487
+ """
19488
+ self._NoticeContentId = None
19489
+ self._Name = None
19490
+ self._Type = None
19491
+ self._NoticeContents = None
19492
+ self._Flag = None
19493
+ self._Uin = None
19494
+ self._SubUin = None
19495
+ self._CreateTime = None
19496
+ self._UpdateTime = None
19497
+
19498
+ @property
19499
+ def NoticeContentId(self):
19500
+ return self._NoticeContentId
19501
+
19502
+ @NoticeContentId.setter
19503
+ def NoticeContentId(self, NoticeContentId):
19504
+ self._NoticeContentId = NoticeContentId
19505
+
19506
+ @property
19507
+ def Name(self):
19508
+ return self._Name
19509
+
19510
+ @Name.setter
19511
+ def Name(self, Name):
19512
+ self._Name = Name
19513
+
19514
+ @property
19515
+ def Type(self):
19516
+ return self._Type
19517
+
19518
+ @Type.setter
19519
+ def Type(self, Type):
19520
+ self._Type = Type
19521
+
19522
+ @property
19523
+ def NoticeContents(self):
19524
+ return self._NoticeContents
19525
+
19526
+ @NoticeContents.setter
19527
+ def NoticeContents(self, NoticeContents):
19528
+ self._NoticeContents = NoticeContents
19529
+
19530
+ @property
19531
+ def Flag(self):
19532
+ return self._Flag
19533
+
19534
+ @Flag.setter
19535
+ def Flag(self, Flag):
19536
+ self._Flag = Flag
19537
+
19538
+ @property
19539
+ def Uin(self):
19540
+ return self._Uin
19541
+
19542
+ @Uin.setter
19543
+ def Uin(self, Uin):
19544
+ self._Uin = Uin
19545
+
19546
+ @property
19547
+ def SubUin(self):
19548
+ return self._SubUin
19549
+
19550
+ @SubUin.setter
19551
+ def SubUin(self, SubUin):
19552
+ self._SubUin = SubUin
19553
+
19554
+ @property
19555
+ def CreateTime(self):
19556
+ return self._CreateTime
19557
+
19558
+ @CreateTime.setter
19559
+ def CreateTime(self, CreateTime):
19560
+ self._CreateTime = CreateTime
19561
+
19562
+ @property
19563
+ def UpdateTime(self):
19564
+ return self._UpdateTime
19565
+
19566
+ @UpdateTime.setter
19567
+ def UpdateTime(self, UpdateTime):
19568
+ self._UpdateTime = UpdateTime
19569
+
19570
+
19571
+ def _deserialize(self, params):
19572
+ self._NoticeContentId = params.get("NoticeContentId")
19573
+ self._Name = params.get("Name")
19574
+ self._Type = params.get("Type")
19575
+ if params.get("NoticeContents") is not None:
19576
+ self._NoticeContents = []
19577
+ for item in params.get("NoticeContents"):
19578
+ obj = NoticeContent()
19579
+ obj._deserialize(item)
19580
+ self._NoticeContents.append(obj)
19581
+ self._Flag = params.get("Flag")
19582
+ self._Uin = params.get("Uin")
19583
+ self._SubUin = params.get("SubUin")
19584
+ self._CreateTime = params.get("CreateTime")
19585
+ self._UpdateTime = params.get("UpdateTime")
19586
+ memeber_set = set(params.keys())
19587
+ for name, value in vars(self).items():
19588
+ property_name = name[1:]
19589
+ if property_name in memeber_set:
19590
+ memeber_set.remove(property_name)
19591
+ if len(memeber_set) > 0:
19592
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19593
+
19594
+
19595
+
18921
19596
  class NoticeReceiver(AbstractModel):
18922
19597
  """告警通知接收者信息
18923
19598
 
@@ -18949,6 +19624,9 @@ class NoticeReceiver(AbstractModel):
18949
19624
  - 入参时无效。
18950
19625
  - 出参时有效。
18951
19626
  :type Index: int
19627
+ :param _NoticeContentId: 通知内容模板ID。
19628
+ 注意:此字段可能返回 null,表示取不到有效值。
19629
+ :type NoticeContentId: str
18952
19630
  """
18953
19631
  self._ReceiverType = None
18954
19632
  self._ReceiverIds = None
@@ -18956,6 +19634,7 @@ class NoticeReceiver(AbstractModel):
18956
19634
  self._StartTime = None
18957
19635
  self._EndTime = None
18958
19636
  self._Index = None
19637
+ self._NoticeContentId = None
18959
19638
 
18960
19639
  @property
18961
19640
  def ReceiverType(self):
@@ -19005,6 +19684,14 @@ class NoticeReceiver(AbstractModel):
19005
19684
  def Index(self, Index):
19006
19685
  self._Index = Index
19007
19686
 
19687
+ @property
19688
+ def NoticeContentId(self):
19689
+ return self._NoticeContentId
19690
+
19691
+ @NoticeContentId.setter
19692
+ def NoticeContentId(self, NoticeContentId):
19693
+ self._NoticeContentId = NoticeContentId
19694
+
19008
19695
 
19009
19696
  def _deserialize(self, params):
19010
19697
  self._ReceiverType = params.get("ReceiverType")
@@ -19013,6 +19700,7 @@ class NoticeReceiver(AbstractModel):
19013
19700
  self._StartTime = params.get("StartTime")
19014
19701
  self._EndTime = params.get("EndTime")
19015
19702
  self._Index = params.get("Index")
19703
+ self._NoticeContentId = params.get("NoticeContentId")
19016
19704
  memeber_set = set(params.keys())
19017
19705
  for name, value in vars(self).items():
19018
19706
  property_name = name[1:]