tencentcloud-sdk-python-dnspod 3.1.58__tar.gz → 3.1.73__tar.gz
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_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/setup.py +1 -1
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/dnspod_client_async.py +36 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/models.py +474 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_dnspod-3.1.73/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_dnspod-3.1.58/tencentcloud_sdk_python_dnspod.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/README.rst +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/setup.cfg +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/__init__.py +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud/dnspod/v20210323/__init__.py +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_dnspod-3.1.58 → tencentcloud_sdk_python_dnspod-3.1.73}/tencentcloud_sdk_python_dnspod.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dnspod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.73
|
|
4
4
|
Summary: Tencent Cloud Dnspod SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-dnspod',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.73,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Dnspod SDK for Python',
|
|
@@ -72,6 +72,29 @@ class DnspodClient(AbstractClient):
|
|
|
72
72
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
73
73
|
|
|
74
74
|
|
|
75
|
+
def CreateAndPayDeal(self, request):
|
|
76
|
+
r"""DNSPod商品下单并支付
|
|
77
|
+
|
|
78
|
+
:param request: Request instance for CreateAndPayDeal.
|
|
79
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.CreateAndPayDealRequest`
|
|
80
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.CreateAndPayDealResponse`
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
try:
|
|
84
|
+
params = request._serialize()
|
|
85
|
+
headers = request.headers
|
|
86
|
+
body = self.call("CreateAndPayDeal", params, headers=headers)
|
|
87
|
+
response = json.loads(body)
|
|
88
|
+
model = models.CreateAndPayDealResponse()
|
|
89
|
+
model._deserialize(response["Response"])
|
|
90
|
+
return model
|
|
91
|
+
except Exception as e:
|
|
92
|
+
if isinstance(e, TencentCloudSDKException):
|
|
93
|
+
raise
|
|
94
|
+
else:
|
|
95
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
96
|
+
|
|
97
|
+
|
|
75
98
|
def CreateDeal(self, request):
|
|
76
99
|
r"""DNSPod商品下单
|
|
77
100
|
|
|
@@ -1922,6 +1945,29 @@ class DnspodClient(AbstractClient):
|
|
|
1922
1945
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1923
1946
|
|
|
1924
1947
|
|
|
1948
|
+
def ModifyRecordBatchV3(self, request):
|
|
1949
|
+
r"""批量修改记录
|
|
1950
|
+
|
|
1951
|
+
:param request: Request instance for ModifyRecordBatchV3.
|
|
1952
|
+
:type request: :class:`tencentcloud.dnspod.v20210323.models.ModifyRecordBatchV3Request`
|
|
1953
|
+
:rtype: :class:`tencentcloud.dnspod.v20210323.models.ModifyRecordBatchV3Response`
|
|
1954
|
+
|
|
1955
|
+
"""
|
|
1956
|
+
try:
|
|
1957
|
+
params = request._serialize()
|
|
1958
|
+
headers = request.headers
|
|
1959
|
+
body = self.call("ModifyRecordBatchV3", params, headers=headers)
|
|
1960
|
+
response = json.loads(body)
|
|
1961
|
+
model = models.ModifyRecordBatchV3Response()
|
|
1962
|
+
model._deserialize(response["Response"])
|
|
1963
|
+
return model
|
|
1964
|
+
except Exception as e:
|
|
1965
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1966
|
+
raise
|
|
1967
|
+
else:
|
|
1968
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1969
|
+
|
|
1970
|
+
|
|
1925
1971
|
def ModifyRecordFields(self, request):
|
|
1926
1972
|
r"""修改记录可选字段
|
|
1927
1973
|
|
|
@@ -61,6 +61,24 @@ class DnspodClient(AbstractClient):
|
|
|
61
61
|
|
|
62
62
|
return await self.call_and_deserialize(**kwargs)
|
|
63
63
|
|
|
64
|
+
async def CreateAndPayDeal(
|
|
65
|
+
self,
|
|
66
|
+
request: models.CreateAndPayDealRequest,
|
|
67
|
+
opts: Dict = None,
|
|
68
|
+
) -> models.CreateAndPayDealResponse:
|
|
69
|
+
"""
|
|
70
|
+
DNSPod商品下单并支付
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
kwargs = {}
|
|
74
|
+
kwargs["action"] = "CreateAndPayDeal"
|
|
75
|
+
kwargs["params"] = request._serialize()
|
|
76
|
+
kwargs["resp_cls"] = models.CreateAndPayDealResponse
|
|
77
|
+
kwargs["headers"] = request.headers
|
|
78
|
+
kwargs["opts"] = opts or {}
|
|
79
|
+
|
|
80
|
+
return await self.call_and_deserialize(**kwargs)
|
|
81
|
+
|
|
64
82
|
async def CreateDeal(
|
|
65
83
|
self,
|
|
66
84
|
request: models.CreateDealRequest,
|
|
@@ -1511,6 +1529,24 @@ class DnspodClient(AbstractClient):
|
|
|
1511
1529
|
|
|
1512
1530
|
return await self.call_and_deserialize(**kwargs)
|
|
1513
1531
|
|
|
1532
|
+
async def ModifyRecordBatchV3(
|
|
1533
|
+
self,
|
|
1534
|
+
request: models.ModifyRecordBatchV3Request,
|
|
1535
|
+
opts: Dict = None,
|
|
1536
|
+
) -> models.ModifyRecordBatchV3Response:
|
|
1537
|
+
"""
|
|
1538
|
+
批量修改记录
|
|
1539
|
+
"""
|
|
1540
|
+
|
|
1541
|
+
kwargs = {}
|
|
1542
|
+
kwargs["action"] = "ModifyRecordBatchV3"
|
|
1543
|
+
kwargs["params"] = request._serialize()
|
|
1544
|
+
kwargs["resp_cls"] = models.ModifyRecordBatchV3Response
|
|
1545
|
+
kwargs["headers"] = request.headers
|
|
1546
|
+
kwargs["opts"] = opts or {}
|
|
1547
|
+
|
|
1548
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1549
|
+
|
|
1514
1550
|
async def ModifyRecordFields(
|
|
1515
1551
|
self,
|
|
1516
1552
|
request: models.ModifyRecordFieldsRequest,
|
|
@@ -221,6 +221,9 @@ INVALIDPARAMETER_BILLNUMBERINVALID = 'InvalidParameter.BillNumberInvalid'
|
|
|
221
221
|
# 浏览器字段为空。
|
|
222
222
|
INVALIDPARAMETER_BROWSERNULL = 'InvalidParameter.BrowserNull'
|
|
223
223
|
|
|
224
|
+
# Client token 参数过长
|
|
225
|
+
INVALIDPARAMETER_CLIENTTOKENTOOLONG = 'InvalidParameter.ClientTokenTooLong'
|
|
226
|
+
|
|
224
227
|
# 您操作过于频繁,请稍后重试。
|
|
225
228
|
INVALIDPARAMETER_COMMON = 'InvalidParameter.Common'
|
|
226
229
|
|
|
@@ -1009,6 +1009,225 @@ class CheckSnapshotRollbackResponse(AbstractModel):
|
|
|
1009
1009
|
self._RequestId = params.get("RequestId")
|
|
1010
1010
|
|
|
1011
1011
|
|
|
1012
|
+
class CreateAndPayDealRequest(AbstractModel):
|
|
1013
|
+
r"""CreateAndPayDeal请求参数结构体
|
|
1014
|
+
|
|
1015
|
+
"""
|
|
1016
|
+
|
|
1017
|
+
def __init__(self):
|
|
1018
|
+
r"""
|
|
1019
|
+
:param _DealType: <p>询价类型,1 新购,2 续费,3 套餐升级(增值服务暂时只支持新购)</p>
|
|
1020
|
+
:type DealType: int
|
|
1021
|
+
:param _GoodsType: <p>商品类型,1 域名套餐 2 增值服务</p>
|
|
1022
|
+
:type GoodsType: int
|
|
1023
|
+
:param _GoodsChildType: <p>套餐类型:<br>DP_PLUS:专业版<br>DP_EXPERT:企业版<br>DP_ULTRA:尊享版</p><p>增值服务类型<br>LB:负载均衡<br>URL:URL转发<br>DMONITOR_TASKS:D监控任务数<br>DMONITOR_IP:D监控备用 IP 数<br>CUSTOMLINE:自定义线路数</p>
|
|
1024
|
+
:type GoodsChildType: str
|
|
1025
|
+
:param _GoodsNum: <p>增值服务购买数量,如果是域名套餐固定为1,如果是增值服务则按以下规则:<br>负载均衡、D监控任务数、D监控备用 IP 数、自定义线路数、URL 转发(必须是5的正整数倍,如 5、10、15 等)</p>
|
|
1026
|
+
:type GoodsNum: int
|
|
1027
|
+
:param _AutoRenew: <p>是否开启自动续费,1 开启,2 不开启(增值服务暂不支持自动续费),默认值为 2 不开启</p>
|
|
1028
|
+
:type AutoRenew: int
|
|
1029
|
+
:param _Domain: <p>需要绑定套餐的域名,如 dnspod.cn,如果是续费或升级,domain 参数必须要传,新购可不传。</p>
|
|
1030
|
+
:type Domain: str
|
|
1031
|
+
:param _TimeSpan: <p>套餐时长:</p><ol><li>套餐以月为单位(按月只能是 3、6 还有 12 的倍数),套餐例如购买一年则传12,最大120 。(续费最低一年)</li><li>升级套餐时不需要传。</li><li>增值服务的时长单位为年,买一年传1(增值服务新购按年只能是 1,增值服务续费最大为 10)</li></ol>
|
|
1032
|
+
:type TimeSpan: int
|
|
1033
|
+
:param _NewPackageType: <p>套餐类型,需要升级到的套餐类型,只有升级时需要。</p>
|
|
1034
|
+
:type NewPackageType: str
|
|
1035
|
+
:param _ClientToken: <p>可重入ID,避免接口重试场景生成额外订单和实例</p><p>入参限制:长度不超过70个字符</p>
|
|
1036
|
+
:type ClientToken: str
|
|
1037
|
+
"""
|
|
1038
|
+
self._DealType = None
|
|
1039
|
+
self._GoodsType = None
|
|
1040
|
+
self._GoodsChildType = None
|
|
1041
|
+
self._GoodsNum = None
|
|
1042
|
+
self._AutoRenew = None
|
|
1043
|
+
self._Domain = None
|
|
1044
|
+
self._TimeSpan = None
|
|
1045
|
+
self._NewPackageType = None
|
|
1046
|
+
self._ClientToken = None
|
|
1047
|
+
|
|
1048
|
+
@property
|
|
1049
|
+
def DealType(self):
|
|
1050
|
+
r"""<p>询价类型,1 新购,2 续费,3 套餐升级(增值服务暂时只支持新购)</p>
|
|
1051
|
+
:rtype: int
|
|
1052
|
+
"""
|
|
1053
|
+
return self._DealType
|
|
1054
|
+
|
|
1055
|
+
@DealType.setter
|
|
1056
|
+
def DealType(self, DealType):
|
|
1057
|
+
self._DealType = DealType
|
|
1058
|
+
|
|
1059
|
+
@property
|
|
1060
|
+
def GoodsType(self):
|
|
1061
|
+
r"""<p>商品类型,1 域名套餐 2 增值服务</p>
|
|
1062
|
+
:rtype: int
|
|
1063
|
+
"""
|
|
1064
|
+
return self._GoodsType
|
|
1065
|
+
|
|
1066
|
+
@GoodsType.setter
|
|
1067
|
+
def GoodsType(self, GoodsType):
|
|
1068
|
+
self._GoodsType = GoodsType
|
|
1069
|
+
|
|
1070
|
+
@property
|
|
1071
|
+
def GoodsChildType(self):
|
|
1072
|
+
r"""<p>套餐类型:<br>DP_PLUS:专业版<br>DP_EXPERT:企业版<br>DP_ULTRA:尊享版</p><p>增值服务类型<br>LB:负载均衡<br>URL:URL转发<br>DMONITOR_TASKS:D监控任务数<br>DMONITOR_IP:D监控备用 IP 数<br>CUSTOMLINE:自定义线路数</p>
|
|
1073
|
+
:rtype: str
|
|
1074
|
+
"""
|
|
1075
|
+
return self._GoodsChildType
|
|
1076
|
+
|
|
1077
|
+
@GoodsChildType.setter
|
|
1078
|
+
def GoodsChildType(self, GoodsChildType):
|
|
1079
|
+
self._GoodsChildType = GoodsChildType
|
|
1080
|
+
|
|
1081
|
+
@property
|
|
1082
|
+
def GoodsNum(self):
|
|
1083
|
+
r"""<p>增值服务购买数量,如果是域名套餐固定为1,如果是增值服务则按以下规则:<br>负载均衡、D监控任务数、D监控备用 IP 数、自定义线路数、URL 转发(必须是5的正整数倍,如 5、10、15 等)</p>
|
|
1084
|
+
:rtype: int
|
|
1085
|
+
"""
|
|
1086
|
+
return self._GoodsNum
|
|
1087
|
+
|
|
1088
|
+
@GoodsNum.setter
|
|
1089
|
+
def GoodsNum(self, GoodsNum):
|
|
1090
|
+
self._GoodsNum = GoodsNum
|
|
1091
|
+
|
|
1092
|
+
@property
|
|
1093
|
+
def AutoRenew(self):
|
|
1094
|
+
r"""<p>是否开启自动续费,1 开启,2 不开启(增值服务暂不支持自动续费),默认值为 2 不开启</p>
|
|
1095
|
+
:rtype: int
|
|
1096
|
+
"""
|
|
1097
|
+
return self._AutoRenew
|
|
1098
|
+
|
|
1099
|
+
@AutoRenew.setter
|
|
1100
|
+
def AutoRenew(self, AutoRenew):
|
|
1101
|
+
self._AutoRenew = AutoRenew
|
|
1102
|
+
|
|
1103
|
+
@property
|
|
1104
|
+
def Domain(self):
|
|
1105
|
+
r"""<p>需要绑定套餐的域名,如 dnspod.cn,如果是续费或升级,domain 参数必须要传,新购可不传。</p>
|
|
1106
|
+
:rtype: str
|
|
1107
|
+
"""
|
|
1108
|
+
return self._Domain
|
|
1109
|
+
|
|
1110
|
+
@Domain.setter
|
|
1111
|
+
def Domain(self, Domain):
|
|
1112
|
+
self._Domain = Domain
|
|
1113
|
+
|
|
1114
|
+
@property
|
|
1115
|
+
def TimeSpan(self):
|
|
1116
|
+
r"""<p>套餐时长:</p><ol><li>套餐以月为单位(按月只能是 3、6 还有 12 的倍数),套餐例如购买一年则传12,最大120 。(续费最低一年)</li><li>升级套餐时不需要传。</li><li>增值服务的时长单位为年,买一年传1(增值服务新购按年只能是 1,增值服务续费最大为 10)</li></ol>
|
|
1117
|
+
:rtype: int
|
|
1118
|
+
"""
|
|
1119
|
+
return self._TimeSpan
|
|
1120
|
+
|
|
1121
|
+
@TimeSpan.setter
|
|
1122
|
+
def TimeSpan(self, TimeSpan):
|
|
1123
|
+
self._TimeSpan = TimeSpan
|
|
1124
|
+
|
|
1125
|
+
@property
|
|
1126
|
+
def NewPackageType(self):
|
|
1127
|
+
r"""<p>套餐类型,需要升级到的套餐类型,只有升级时需要。</p>
|
|
1128
|
+
:rtype: str
|
|
1129
|
+
"""
|
|
1130
|
+
return self._NewPackageType
|
|
1131
|
+
|
|
1132
|
+
@NewPackageType.setter
|
|
1133
|
+
def NewPackageType(self, NewPackageType):
|
|
1134
|
+
self._NewPackageType = NewPackageType
|
|
1135
|
+
|
|
1136
|
+
@property
|
|
1137
|
+
def ClientToken(self):
|
|
1138
|
+
r"""<p>可重入ID,避免接口重试场景生成额外订单和实例</p><p>入参限制:长度不超过70个字符</p>
|
|
1139
|
+
:rtype: str
|
|
1140
|
+
"""
|
|
1141
|
+
return self._ClientToken
|
|
1142
|
+
|
|
1143
|
+
@ClientToken.setter
|
|
1144
|
+
def ClientToken(self, ClientToken):
|
|
1145
|
+
self._ClientToken = ClientToken
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
def _deserialize(self, params):
|
|
1149
|
+
self._DealType = params.get("DealType")
|
|
1150
|
+
self._GoodsType = params.get("GoodsType")
|
|
1151
|
+
self._GoodsChildType = params.get("GoodsChildType")
|
|
1152
|
+
self._GoodsNum = params.get("GoodsNum")
|
|
1153
|
+
self._AutoRenew = params.get("AutoRenew")
|
|
1154
|
+
self._Domain = params.get("Domain")
|
|
1155
|
+
self._TimeSpan = params.get("TimeSpan")
|
|
1156
|
+
self._NewPackageType = params.get("NewPackageType")
|
|
1157
|
+
self._ClientToken = params.get("ClientToken")
|
|
1158
|
+
memeber_set = set(params.keys())
|
|
1159
|
+
for name, value in vars(self).items():
|
|
1160
|
+
property_name = name[1:]
|
|
1161
|
+
if property_name in memeber_set:
|
|
1162
|
+
memeber_set.remove(property_name)
|
|
1163
|
+
if len(memeber_set) > 0:
|
|
1164
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
1165
|
+
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
class CreateAndPayDealResponse(AbstractModel):
|
|
1169
|
+
r"""CreateAndPayDeal返回参数结构体
|
|
1170
|
+
|
|
1171
|
+
"""
|
|
1172
|
+
|
|
1173
|
+
def __init__(self):
|
|
1174
|
+
r"""
|
|
1175
|
+
:param _BigDealId: <p>大订单号,一个大订单号下可以有多个子订单,说明是同一次下单</p>
|
|
1176
|
+
:type BigDealId: str
|
|
1177
|
+
:param _DealList: <p>子订单列表</p>
|
|
1178
|
+
:type DealList: list of Deals
|
|
1179
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1180
|
+
:type RequestId: str
|
|
1181
|
+
"""
|
|
1182
|
+
self._BigDealId = None
|
|
1183
|
+
self._DealList = None
|
|
1184
|
+
self._RequestId = None
|
|
1185
|
+
|
|
1186
|
+
@property
|
|
1187
|
+
def BigDealId(self):
|
|
1188
|
+
r"""<p>大订单号,一个大订单号下可以有多个子订单,说明是同一次下单</p>
|
|
1189
|
+
:rtype: str
|
|
1190
|
+
"""
|
|
1191
|
+
return self._BigDealId
|
|
1192
|
+
|
|
1193
|
+
@BigDealId.setter
|
|
1194
|
+
def BigDealId(self, BigDealId):
|
|
1195
|
+
self._BigDealId = BigDealId
|
|
1196
|
+
|
|
1197
|
+
@property
|
|
1198
|
+
def DealList(self):
|
|
1199
|
+
r"""<p>子订单列表</p>
|
|
1200
|
+
:rtype: list of Deals
|
|
1201
|
+
"""
|
|
1202
|
+
return self._DealList
|
|
1203
|
+
|
|
1204
|
+
@DealList.setter
|
|
1205
|
+
def DealList(self, DealList):
|
|
1206
|
+
self._DealList = DealList
|
|
1207
|
+
|
|
1208
|
+
@property
|
|
1209
|
+
def RequestId(self):
|
|
1210
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1211
|
+
:rtype: str
|
|
1212
|
+
"""
|
|
1213
|
+
return self._RequestId
|
|
1214
|
+
|
|
1215
|
+
@RequestId.setter
|
|
1216
|
+
def RequestId(self, RequestId):
|
|
1217
|
+
self._RequestId = RequestId
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
def _deserialize(self, params):
|
|
1221
|
+
self._BigDealId = params.get("BigDealId")
|
|
1222
|
+
if params.get("DealList") is not None:
|
|
1223
|
+
self._DealList = []
|
|
1224
|
+
for item in params.get("DealList"):
|
|
1225
|
+
obj = Deals()
|
|
1226
|
+
obj._deserialize(item)
|
|
1227
|
+
self._DealList.append(obj)
|
|
1228
|
+
self._RequestId = params.get("RequestId")
|
|
1229
|
+
|
|
1230
|
+
|
|
1012
1231
|
class CreateDealRequest(AbstractModel):
|
|
1013
1232
|
r"""CreateDeal请求参数结构体
|
|
1014
1233
|
|
|
@@ -15372,6 +15591,90 @@ class ModifyRecordBatchResponse(AbstractModel):
|
|
|
15372
15591
|
self._RequestId = params.get("RequestId")
|
|
15373
15592
|
|
|
15374
15593
|
|
|
15594
|
+
class ModifyRecordBatchV3Request(AbstractModel):
|
|
15595
|
+
r"""ModifyRecordBatchV3请求参数结构体
|
|
15596
|
+
|
|
15597
|
+
"""
|
|
15598
|
+
|
|
15599
|
+
def __init__(self):
|
|
15600
|
+
r"""
|
|
15601
|
+
:param _ModifyRecordList: 需要修改的记录列表
|
|
15602
|
+
:type ModifyRecordList: list of ModifyRecordItem
|
|
15603
|
+
"""
|
|
15604
|
+
self._ModifyRecordList = None
|
|
15605
|
+
|
|
15606
|
+
@property
|
|
15607
|
+
def ModifyRecordList(self):
|
|
15608
|
+
r"""需要修改的记录列表
|
|
15609
|
+
:rtype: list of ModifyRecordItem
|
|
15610
|
+
"""
|
|
15611
|
+
return self._ModifyRecordList
|
|
15612
|
+
|
|
15613
|
+
@ModifyRecordList.setter
|
|
15614
|
+
def ModifyRecordList(self, ModifyRecordList):
|
|
15615
|
+
self._ModifyRecordList = ModifyRecordList
|
|
15616
|
+
|
|
15617
|
+
|
|
15618
|
+
def _deserialize(self, params):
|
|
15619
|
+
if params.get("ModifyRecordList") is not None:
|
|
15620
|
+
self._ModifyRecordList = []
|
|
15621
|
+
for item in params.get("ModifyRecordList"):
|
|
15622
|
+
obj = ModifyRecordItem()
|
|
15623
|
+
obj._deserialize(item)
|
|
15624
|
+
self._ModifyRecordList.append(obj)
|
|
15625
|
+
memeber_set = set(params.keys())
|
|
15626
|
+
for name, value in vars(self).items():
|
|
15627
|
+
property_name = name[1:]
|
|
15628
|
+
if property_name in memeber_set:
|
|
15629
|
+
memeber_set.remove(property_name)
|
|
15630
|
+
if len(memeber_set) > 0:
|
|
15631
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15632
|
+
|
|
15633
|
+
|
|
15634
|
+
|
|
15635
|
+
class ModifyRecordBatchV3Response(AbstractModel):
|
|
15636
|
+
r"""ModifyRecordBatchV3返回参数结构体
|
|
15637
|
+
|
|
15638
|
+
"""
|
|
15639
|
+
|
|
15640
|
+
def __init__(self):
|
|
15641
|
+
r"""
|
|
15642
|
+
:param _JobId: 批量任务ID
|
|
15643
|
+
:type JobId: int
|
|
15644
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15645
|
+
:type RequestId: str
|
|
15646
|
+
"""
|
|
15647
|
+
self._JobId = None
|
|
15648
|
+
self._RequestId = None
|
|
15649
|
+
|
|
15650
|
+
@property
|
|
15651
|
+
def JobId(self):
|
|
15652
|
+
r"""批量任务ID
|
|
15653
|
+
:rtype: int
|
|
15654
|
+
"""
|
|
15655
|
+
return self._JobId
|
|
15656
|
+
|
|
15657
|
+
@JobId.setter
|
|
15658
|
+
def JobId(self, JobId):
|
|
15659
|
+
self._JobId = JobId
|
|
15660
|
+
|
|
15661
|
+
@property
|
|
15662
|
+
def RequestId(self):
|
|
15663
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15664
|
+
:rtype: str
|
|
15665
|
+
"""
|
|
15666
|
+
return self._RequestId
|
|
15667
|
+
|
|
15668
|
+
@RequestId.setter
|
|
15669
|
+
def RequestId(self, RequestId):
|
|
15670
|
+
self._RequestId = RequestId
|
|
15671
|
+
|
|
15672
|
+
|
|
15673
|
+
def _deserialize(self, params):
|
|
15674
|
+
self._JobId = params.get("JobId")
|
|
15675
|
+
self._RequestId = params.get("RequestId")
|
|
15676
|
+
|
|
15677
|
+
|
|
15375
15678
|
class ModifyRecordFieldsRequest(AbstractModel):
|
|
15376
15679
|
r"""ModifyRecordFields请求参数结构体
|
|
15377
15680
|
|
|
@@ -15625,6 +15928,177 @@ class ModifyRecordGroupResponse(AbstractModel):
|
|
|
15625
15928
|
self._RequestId = params.get("RequestId")
|
|
15626
15929
|
|
|
15627
15930
|
|
|
15931
|
+
class ModifyRecordItem(AbstractModel):
|
|
15932
|
+
r"""批量修改记录入参,指定修改的记录ID和记录内容
|
|
15933
|
+
|
|
15934
|
+
"""
|
|
15935
|
+
|
|
15936
|
+
def __init__(self):
|
|
15937
|
+
r"""
|
|
15938
|
+
:param _RecordId: 记录 ID
|
|
15939
|
+
:type RecordId: int
|
|
15940
|
+
:param _SubDomain: 主机记录
|
|
15941
|
+
:type SubDomain: str
|
|
15942
|
+
:param _RecordType: 记录类型
|
|
15943
|
+
:type RecordType: str
|
|
15944
|
+
:param _RecordLine: 记录线路
|
|
15945
|
+
:type RecordLine: str
|
|
15946
|
+
:param _Value: 记录值
|
|
15947
|
+
:type Value: str
|
|
15948
|
+
:param _Enabled: 解析记录状态 1:开启 0:暂停
|
|
15949
|
+
:type Enabled: str
|
|
15950
|
+
:param _Remark: 备注信息
|
|
15951
|
+
:type Remark: str
|
|
15952
|
+
:param _Weight: 权重
|
|
15953
|
+
:type Weight: int
|
|
15954
|
+
:param _MX: MX优先级
|
|
15955
|
+
:type MX: int
|
|
15956
|
+
:param _TTL: TTL缓存时间
|
|
15957
|
+
:type TTL: int
|
|
15958
|
+
"""
|
|
15959
|
+
self._RecordId = None
|
|
15960
|
+
self._SubDomain = None
|
|
15961
|
+
self._RecordType = None
|
|
15962
|
+
self._RecordLine = None
|
|
15963
|
+
self._Value = None
|
|
15964
|
+
self._Enabled = None
|
|
15965
|
+
self._Remark = None
|
|
15966
|
+
self._Weight = None
|
|
15967
|
+
self._MX = None
|
|
15968
|
+
self._TTL = None
|
|
15969
|
+
|
|
15970
|
+
@property
|
|
15971
|
+
def RecordId(self):
|
|
15972
|
+
r"""记录 ID
|
|
15973
|
+
:rtype: int
|
|
15974
|
+
"""
|
|
15975
|
+
return self._RecordId
|
|
15976
|
+
|
|
15977
|
+
@RecordId.setter
|
|
15978
|
+
def RecordId(self, RecordId):
|
|
15979
|
+
self._RecordId = RecordId
|
|
15980
|
+
|
|
15981
|
+
@property
|
|
15982
|
+
def SubDomain(self):
|
|
15983
|
+
r"""主机记录
|
|
15984
|
+
:rtype: str
|
|
15985
|
+
"""
|
|
15986
|
+
return self._SubDomain
|
|
15987
|
+
|
|
15988
|
+
@SubDomain.setter
|
|
15989
|
+
def SubDomain(self, SubDomain):
|
|
15990
|
+
self._SubDomain = SubDomain
|
|
15991
|
+
|
|
15992
|
+
@property
|
|
15993
|
+
def RecordType(self):
|
|
15994
|
+
r"""记录类型
|
|
15995
|
+
:rtype: str
|
|
15996
|
+
"""
|
|
15997
|
+
return self._RecordType
|
|
15998
|
+
|
|
15999
|
+
@RecordType.setter
|
|
16000
|
+
def RecordType(self, RecordType):
|
|
16001
|
+
self._RecordType = RecordType
|
|
16002
|
+
|
|
16003
|
+
@property
|
|
16004
|
+
def RecordLine(self):
|
|
16005
|
+
r"""记录线路
|
|
16006
|
+
:rtype: str
|
|
16007
|
+
"""
|
|
16008
|
+
return self._RecordLine
|
|
16009
|
+
|
|
16010
|
+
@RecordLine.setter
|
|
16011
|
+
def RecordLine(self, RecordLine):
|
|
16012
|
+
self._RecordLine = RecordLine
|
|
16013
|
+
|
|
16014
|
+
@property
|
|
16015
|
+
def Value(self):
|
|
16016
|
+
r"""记录值
|
|
16017
|
+
:rtype: str
|
|
16018
|
+
"""
|
|
16019
|
+
return self._Value
|
|
16020
|
+
|
|
16021
|
+
@Value.setter
|
|
16022
|
+
def Value(self, Value):
|
|
16023
|
+
self._Value = Value
|
|
16024
|
+
|
|
16025
|
+
@property
|
|
16026
|
+
def Enabled(self):
|
|
16027
|
+
r"""解析记录状态 1:开启 0:暂停
|
|
16028
|
+
:rtype: str
|
|
16029
|
+
"""
|
|
16030
|
+
return self._Enabled
|
|
16031
|
+
|
|
16032
|
+
@Enabled.setter
|
|
16033
|
+
def Enabled(self, Enabled):
|
|
16034
|
+
self._Enabled = Enabled
|
|
16035
|
+
|
|
16036
|
+
@property
|
|
16037
|
+
def Remark(self):
|
|
16038
|
+
r"""备注信息
|
|
16039
|
+
:rtype: str
|
|
16040
|
+
"""
|
|
16041
|
+
return self._Remark
|
|
16042
|
+
|
|
16043
|
+
@Remark.setter
|
|
16044
|
+
def Remark(self, Remark):
|
|
16045
|
+
self._Remark = Remark
|
|
16046
|
+
|
|
16047
|
+
@property
|
|
16048
|
+
def Weight(self):
|
|
16049
|
+
r"""权重
|
|
16050
|
+
:rtype: int
|
|
16051
|
+
"""
|
|
16052
|
+
return self._Weight
|
|
16053
|
+
|
|
16054
|
+
@Weight.setter
|
|
16055
|
+
def Weight(self, Weight):
|
|
16056
|
+
self._Weight = Weight
|
|
16057
|
+
|
|
16058
|
+
@property
|
|
16059
|
+
def MX(self):
|
|
16060
|
+
r"""MX优先级
|
|
16061
|
+
:rtype: int
|
|
16062
|
+
"""
|
|
16063
|
+
return self._MX
|
|
16064
|
+
|
|
16065
|
+
@MX.setter
|
|
16066
|
+
def MX(self, MX):
|
|
16067
|
+
self._MX = MX
|
|
16068
|
+
|
|
16069
|
+
@property
|
|
16070
|
+
def TTL(self):
|
|
16071
|
+
r"""TTL缓存时间
|
|
16072
|
+
:rtype: int
|
|
16073
|
+
"""
|
|
16074
|
+
return self._TTL
|
|
16075
|
+
|
|
16076
|
+
@TTL.setter
|
|
16077
|
+
def TTL(self, TTL):
|
|
16078
|
+
self._TTL = TTL
|
|
16079
|
+
|
|
16080
|
+
|
|
16081
|
+
def _deserialize(self, params):
|
|
16082
|
+
self._RecordId = params.get("RecordId")
|
|
16083
|
+
self._SubDomain = params.get("SubDomain")
|
|
16084
|
+
self._RecordType = params.get("RecordType")
|
|
16085
|
+
self._RecordLine = params.get("RecordLine")
|
|
16086
|
+
self._Value = params.get("Value")
|
|
16087
|
+
self._Enabled = params.get("Enabled")
|
|
16088
|
+
self._Remark = params.get("Remark")
|
|
16089
|
+
self._Weight = params.get("Weight")
|
|
16090
|
+
self._MX = params.get("MX")
|
|
16091
|
+
self._TTL = params.get("TTL")
|
|
16092
|
+
memeber_set = set(params.keys())
|
|
16093
|
+
for name, value in vars(self).items():
|
|
16094
|
+
property_name = name[1:]
|
|
16095
|
+
if property_name in memeber_set:
|
|
16096
|
+
memeber_set.remove(property_name)
|
|
16097
|
+
if len(memeber_set) > 0:
|
|
16098
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16099
|
+
|
|
16100
|
+
|
|
16101
|
+
|
|
15628
16102
|
class ModifyRecordRemarkRequest(AbstractModel):
|
|
15629
16103
|
r"""ModifyRecordRemark请求参数结构体
|
|
15630
16104
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-dnspod
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.73
|
|
4
4
|
Summary: Tencent Cloud Dnspod SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.73
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.58
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|