tencentcloud-sdk-python 3.0.1259__py2.py3-none-any.whl → 3.0.1261__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 (56) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  3. tencentcloud/apm/v20210622/models.py +24 -0
  4. tencentcloud/ca/v20230228/models.py +103 -0
  5. tencentcloud/cbs/v20170312/models.py +1 -1
  6. tencentcloud/cdb/v20170320/cdb_client.py +0 -25
  7. tencentcloud/cdb/v20170320/errorcodes.py +1 -1
  8. tencentcloud/cdb/v20170320/models.py +0 -111
  9. tencentcloud/cdwdoris/v20211228/models.py +39 -0
  10. tencentcloud/cfs/v20190719/models.py +111 -1
  11. tencentcloud/cfw/v20190904/cfw_client.py +3 -1
  12. tencentcloud/cls/v20201016/models.py +14 -14
  13. tencentcloud/csip/v20221121/csip_client.py +1 -1
  14. tencentcloud/csip/v20221121/models.py +5 -584
  15. tencentcloud/dlc/v20210125/models.py +18 -3
  16. tencentcloud/dnspod/v20210323/dnspod_client.py +164 -0
  17. tencentcloud/dnspod/v20210323/errorcodes.py +48 -0
  18. tencentcloud/dnspod/v20210323/models.py +1221 -143
  19. tencentcloud/ecm/v20190719/models.py +1 -1
  20. tencentcloud/es/v20180416/models.py +13 -0
  21. tencentcloud/ess/v20201111/ess_client.py +6 -1
  22. tencentcloud/ess/v20201111/models.py +10 -6
  23. tencentcloud/essbasic/v20210526/essbasic_client.py +6 -3
  24. tencentcloud/essbasic/v20210526/models.py +20 -12
  25. tencentcloud/hunyuan/v20230901/hunyuan_client.py +170 -0
  26. tencentcloud/hunyuan/v20230901/models.py +2037 -118
  27. tencentcloud/ioa/v20220601/models.py +8 -125
  28. tencentcloud/kms/v20190118/models.py +24 -25
  29. tencentcloud/lke/v20231130/lke_client.py +3 -1
  30. tencentcloud/mongodb/v20190725/models.py +4 -4
  31. tencentcloud/mps/v20190612/models.py +30 -1
  32. tencentcloud/ms/v20180408/models.py +0 -24
  33. tencentcloud/oceanus/v20190422/models.py +179 -0
  34. tencentcloud/ocr/v20181119/models.py +165 -1
  35. tencentcloud/ocr/v20181119/ocr_client.py +25 -0
  36. tencentcloud/redis/v20180412/models.py +4 -4
  37. tencentcloud/scf/v20180416/models.py +1 -1
  38. tencentcloud/sms/v20190711/errorcodes.py +1 -1
  39. tencentcloud/sms/v20210111/errorcodes.py +1 -1
  40. tencentcloud/ssm/v20190923/models.py +6 -36
  41. tencentcloud/tdmq/v20200217/models.py +4 -5
  42. tencentcloud/tem/v20210701/models.py +1 -1
  43. tencentcloud/teo/v20220901/errorcodes.py +45 -0
  44. tencentcloud/teo/v20220901/models.py +53 -6
  45. tencentcloud/thpc/v20230321/models.py +3 -3
  46. tencentcloud/tke/v20180525/models.py +2 -2
  47. tencentcloud/trtc/v20190722/models.py +0 -31
  48. tencentcloud/trtc/v20190722/trtc_client.py +0 -25
  49. tencentcloud/vod/v20180717/models.py +343 -18
  50. tencentcloud/waf/v20180125/models.py +309 -514
  51. tencentcloud/waf/v20180125/waf_client.py +23 -50
  52. {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/METADATA +1 -1
  53. {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/RECORD +56 -56
  54. {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/LICENSE +0 -0
  55. {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/WHEEL +0 -0
  56. {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1261.dist-info}/top_level.txt +0 -0
@@ -1564,6 +1564,196 @@ class CreateDomainResponse(AbstractModel):
1564
1564
  self._RequestId = params.get("RequestId")
1565
1565
 
1566
1566
 
1567
+ class CreateLineGroupCopyRequest(AbstractModel):
1568
+ """CreateLineGroupCopy请求参数结构体
1569
+
1570
+ """
1571
+
1572
+ def __init__(self):
1573
+ r"""
1574
+ :param _Domain: 域名
1575
+ :type Domain: str
1576
+ :param _DomainIds: 要复制的域名ID。要从多个域名复制线路分组时,用英文逗号分隔,例如1002,1005
1577
+ :type DomainIds: str
1578
+ :param _DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
1579
+ :type DomainId: int
1580
+ """
1581
+ self._Domain = None
1582
+ self._DomainIds = None
1583
+ self._DomainId = None
1584
+
1585
+ @property
1586
+ def Domain(self):
1587
+ return self._Domain
1588
+
1589
+ @Domain.setter
1590
+ def Domain(self, Domain):
1591
+ self._Domain = Domain
1592
+
1593
+ @property
1594
+ def DomainIds(self):
1595
+ return self._DomainIds
1596
+
1597
+ @DomainIds.setter
1598
+ def DomainIds(self, DomainIds):
1599
+ self._DomainIds = DomainIds
1600
+
1601
+ @property
1602
+ def DomainId(self):
1603
+ return self._DomainId
1604
+
1605
+ @DomainId.setter
1606
+ def DomainId(self, DomainId):
1607
+ self._DomainId = DomainId
1608
+
1609
+
1610
+ def _deserialize(self, params):
1611
+ self._Domain = params.get("Domain")
1612
+ self._DomainIds = params.get("DomainIds")
1613
+ self._DomainId = params.get("DomainId")
1614
+ memeber_set = set(params.keys())
1615
+ for name, value in vars(self).items():
1616
+ property_name = name[1:]
1617
+ if property_name in memeber_set:
1618
+ memeber_set.remove(property_name)
1619
+ if len(memeber_set) > 0:
1620
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1621
+
1622
+
1623
+
1624
+ class CreateLineGroupCopyResponse(AbstractModel):
1625
+ """CreateLineGroupCopy返回参数结构体
1626
+
1627
+ """
1628
+
1629
+ def __init__(self):
1630
+ r"""
1631
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1632
+ :type RequestId: str
1633
+ """
1634
+ self._RequestId = None
1635
+
1636
+ @property
1637
+ def RequestId(self):
1638
+ return self._RequestId
1639
+
1640
+ @RequestId.setter
1641
+ def RequestId(self, RequestId):
1642
+ self._RequestId = RequestId
1643
+
1644
+
1645
+ def _deserialize(self, params):
1646
+ self._RequestId = params.get("RequestId")
1647
+
1648
+
1649
+ class CreateLineGroupRequest(AbstractModel):
1650
+ """CreateLineGroup请求参数结构体
1651
+
1652
+ """
1653
+
1654
+ def __init__(self):
1655
+ r"""
1656
+ :param _Name: 自定义线路分组的名称。
1657
+ :type Name: str
1658
+ :param _Lines: 自定义线路分组包含的线路列表,包含多个线路时用英文逗号分隔。例如,铁通,奇虎
1659
+ :type Lines: str
1660
+ :param _Domain: 域名
1661
+ :type Domain: str
1662
+ :param _DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
1663
+ :type DomainId: int
1664
+ """
1665
+ self._Name = None
1666
+ self._Lines = None
1667
+ self._Domain = None
1668
+ self._DomainId = None
1669
+
1670
+ @property
1671
+ def Name(self):
1672
+ return self._Name
1673
+
1674
+ @Name.setter
1675
+ def Name(self, Name):
1676
+ self._Name = Name
1677
+
1678
+ @property
1679
+ def Lines(self):
1680
+ return self._Lines
1681
+
1682
+ @Lines.setter
1683
+ def Lines(self, Lines):
1684
+ self._Lines = Lines
1685
+
1686
+ @property
1687
+ def Domain(self):
1688
+ return self._Domain
1689
+
1690
+ @Domain.setter
1691
+ def Domain(self, Domain):
1692
+ self._Domain = Domain
1693
+
1694
+ @property
1695
+ def DomainId(self):
1696
+ return self._DomainId
1697
+
1698
+ @DomainId.setter
1699
+ def DomainId(self, DomainId):
1700
+ self._DomainId = DomainId
1701
+
1702
+
1703
+ def _deserialize(self, params):
1704
+ self._Name = params.get("Name")
1705
+ self._Lines = params.get("Lines")
1706
+ self._Domain = params.get("Domain")
1707
+ self._DomainId = params.get("DomainId")
1708
+ memeber_set = set(params.keys())
1709
+ for name, value in vars(self).items():
1710
+ property_name = name[1:]
1711
+ if property_name in memeber_set:
1712
+ memeber_set.remove(property_name)
1713
+ if len(memeber_set) > 0:
1714
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1715
+
1716
+
1717
+
1718
+ class CreateLineGroupResponse(AbstractModel):
1719
+ """CreateLineGroup返回参数结构体
1720
+
1721
+ """
1722
+
1723
+ def __init__(self):
1724
+ r"""
1725
+ :param _Data: 自定义线路分组详情
1726
+ :type Data: :class:`tencentcloud.dnspod.v20210323.models.LineGroupDetail`
1727
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1728
+ :type RequestId: str
1729
+ """
1730
+ self._Data = None
1731
+ self._RequestId = None
1732
+
1733
+ @property
1734
+ def Data(self):
1735
+ return self._Data
1736
+
1737
+ @Data.setter
1738
+ def Data(self, Data):
1739
+ self._Data = Data
1740
+
1741
+ @property
1742
+ def RequestId(self):
1743
+ return self._RequestId
1744
+
1745
+ @RequestId.setter
1746
+ def RequestId(self, RequestId):
1747
+ self._RequestId = RequestId
1748
+
1749
+
1750
+ def _deserialize(self, params):
1751
+ if params.get("Data") is not None:
1752
+ self._Data = LineGroupDetail()
1753
+ self._Data._deserialize(params.get("Data"))
1754
+ self._RequestId = params.get("RequestId")
1755
+
1756
+
1567
1757
  class CreateRecordBatchDetail(AbstractModel):
1568
1758
  """批量添加记录返回结构
1569
1759
 
@@ -2350,6 +2540,184 @@ class CreateSnapshotResponse(AbstractModel):
2350
2540
  self._RequestId = params.get("RequestId")
2351
2541
 
2352
2542
 
2543
+ class CreateTXTRecordRequest(AbstractModel):
2544
+ """CreateTXTRecord请求参数结构体
2545
+
2546
+ """
2547
+
2548
+ def __init__(self):
2549
+ r"""
2550
+ :param _Domain: 域名
2551
+ :type Domain: str
2552
+ :param _RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。
2553
+ :type RecordLine: str
2554
+ :param _Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。
2555
+ :type Value: str
2556
+ :param _DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。
2557
+ :type DomainId: int
2558
+ :param _SubDomain: 主机记录,如 www,如果不传,默认为 @。
2559
+ :type SubDomain: str
2560
+ :param _RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。
2561
+ :type RecordLineId: str
2562
+ :param _TTL: TTL,范围1-604800,不同套餐域名最小值不同。
2563
+ :type TTL: int
2564
+ :param _Status: 记录初始状态,取值范围为 ENABLE 和 DISABLE 。默认为 ENABLE ,如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。
2565
+ :type Status: str
2566
+ :param _Remark: 备注
2567
+ :type Remark: str
2568
+ :param _GroupId: 记录分组 Id。可以通过接口 DescribeRecordGroupList 接口 GroupId 字段获取。
2569
+ :type GroupId: int
2570
+ """
2571
+ self._Domain = None
2572
+ self._RecordLine = None
2573
+ self._Value = None
2574
+ self._DomainId = None
2575
+ self._SubDomain = None
2576
+ self._RecordLineId = None
2577
+ self._TTL = None
2578
+ self._Status = None
2579
+ self._Remark = None
2580
+ self._GroupId = None
2581
+
2582
+ @property
2583
+ def Domain(self):
2584
+ return self._Domain
2585
+
2586
+ @Domain.setter
2587
+ def Domain(self, Domain):
2588
+ self._Domain = Domain
2589
+
2590
+ @property
2591
+ def RecordLine(self):
2592
+ return self._RecordLine
2593
+
2594
+ @RecordLine.setter
2595
+ def RecordLine(self, RecordLine):
2596
+ self._RecordLine = RecordLine
2597
+
2598
+ @property
2599
+ def Value(self):
2600
+ return self._Value
2601
+
2602
+ @Value.setter
2603
+ def Value(self, Value):
2604
+ self._Value = Value
2605
+
2606
+ @property
2607
+ def DomainId(self):
2608
+ return self._DomainId
2609
+
2610
+ @DomainId.setter
2611
+ def DomainId(self, DomainId):
2612
+ self._DomainId = DomainId
2613
+
2614
+ @property
2615
+ def SubDomain(self):
2616
+ return self._SubDomain
2617
+
2618
+ @SubDomain.setter
2619
+ def SubDomain(self, SubDomain):
2620
+ self._SubDomain = SubDomain
2621
+
2622
+ @property
2623
+ def RecordLineId(self):
2624
+ return self._RecordLineId
2625
+
2626
+ @RecordLineId.setter
2627
+ def RecordLineId(self, RecordLineId):
2628
+ self._RecordLineId = RecordLineId
2629
+
2630
+ @property
2631
+ def TTL(self):
2632
+ return self._TTL
2633
+
2634
+ @TTL.setter
2635
+ def TTL(self, TTL):
2636
+ self._TTL = TTL
2637
+
2638
+ @property
2639
+ def Status(self):
2640
+ return self._Status
2641
+
2642
+ @Status.setter
2643
+ def Status(self, Status):
2644
+ self._Status = Status
2645
+
2646
+ @property
2647
+ def Remark(self):
2648
+ return self._Remark
2649
+
2650
+ @Remark.setter
2651
+ def Remark(self, Remark):
2652
+ self._Remark = Remark
2653
+
2654
+ @property
2655
+ def GroupId(self):
2656
+ return self._GroupId
2657
+
2658
+ @GroupId.setter
2659
+ def GroupId(self, GroupId):
2660
+ self._GroupId = GroupId
2661
+
2662
+
2663
+ def _deserialize(self, params):
2664
+ self._Domain = params.get("Domain")
2665
+ self._RecordLine = params.get("RecordLine")
2666
+ self._Value = params.get("Value")
2667
+ self._DomainId = params.get("DomainId")
2668
+ self._SubDomain = params.get("SubDomain")
2669
+ self._RecordLineId = params.get("RecordLineId")
2670
+ self._TTL = params.get("TTL")
2671
+ self._Status = params.get("Status")
2672
+ self._Remark = params.get("Remark")
2673
+ self._GroupId = params.get("GroupId")
2674
+ memeber_set = set(params.keys())
2675
+ for name, value in vars(self).items():
2676
+ property_name = name[1:]
2677
+ if property_name in memeber_set:
2678
+ memeber_set.remove(property_name)
2679
+ if len(memeber_set) > 0:
2680
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2681
+
2682
+
2683
+
2684
+ class CreateTXTRecordResponse(AbstractModel):
2685
+ """CreateTXTRecord返回参数结构体
2686
+
2687
+ """
2688
+
2689
+ def __init__(self):
2690
+ r"""
2691
+ :param _RecordId: 记录ID
2692
+ :type RecordId: int
2693
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2694
+ :type RequestId: str
2695
+ """
2696
+ self._RecordId = None
2697
+ self._RequestId = None
2698
+
2699
+ @property
2700
+ def RecordId(self):
2701
+ return self._RecordId
2702
+
2703
+ @RecordId.setter
2704
+ def RecordId(self, RecordId):
2705
+ self._RecordId = RecordId
2706
+
2707
+ @property
2708
+ def RequestId(self):
2709
+ return self._RequestId
2710
+
2711
+ @RequestId.setter
2712
+ def RequestId(self, RequestId):
2713
+ self._RequestId = RequestId
2714
+
2715
+
2716
+ def _deserialize(self, params):
2717
+ self._RecordId = params.get("RecordId")
2718
+ self._RequestId = params.get("RequestId")
2719
+
2720
+
2353
2721
  class CustomLineInfo(AbstractModel):
2354
2722
  """自定义线路详情
2355
2723
 
@@ -2879,6 +3247,88 @@ class DeleteDomainResponse(AbstractModel):
2879
3247
  self._RequestId = params.get("RequestId")
2880
3248
 
2881
3249
 
3250
+ class DeleteLineGroupRequest(AbstractModel):
3251
+ """DeleteLineGroup请求参数结构体
3252
+
3253
+ """
3254
+
3255
+ def __init__(self):
3256
+ r"""
3257
+ :param _Domain: 域名
3258
+ :type Domain: str
3259
+ :param _LineGroupId: 自定义线路分组ID
3260
+ :type LineGroupId: int
3261
+ :param _DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
3262
+ :type DomainId: int
3263
+ """
3264
+ self._Domain = None
3265
+ self._LineGroupId = None
3266
+ self._DomainId = None
3267
+
3268
+ @property
3269
+ def Domain(self):
3270
+ return self._Domain
3271
+
3272
+ @Domain.setter
3273
+ def Domain(self, Domain):
3274
+ self._Domain = Domain
3275
+
3276
+ @property
3277
+ def LineGroupId(self):
3278
+ return self._LineGroupId
3279
+
3280
+ @LineGroupId.setter
3281
+ def LineGroupId(self, LineGroupId):
3282
+ self._LineGroupId = LineGroupId
3283
+
3284
+ @property
3285
+ def DomainId(self):
3286
+ return self._DomainId
3287
+
3288
+ @DomainId.setter
3289
+ def DomainId(self, DomainId):
3290
+ self._DomainId = DomainId
3291
+
3292
+
3293
+ def _deserialize(self, params):
3294
+ self._Domain = params.get("Domain")
3295
+ self._LineGroupId = params.get("LineGroupId")
3296
+ self._DomainId = params.get("DomainId")
3297
+ memeber_set = set(params.keys())
3298
+ for name, value in vars(self).items():
3299
+ property_name = name[1:]
3300
+ if property_name in memeber_set:
3301
+ memeber_set.remove(property_name)
3302
+ if len(memeber_set) > 0:
3303
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3304
+
3305
+
3306
+
3307
+ class DeleteLineGroupResponse(AbstractModel):
3308
+ """DeleteLineGroup返回参数结构体
3309
+
3310
+ """
3311
+
3312
+ def __init__(self):
3313
+ r"""
3314
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3315
+ :type RequestId: str
3316
+ """
3317
+ self._RequestId = None
3318
+
3319
+ @property
3320
+ def RequestId(self):
3321
+ return self._RequestId
3322
+
3323
+ @RequestId.setter
3324
+ def RequestId(self, RequestId):
3325
+ self._RequestId = RequestId
3326
+
3327
+
3328
+ def _deserialize(self, params):
3329
+ self._RequestId = params.get("RequestId")
3330
+
3331
+
2882
3332
  class DeleteRecordBatchDetail(AbstractModel):
2883
3333
  """批量删除记录详情
2884
3334
 
@@ -5044,17 +5494,89 @@ class DescribeDomainShareUserListResponse(AbstractModel):
5044
5494
 
5045
5495
 
5046
5496
  def _deserialize(self, params):
5047
- if params.get("DomainShareList") is not None:
5048
- self._DomainShareList = []
5049
- for item in params.get("DomainShareList"):
5050
- obj = DomainShareUserInfo()
5051
- obj._deserialize(item)
5052
- self._DomainShareList.append(obj)
5497
+ if params.get("DomainShareList") is not None:
5498
+ self._DomainShareList = []
5499
+ for item in params.get("DomainShareList"):
5500
+ obj = DomainShareUserInfo()
5501
+ obj._deserialize(item)
5502
+ self._DomainShareList.append(obj)
5503
+ self._RequestId = params.get("RequestId")
5504
+
5505
+
5506
+ class DescribeDomainWhoisRequest(AbstractModel):
5507
+ """DescribeDomainWhois请求参数结构体
5508
+
5509
+ """
5510
+
5511
+ def __init__(self):
5512
+ r"""
5513
+ :param _Domain: 域名
5514
+ :type Domain: str
5515
+ """
5516
+ self._Domain = None
5517
+
5518
+ @property
5519
+ def Domain(self):
5520
+ return self._Domain
5521
+
5522
+ @Domain.setter
5523
+ def Domain(self, Domain):
5524
+ self._Domain = Domain
5525
+
5526
+
5527
+ def _deserialize(self, params):
5528
+ self._Domain = params.get("Domain")
5529
+ memeber_set = set(params.keys())
5530
+ for name, value in vars(self).items():
5531
+ property_name = name[1:]
5532
+ if property_name in memeber_set:
5533
+ memeber_set.remove(property_name)
5534
+ if len(memeber_set) > 0:
5535
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
5536
+
5537
+
5538
+
5539
+ class DescribeDomainWhoisResponse(AbstractModel):
5540
+ """DescribeDomainWhois返回参数结构体
5541
+
5542
+ """
5543
+
5544
+ def __init__(self):
5545
+ r"""
5546
+ :param _Info: 域名Whois信息
5547
+ :type Info: :class:`tencentcloud.dnspod.v20210323.models.WhoisInfo`
5548
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5549
+ :type RequestId: str
5550
+ """
5551
+ self._Info = None
5552
+ self._RequestId = None
5553
+
5554
+ @property
5555
+ def Info(self):
5556
+ return self._Info
5557
+
5558
+ @Info.setter
5559
+ def Info(self, Info):
5560
+ self._Info = Info
5561
+
5562
+ @property
5563
+ def RequestId(self):
5564
+ return self._RequestId
5565
+
5566
+ @RequestId.setter
5567
+ def RequestId(self, RequestId):
5568
+ self._RequestId = RequestId
5569
+
5570
+
5571
+ def _deserialize(self, params):
5572
+ if params.get("Info") is not None:
5573
+ self._Info = WhoisInfo()
5574
+ self._Info._deserialize(params.get("Info"))
5053
5575
  self._RequestId = params.get("RequestId")
5054
5576
 
5055
5577
 
5056
- class DescribeDomainWhoisRequest(AbstractModel):
5057
- """DescribeDomainWhois请求参数结构体
5578
+ class DescribeLineGroupListRequest(AbstractModel):
5579
+ """DescribeLineGroupList请求参数结构体
5058
5580
 
5059
5581
  """
5060
5582
 
@@ -5062,8 +5584,20 @@ class DescribeDomainWhoisRequest(AbstractModel):
5062
5584
  r"""
5063
5585
  :param _Domain: 域名
5064
5586
  :type Domain: str
5587
+ :param _Offset: 偏移量,默认值为0。
5588
+ :type Offset: int
5589
+ :param _Length: 限制数量,传0或不传会返回所有。
5590
+ :type Length: int
5591
+ :param _SortType: 按自定义线路分组名称排序的方向。升序传asc,降序传desc。
5592
+ :type SortType: str
5593
+ :param _DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
5594
+ :type DomainId: int
5065
5595
  """
5066
5596
  self._Domain = None
5597
+ self._Offset = None
5598
+ self._Length = None
5599
+ self._SortType = None
5600
+ self._DomainId = None
5067
5601
 
5068
5602
  @property
5069
5603
  def Domain(self):
@@ -5073,9 +5607,45 @@ class DescribeDomainWhoisRequest(AbstractModel):
5073
5607
  def Domain(self, Domain):
5074
5608
  self._Domain = Domain
5075
5609
 
5610
+ @property
5611
+ def Offset(self):
5612
+ return self._Offset
5613
+
5614
+ @Offset.setter
5615
+ def Offset(self, Offset):
5616
+ self._Offset = Offset
5617
+
5618
+ @property
5619
+ def Length(self):
5620
+ return self._Length
5621
+
5622
+ @Length.setter
5623
+ def Length(self, Length):
5624
+ self._Length = Length
5625
+
5626
+ @property
5627
+ def SortType(self):
5628
+ return self._SortType
5629
+
5630
+ @SortType.setter
5631
+ def SortType(self, SortType):
5632
+ self._SortType = SortType
5633
+
5634
+ @property
5635
+ def DomainId(self):
5636
+ return self._DomainId
5637
+
5638
+ @DomainId.setter
5639
+ def DomainId(self, DomainId):
5640
+ self._DomainId = DomainId
5641
+
5076
5642
 
5077
5643
  def _deserialize(self, params):
5078
5644
  self._Domain = params.get("Domain")
5645
+ self._Offset = params.get("Offset")
5646
+ self._Length = params.get("Length")
5647
+ self._SortType = params.get("SortType")
5648
+ self._DomainId = params.get("DomainId")
5079
5649
  memeber_set = set(params.keys())
5080
5650
  for name, value in vars(self).items():
5081
5651
  property_name = name[1:]
@@ -5086,21 +5656,32 @@ class DescribeDomainWhoisRequest(AbstractModel):
5086
5656
 
5087
5657
 
5088
5658
 
5089
- class DescribeDomainWhoisResponse(AbstractModel):
5090
- """DescribeDomainWhois返回参数结构体
5659
+ class DescribeLineGroupListResponse(AbstractModel):
5660
+ """DescribeLineGroupList返回参数结构体
5091
5661
 
5092
5662
  """
5093
5663
 
5094
5664
  def __init__(self):
5095
5665
  r"""
5096
- :param _Info: 域名Whois信息
5097
- :type Info: :class:`tencentcloud.dnspod.v20210323.models.WhoisInfo`
5666
+ :param _LineGroups: 自定义线路分组列表
5667
+ :type LineGroups: list of LineGroupItem
5668
+ :param _Info: 自定义线路分组数量信息
5669
+ :type Info: :class:`tencentcloud.dnspod.v20210323.models.LineGroupSum`
5098
5670
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5099
5671
  :type RequestId: str
5100
5672
  """
5673
+ self._LineGroups = None
5101
5674
  self._Info = None
5102
5675
  self._RequestId = None
5103
5676
 
5677
+ @property
5678
+ def LineGroups(self):
5679
+ return self._LineGroups
5680
+
5681
+ @LineGroups.setter
5682
+ def LineGroups(self, LineGroups):
5683
+ self._LineGroups = LineGroups
5684
+
5104
5685
  @property
5105
5686
  def Info(self):
5106
5687
  return self._Info
@@ -5119,8 +5700,14 @@ class DescribeDomainWhoisResponse(AbstractModel):
5119
5700
 
5120
5701
 
5121
5702
  def _deserialize(self, params):
5703
+ if params.get("LineGroups") is not None:
5704
+ self._LineGroups = []
5705
+ for item in params.get("LineGroups"):
5706
+ obj = LineGroupItem()
5707
+ obj._deserialize(item)
5708
+ self._LineGroups.append(obj)
5122
5709
  if params.get("Info") is not None:
5123
- self._Info = WhoisInfo()
5710
+ self._Info = LineGroupSum()
5124
5711
  self._Info._deserialize(params.get("Info"))
5125
5712
  self._RequestId = params.get("RequestId")
5126
5713
 
@@ -8934,42 +9521,261 @@ class GroupInfo(AbstractModel):
8934
9521
 
8935
9522
 
8936
9523
 
8937
- class KeyValue(AbstractModel):
8938
- """键值对
9524
+ class KeyValue(AbstractModel):
9525
+ """键值对
9526
+
9527
+ """
9528
+
9529
+ def __init__(self):
9530
+ r"""
9531
+ :param _Key: 键
9532
+ :type Key: str
9533
+ :param _Value: 值
9534
+ 注意:此字段可能返回 null,表示取不到有效值。
9535
+ :type Value: str
9536
+ """
9537
+ self._Key = None
9538
+ self._Value = None
9539
+
9540
+ @property
9541
+ def Key(self):
9542
+ return self._Key
9543
+
9544
+ @Key.setter
9545
+ def Key(self, Key):
9546
+ self._Key = Key
9547
+
9548
+ @property
9549
+ def Value(self):
9550
+ return self._Value
9551
+
9552
+ @Value.setter
9553
+ def Value(self, Value):
9554
+ self._Value = Value
9555
+
9556
+
9557
+ def _deserialize(self, params):
9558
+ self._Key = params.get("Key")
9559
+ self._Value = params.get("Value")
9560
+ memeber_set = set(params.keys())
9561
+ for name, value in vars(self).items():
9562
+ property_name = name[1:]
9563
+ if property_name in memeber_set:
9564
+ memeber_set.remove(property_name)
9565
+ if len(memeber_set) > 0:
9566
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9567
+
9568
+
9569
+
9570
+ class LineGroupDetail(AbstractModel):
9571
+ """自定义线路分组详细信息
9572
+
9573
+ """
9574
+
9575
+ def __init__(self):
9576
+ r"""
9577
+ :param _Id: 自定义线路分组ID
9578
+ :type Id: int
9579
+ :param _Name: 自定线路分组名称
9580
+ :type Name: str
9581
+ :param _Lines: 自定义线路分组包含的线路列表
9582
+ :type Lines: list of str
9583
+ """
9584
+ self._Id = None
9585
+ self._Name = None
9586
+ self._Lines = None
9587
+
9588
+ @property
9589
+ def Id(self):
9590
+ return self._Id
9591
+
9592
+ @Id.setter
9593
+ def Id(self, Id):
9594
+ self._Id = Id
9595
+
9596
+ @property
9597
+ def Name(self):
9598
+ return self._Name
9599
+
9600
+ @Name.setter
9601
+ def Name(self, Name):
9602
+ self._Name = Name
9603
+
9604
+ @property
9605
+ def Lines(self):
9606
+ return self._Lines
9607
+
9608
+ @Lines.setter
9609
+ def Lines(self, Lines):
9610
+ self._Lines = Lines
9611
+
9612
+
9613
+ def _deserialize(self, params):
9614
+ self._Id = params.get("Id")
9615
+ self._Name = params.get("Name")
9616
+ self._Lines = params.get("Lines")
9617
+ memeber_set = set(params.keys())
9618
+ for name, value in vars(self).items():
9619
+ property_name = name[1:]
9620
+ if property_name in memeber_set:
9621
+ memeber_set.remove(property_name)
9622
+ if len(memeber_set) > 0:
9623
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9624
+
9625
+
9626
+
9627
+ class LineGroupInfo(AbstractModel):
9628
+ """线路分组信息
9629
+
9630
+ """
9631
+
9632
+ def __init__(self):
9633
+ r"""
9634
+ :param _LineId: 线路分组ID
9635
+ :type LineId: str
9636
+ :param _Name: 线路分组名称
9637
+ :type Name: str
9638
+ :param _Type: 分组类型
9639
+ :type Type: str
9640
+ :param _LineList: 线路分组包含的线路列表
9641
+ :type LineList: list of str
9642
+ """
9643
+ self._LineId = None
9644
+ self._Name = None
9645
+ self._Type = None
9646
+ self._LineList = None
9647
+
9648
+ @property
9649
+ def LineId(self):
9650
+ return self._LineId
9651
+
9652
+ @LineId.setter
9653
+ def LineId(self, LineId):
9654
+ self._LineId = LineId
9655
+
9656
+ @property
9657
+ def Name(self):
9658
+ return self._Name
9659
+
9660
+ @Name.setter
9661
+ def Name(self, Name):
9662
+ self._Name = Name
9663
+
9664
+ @property
9665
+ def Type(self):
9666
+ return self._Type
9667
+
9668
+ @Type.setter
9669
+ def Type(self, Type):
9670
+ self._Type = Type
9671
+
9672
+ @property
9673
+ def LineList(self):
9674
+ return self._LineList
9675
+
9676
+ @LineList.setter
9677
+ def LineList(self, LineList):
9678
+ self._LineList = LineList
9679
+
9680
+
9681
+ def _deserialize(self, params):
9682
+ self._LineId = params.get("LineId")
9683
+ self._Name = params.get("Name")
9684
+ self._Type = params.get("Type")
9685
+ self._LineList = params.get("LineList")
9686
+ memeber_set = set(params.keys())
9687
+ for name, value in vars(self).items():
9688
+ property_name = name[1:]
9689
+ if property_name in memeber_set:
9690
+ memeber_set.remove(property_name)
9691
+ if len(memeber_set) > 0:
9692
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
9693
+
9694
+
9695
+
9696
+ class LineGroupItem(AbstractModel):
9697
+ """自定义线路分组元素
9698
+
9699
+ """
9700
+
9701
+ def __init__(self):
9702
+ r"""
9703
+ :param _DomainId: 域名ID
9704
+ :type DomainId: int
9705
+ :param _Id: 自定义线路分组ID
9706
+ :type Id: int
9707
+ :param _Name: 自定义线路分组名称
9708
+ :type Name: str
9709
+ :param _Lines: 自定义线路分组包含的线路
9710
+ :type Lines: list of str
9711
+ :param _CreatedOn: 创建时间
9712
+ :type CreatedOn: str
9713
+ :param _UpdatedOn: 更新时间
9714
+ :type UpdatedOn: str
9715
+ """
9716
+ self._DomainId = None
9717
+ self._Id = None
9718
+ self._Name = None
9719
+ self._Lines = None
9720
+ self._CreatedOn = None
9721
+ self._UpdatedOn = None
9722
+
9723
+ @property
9724
+ def DomainId(self):
9725
+ return self._DomainId
9726
+
9727
+ @DomainId.setter
9728
+ def DomainId(self, DomainId):
9729
+ self._DomainId = DomainId
9730
+
9731
+ @property
9732
+ def Id(self):
9733
+ return self._Id
9734
+
9735
+ @Id.setter
9736
+ def Id(self, Id):
9737
+ self._Id = Id
8939
9738
 
8940
- """
9739
+ @property
9740
+ def Name(self):
9741
+ return self._Name
8941
9742
 
8942
- def __init__(self):
8943
- r"""
8944
- :param _Key:
8945
- :type Key: str
8946
- :param _Value: 值
8947
- 注意:此字段可能返回 null,表示取不到有效值。
8948
- :type Value: str
8949
- """
8950
- self._Key = None
8951
- self._Value = None
9743
+ @Name.setter
9744
+ def Name(self, Name):
9745
+ self._Name = Name
8952
9746
 
8953
9747
  @property
8954
- def Key(self):
8955
- return self._Key
9748
+ def Lines(self):
9749
+ return self._Lines
8956
9750
 
8957
- @Key.setter
8958
- def Key(self, Key):
8959
- self._Key = Key
9751
+ @Lines.setter
9752
+ def Lines(self, Lines):
9753
+ self._Lines = Lines
8960
9754
 
8961
9755
  @property
8962
- def Value(self):
8963
- return self._Value
9756
+ def CreatedOn(self):
9757
+ return self._CreatedOn
8964
9758
 
8965
- @Value.setter
8966
- def Value(self, Value):
8967
- self._Value = Value
9759
+ @CreatedOn.setter
9760
+ def CreatedOn(self, CreatedOn):
9761
+ self._CreatedOn = CreatedOn
9762
+
9763
+ @property
9764
+ def UpdatedOn(self):
9765
+ return self._UpdatedOn
9766
+
9767
+ @UpdatedOn.setter
9768
+ def UpdatedOn(self, UpdatedOn):
9769
+ self._UpdatedOn = UpdatedOn
8968
9770
 
8969
9771
 
8970
9772
  def _deserialize(self, params):
8971
- self._Key = params.get("Key")
8972
- self._Value = params.get("Value")
9773
+ self._DomainId = params.get("DomainId")
9774
+ self._Id = params.get("Id")
9775
+ self._Name = params.get("Name")
9776
+ self._Lines = params.get("Lines")
9777
+ self._CreatedOn = params.get("CreatedOn")
9778
+ self._UpdatedOn = params.get("UpdatedOn")
8973
9779
  memeber_set = set(params.keys())
8974
9780
  for name, value in vars(self).items():
8975
9781
  property_name = name[1:]
@@ -8980,65 +9786,53 @@ class KeyValue(AbstractModel):
8980
9786
 
8981
9787
 
8982
9788
 
8983
- class LineGroupInfo(AbstractModel):
8984
- """线路分组信息
9789
+ class LineGroupSum(AbstractModel):
9790
+ """自定义线路数量信息
8985
9791
 
8986
9792
  """
8987
9793
 
8988
9794
  def __init__(self):
8989
9795
  r"""
8990
- :param _LineId: 线路分组ID
8991
- :type LineId: str
8992
- :param _Name: 线路分组名称
8993
- :type Name: str
8994
- :param _Type: 分组类型
8995
- :type Type: str
8996
- :param _LineList: 线路分组包含的线路列表
8997
- :type LineList: list of str
9796
+ :param _NowTotal: 本次请求返回自定义线路分组个数
9797
+ :type NowTotal: int
9798
+ :param _Total: 自定义线路分组总数
9799
+ :type Total: int
9800
+ :param _AvailableCount: 还可允许添加的自定义线路分组个数
9801
+ :type AvailableCount: int
8998
9802
  """
8999
- self._LineId = None
9000
- self._Name = None
9001
- self._Type = None
9002
- self._LineList = None
9003
-
9004
- @property
9005
- def LineId(self):
9006
- return self._LineId
9007
-
9008
- @LineId.setter
9009
- def LineId(self, LineId):
9010
- self._LineId = LineId
9803
+ self._NowTotal = None
9804
+ self._Total = None
9805
+ self._AvailableCount = None
9011
9806
 
9012
9807
  @property
9013
- def Name(self):
9014
- return self._Name
9808
+ def NowTotal(self):
9809
+ return self._NowTotal
9015
9810
 
9016
- @Name.setter
9017
- def Name(self, Name):
9018
- self._Name = Name
9811
+ @NowTotal.setter
9812
+ def NowTotal(self, NowTotal):
9813
+ self._NowTotal = NowTotal
9019
9814
 
9020
9815
  @property
9021
- def Type(self):
9022
- return self._Type
9816
+ def Total(self):
9817
+ return self._Total
9023
9818
 
9024
- @Type.setter
9025
- def Type(self, Type):
9026
- self._Type = Type
9819
+ @Total.setter
9820
+ def Total(self, Total):
9821
+ self._Total = Total
9027
9822
 
9028
9823
  @property
9029
- def LineList(self):
9030
- return self._LineList
9824
+ def AvailableCount(self):
9825
+ return self._AvailableCount
9031
9826
 
9032
- @LineList.setter
9033
- def LineList(self, LineList):
9034
- self._LineList = LineList
9827
+ @AvailableCount.setter
9828
+ def AvailableCount(self, AvailableCount):
9829
+ self._AvailableCount = AvailableCount
9035
9830
 
9036
9831
 
9037
9832
  def _deserialize(self, params):
9038
- self._LineId = params.get("LineId")
9039
- self._Name = params.get("Name")
9040
- self._Type = params.get("Type")
9041
- self._LineList = params.get("LineList")
9833
+ self._NowTotal = params.get("NowTotal")
9834
+ self._Total = params.get("Total")
9835
+ self._AvailableCount = params.get("AvailableCount")
9042
9836
  memeber_set = set(params.keys())
9043
9837
  for name, value in vars(self).items():
9044
9838
  property_name = name[1:]
@@ -9899,36 +10693,181 @@ class ModifyDynamicDNSRequest(AbstractModel):
9899
10693
  self._Ttl = None
9900
10694
 
9901
10695
  @property
9902
- def Domain(self):
9903
- return self._Domain
10696
+ def Domain(self):
10697
+ return self._Domain
10698
+
10699
+ @Domain.setter
10700
+ def Domain(self, Domain):
10701
+ self._Domain = Domain
10702
+
10703
+ @property
10704
+ def RecordId(self):
10705
+ return self._RecordId
10706
+
10707
+ @RecordId.setter
10708
+ def RecordId(self, RecordId):
10709
+ self._RecordId = RecordId
10710
+
10711
+ @property
10712
+ def RecordLine(self):
10713
+ return self._RecordLine
10714
+
10715
+ @RecordLine.setter
10716
+ def RecordLine(self, RecordLine):
10717
+ self._RecordLine = RecordLine
10718
+
10719
+ @property
10720
+ def Value(self):
10721
+ return self._Value
10722
+
10723
+ @Value.setter
10724
+ def Value(self, Value):
10725
+ self._Value = Value
10726
+
10727
+ @property
10728
+ def DomainId(self):
10729
+ return self._DomainId
10730
+
10731
+ @DomainId.setter
10732
+ def DomainId(self, DomainId):
10733
+ self._DomainId = DomainId
10734
+
10735
+ @property
10736
+ def SubDomain(self):
10737
+ return self._SubDomain
10738
+
10739
+ @SubDomain.setter
10740
+ def SubDomain(self, SubDomain):
10741
+ self._SubDomain = SubDomain
10742
+
10743
+ @property
10744
+ def RecordLineId(self):
10745
+ return self._RecordLineId
10746
+
10747
+ @RecordLineId.setter
10748
+ def RecordLineId(self, RecordLineId):
10749
+ self._RecordLineId = RecordLineId
10750
+
10751
+ @property
10752
+ def Ttl(self):
10753
+ return self._Ttl
10754
+
10755
+ @Ttl.setter
10756
+ def Ttl(self, Ttl):
10757
+ self._Ttl = Ttl
10758
+
10759
+
10760
+ def _deserialize(self, params):
10761
+ self._Domain = params.get("Domain")
10762
+ self._RecordId = params.get("RecordId")
10763
+ self._RecordLine = params.get("RecordLine")
10764
+ self._Value = params.get("Value")
10765
+ self._DomainId = params.get("DomainId")
10766
+ self._SubDomain = params.get("SubDomain")
10767
+ self._RecordLineId = params.get("RecordLineId")
10768
+ self._Ttl = params.get("Ttl")
10769
+ memeber_set = set(params.keys())
10770
+ for name, value in vars(self).items():
10771
+ property_name = name[1:]
10772
+ if property_name in memeber_set:
10773
+ memeber_set.remove(property_name)
10774
+ if len(memeber_set) > 0:
10775
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
10776
+
10777
+
10778
+
10779
+ class ModifyDynamicDNSResponse(AbstractModel):
10780
+ """ModifyDynamicDNS返回参数结构体
10781
+
10782
+ """
10783
+
10784
+ def __init__(self):
10785
+ r"""
10786
+ :param _RecordId: 记录ID
10787
+ :type RecordId: int
10788
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10789
+ :type RequestId: str
10790
+ """
10791
+ self._RecordId = None
10792
+ self._RequestId = None
10793
+
10794
+ @property
10795
+ def RecordId(self):
10796
+ return self._RecordId
10797
+
10798
+ @RecordId.setter
10799
+ def RecordId(self, RecordId):
10800
+ self._RecordId = RecordId
10801
+
10802
+ @property
10803
+ def RequestId(self):
10804
+ return self._RequestId
10805
+
10806
+ @RequestId.setter
10807
+ def RequestId(self, RequestId):
10808
+ self._RequestId = RequestId
10809
+
10810
+
10811
+ def _deserialize(self, params):
10812
+ self._RecordId = params.get("RecordId")
10813
+ self._RequestId = params.get("RequestId")
10814
+
10815
+
10816
+ class ModifyLineGroupRequest(AbstractModel):
10817
+ """ModifyLineGroup请求参数结构体
10818
+
10819
+ """
10820
+
10821
+ def __init__(self):
10822
+ r"""
10823
+ :param _Name: 自定义线路分组的名称。
10824
+ :type Name: str
10825
+ :param _Lines: 自定义线路分组包含的线路列表,包含多个线路时用英文逗号分隔。例如,铁通,奇虎
10826
+ :type Lines: str
10827
+ :param _Domain: 域名
10828
+ :type Domain: str
10829
+ :param _LineGroupId: 自定义线路分组ID
10830
+ :type LineGroupId: int
10831
+ :param _DomainId: 域名ID,如果传了DomainId,系统将会忽略Domain参数,优先使用DomainId
10832
+ :type DomainId: int
10833
+ """
10834
+ self._Name = None
10835
+ self._Lines = None
10836
+ self._Domain = None
10837
+ self._LineGroupId = None
10838
+ self._DomainId = None
10839
+
10840
+ @property
10841
+ def Name(self):
10842
+ return self._Name
9904
10843
 
9905
- @Domain.setter
9906
- def Domain(self, Domain):
9907
- self._Domain = Domain
10844
+ @Name.setter
10845
+ def Name(self, Name):
10846
+ self._Name = Name
9908
10847
 
9909
10848
  @property
9910
- def RecordId(self):
9911
- return self._RecordId
10849
+ def Lines(self):
10850
+ return self._Lines
9912
10851
 
9913
- @RecordId.setter
9914
- def RecordId(self, RecordId):
9915
- self._RecordId = RecordId
10852
+ @Lines.setter
10853
+ def Lines(self, Lines):
10854
+ self._Lines = Lines
9916
10855
 
9917
10856
  @property
9918
- def RecordLine(self):
9919
- return self._RecordLine
10857
+ def Domain(self):
10858
+ return self._Domain
9920
10859
 
9921
- @RecordLine.setter
9922
- def RecordLine(self, RecordLine):
9923
- self._RecordLine = RecordLine
10860
+ @Domain.setter
10861
+ def Domain(self, Domain):
10862
+ self._Domain = Domain
9924
10863
 
9925
10864
  @property
9926
- def Value(self):
9927
- return self._Value
10865
+ def LineGroupId(self):
10866
+ return self._LineGroupId
9928
10867
 
9929
- @Value.setter
9930
- def Value(self, Value):
9931
- self._Value = Value
10868
+ @LineGroupId.setter
10869
+ def LineGroupId(self, LineGroupId):
10870
+ self._LineGroupId = LineGroupId
9932
10871
 
9933
10872
  @property
9934
10873
  def DomainId(self):
@@ -9938,40 +10877,13 @@ class ModifyDynamicDNSRequest(AbstractModel):
9938
10877
  def DomainId(self, DomainId):
9939
10878
  self._DomainId = DomainId
9940
10879
 
9941
- @property
9942
- def SubDomain(self):
9943
- return self._SubDomain
9944
-
9945
- @SubDomain.setter
9946
- def SubDomain(self, SubDomain):
9947
- self._SubDomain = SubDomain
9948
-
9949
- @property
9950
- def RecordLineId(self):
9951
- return self._RecordLineId
9952
-
9953
- @RecordLineId.setter
9954
- def RecordLineId(self, RecordLineId):
9955
- self._RecordLineId = RecordLineId
9956
-
9957
- @property
9958
- def Ttl(self):
9959
- return self._Ttl
9960
-
9961
- @Ttl.setter
9962
- def Ttl(self, Ttl):
9963
- self._Ttl = Ttl
9964
-
9965
10880
 
9966
10881
  def _deserialize(self, params):
10882
+ self._Name = params.get("Name")
10883
+ self._Lines = params.get("Lines")
9967
10884
  self._Domain = params.get("Domain")
9968
- self._RecordId = params.get("RecordId")
9969
- self._RecordLine = params.get("RecordLine")
9970
- self._Value = params.get("Value")
10885
+ self._LineGroupId = params.get("LineGroupId")
9971
10886
  self._DomainId = params.get("DomainId")
9972
- self._SubDomain = params.get("SubDomain")
9973
- self._RecordLineId = params.get("RecordLineId")
9974
- self._Ttl = params.get("Ttl")
9975
10887
  memeber_set = set(params.keys())
9976
10888
  for name, value in vars(self).items():
9977
10889
  property_name = name[1:]
@@ -9982,29 +10894,18 @@ class ModifyDynamicDNSRequest(AbstractModel):
9982
10894
 
9983
10895
 
9984
10896
 
9985
- class ModifyDynamicDNSResponse(AbstractModel):
9986
- """ModifyDynamicDNS返回参数结构体
10897
+ class ModifyLineGroupResponse(AbstractModel):
10898
+ """ModifyLineGroup返回参数结构体
9987
10899
 
9988
10900
  """
9989
10901
 
9990
10902
  def __init__(self):
9991
10903
  r"""
9992
- :param _RecordId: 记录ID
9993
- :type RecordId: int
9994
10904
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9995
10905
  :type RequestId: str
9996
10906
  """
9997
- self._RecordId = None
9998
10907
  self._RequestId = None
9999
10908
 
10000
- @property
10001
- def RecordId(self):
10002
- return self._RecordId
10003
-
10004
- @RecordId.setter
10005
- def RecordId(self, RecordId):
10006
- self._RecordId = RecordId
10007
-
10008
10909
  @property
10009
10910
  def RequestId(self):
10010
10911
  return self._RequestId
@@ -10015,7 +10916,6 @@ class ModifyDynamicDNSResponse(AbstractModel):
10015
10916
 
10016
10917
 
10017
10918
  def _deserialize(self, params):
10018
- self._RecordId = params.get("RecordId")
10019
10919
  self._RequestId = params.get("RequestId")
10020
10920
 
10021
10921
 
@@ -11278,6 +12178,184 @@ class ModifySubdomainStatusResponse(AbstractModel):
11278
12178
  self._RequestId = params.get("RequestId")
11279
12179
 
11280
12180
 
12181
+ class ModifyTXTRecordRequest(AbstractModel):
12182
+ """ModifyTXTRecord请求参数结构体
12183
+
12184
+ """
12185
+
12186
+ def __init__(self):
12187
+ r"""
12188
+ :param _Domain: 域名
12189
+ :type Domain: str
12190
+ :param _RecordLine: 记录线路,通过 API 记录线路获得,中文,比如:默认。
12191
+ :type RecordLine: str
12192
+ :param _Value: 记录值,如 IP : 200.200.200.200, CNAME : cname.dnspod.com., MX : mail.dnspod.com.。
12193
+ :type Value: str
12194
+ :param _RecordId: 记录 ID 。可以通过接口DescribeRecordList查到所有的解析记录列表以及对应的RecordId
12195
+ :type RecordId: int
12196
+ :param _DomainId: 域名 ID 。参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain 。可以通过接口DescribeDomainList查到所有的Domain以及DomainId
12197
+ :type DomainId: int
12198
+ :param _SubDomain: 主机记录,如 www,如果不传,默认为 @。
12199
+ :type SubDomain: str
12200
+ :param _RecordLineId: 线路的 ID,通过 API 记录线路获得,英文字符串,比如:10=1。参数RecordLineId优先级高于RecordLine,如果同时传递二者,优先使用RecordLineId参数。
12201
+ :type RecordLineId: str
12202
+ :param _TTL: TTL,范围1-604800,不同等级域名最小值不同。
12203
+ :type TTL: int
12204
+ :param _Status: 记录初始状态,取值范围为 ENABLE 和 DISABLE 。默认为 ENABLE ,如果传入 DISABLE,解析不会生效,也不会验证负载均衡的限制。
12205
+ :type Status: str
12206
+ :param _Remark: 记录的备注信息。传空删除备注。
12207
+ :type Remark: str
12208
+ """
12209
+ self._Domain = None
12210
+ self._RecordLine = None
12211
+ self._Value = None
12212
+ self._RecordId = None
12213
+ self._DomainId = None
12214
+ self._SubDomain = None
12215
+ self._RecordLineId = None
12216
+ self._TTL = None
12217
+ self._Status = None
12218
+ self._Remark = None
12219
+
12220
+ @property
12221
+ def Domain(self):
12222
+ return self._Domain
12223
+
12224
+ @Domain.setter
12225
+ def Domain(self, Domain):
12226
+ self._Domain = Domain
12227
+
12228
+ @property
12229
+ def RecordLine(self):
12230
+ return self._RecordLine
12231
+
12232
+ @RecordLine.setter
12233
+ def RecordLine(self, RecordLine):
12234
+ self._RecordLine = RecordLine
12235
+
12236
+ @property
12237
+ def Value(self):
12238
+ return self._Value
12239
+
12240
+ @Value.setter
12241
+ def Value(self, Value):
12242
+ self._Value = Value
12243
+
12244
+ @property
12245
+ def RecordId(self):
12246
+ return self._RecordId
12247
+
12248
+ @RecordId.setter
12249
+ def RecordId(self, RecordId):
12250
+ self._RecordId = RecordId
12251
+
12252
+ @property
12253
+ def DomainId(self):
12254
+ return self._DomainId
12255
+
12256
+ @DomainId.setter
12257
+ def DomainId(self, DomainId):
12258
+ self._DomainId = DomainId
12259
+
12260
+ @property
12261
+ def SubDomain(self):
12262
+ return self._SubDomain
12263
+
12264
+ @SubDomain.setter
12265
+ def SubDomain(self, SubDomain):
12266
+ self._SubDomain = SubDomain
12267
+
12268
+ @property
12269
+ def RecordLineId(self):
12270
+ return self._RecordLineId
12271
+
12272
+ @RecordLineId.setter
12273
+ def RecordLineId(self, RecordLineId):
12274
+ self._RecordLineId = RecordLineId
12275
+
12276
+ @property
12277
+ def TTL(self):
12278
+ return self._TTL
12279
+
12280
+ @TTL.setter
12281
+ def TTL(self, TTL):
12282
+ self._TTL = TTL
12283
+
12284
+ @property
12285
+ def Status(self):
12286
+ return self._Status
12287
+
12288
+ @Status.setter
12289
+ def Status(self, Status):
12290
+ self._Status = Status
12291
+
12292
+ @property
12293
+ def Remark(self):
12294
+ return self._Remark
12295
+
12296
+ @Remark.setter
12297
+ def Remark(self, Remark):
12298
+ self._Remark = Remark
12299
+
12300
+
12301
+ def _deserialize(self, params):
12302
+ self._Domain = params.get("Domain")
12303
+ self._RecordLine = params.get("RecordLine")
12304
+ self._Value = params.get("Value")
12305
+ self._RecordId = params.get("RecordId")
12306
+ self._DomainId = params.get("DomainId")
12307
+ self._SubDomain = params.get("SubDomain")
12308
+ self._RecordLineId = params.get("RecordLineId")
12309
+ self._TTL = params.get("TTL")
12310
+ self._Status = params.get("Status")
12311
+ self._Remark = params.get("Remark")
12312
+ memeber_set = set(params.keys())
12313
+ for name, value in vars(self).items():
12314
+ property_name = name[1:]
12315
+ if property_name in memeber_set:
12316
+ memeber_set.remove(property_name)
12317
+ if len(memeber_set) > 0:
12318
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
12319
+
12320
+
12321
+
12322
+ class ModifyTXTRecordResponse(AbstractModel):
12323
+ """ModifyTXTRecord返回参数结构体
12324
+
12325
+ """
12326
+
12327
+ def __init__(self):
12328
+ r"""
12329
+ :param _RecordId: 记录ID
12330
+ :type RecordId: int
12331
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12332
+ :type RequestId: str
12333
+ """
12334
+ self._RecordId = None
12335
+ self._RequestId = None
12336
+
12337
+ @property
12338
+ def RecordId(self):
12339
+ return self._RecordId
12340
+
12341
+ @RecordId.setter
12342
+ def RecordId(self, RecordId):
12343
+ self._RecordId = RecordId
12344
+
12345
+ @property
12346
+ def RequestId(self):
12347
+ return self._RequestId
12348
+
12349
+ @RequestId.setter
12350
+ def RequestId(self, RequestId):
12351
+ self._RequestId = RequestId
12352
+
12353
+
12354
+ def _deserialize(self, params):
12355
+ self._RecordId = params.get("RecordId")
12356
+ self._RequestId = params.get("RequestId")
12357
+
12358
+
11281
12359
  class ModifyVasAutoRenewStatusRequest(AbstractModel):
11282
12360
  """ModifyVasAutoRenewStatus请求参数结构体
11283
12361