Skip to content

Commit f2a3798

Browse files
committed
DOMAIN-INTL SDK Auto Released By huizeng.zh,Version:1.4.0
发布日志: 1, Add Dns Sec apis. 2, Add coupon and promotion fields for order apis.
1 parent 7571770 commit f2a3798

16 files changed

+522
-56
lines changed

aliyun-python-sdk-domain-intl/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2018-12-20 Version: 1.4.0
2+
1, Add Dns Sec apis.
3+
2, Add coupon and promotion fields for order apis.
4+
15
2018-11-13 Version: 1.3.0
26
1, Add FuzzyMatchDomainSensitiveWord interface,Support fuzzy matching sensitive words.
37
2, Add BatchFuzzyMatchDomainSensitiveWord interface,Support batch fuzzy matching sensitive words.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.3.0"
1+
__version__ = "1.4.0"
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class QueryDSRecordRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Domain-intl', '2017-12-18', 'QueryDSRecord','domain')
25+
26+
def get_DomainName(self):
27+
return self.get_query_params().get('DomainName')
28+
29+
def set_DomainName(self,DomainName):
30+
self.add_query_param('DomainName',DomainName)
31+
32+
def get_UserClientIp(self):
33+
return self.get_query_params().get('UserClientIp')
34+
35+
def set_UserClientIp(self,UserClientIp):
36+
self.add_query_param('UserClientIp',UserClientIp)
37+
38+
def get_Lang(self):
39+
return self.get_query_params().get('Lang')
40+
41+
def set_Lang(self,Lang):
42+
self.add_query_param('Lang',Lang)

aliyun-python-sdk-domain-intl/aliyunsdkdomain_intl/request/v20171218/QueryRegistrantProfilesRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,10 @@ def get_DefaultRegistrantProfile(self):
6363
return self.get_query_params().get('DefaultRegistrantProfile')
6464

6565
def set_DefaultRegistrantProfile(self,DefaultRegistrantProfile):
66-
self.add_query_param('DefaultRegistrantProfile',DefaultRegistrantProfile)
66+
self.add_query_param('DefaultRegistrantProfile',DefaultRegistrantProfile)
67+
68+
def get_Email(self):
69+
return self.get_query_params().get('Email')
70+
71+
def set_Email(self,Email):
72+
self.add_query_param('Email',Email)

aliyun-python-sdk-domain-intl/aliyunsdkdomain_intl/request/v20171218/SaveBatchTaskForCreatingOrderActivateRequest.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,38 @@ def set_OrderActivateParams(self,OrderActivateParams):
7070
self.add_query_param('OrderActivateParam.' + str(i + 1) + '.RegistrantName' , OrderActivateParams[i].get('RegistrantName'))
7171

7272

73+
def get_PromotionNo(self):
74+
return self.get_query_params().get('PromotionNo')
75+
76+
def set_PromotionNo(self,PromotionNo):
77+
self.add_query_param('PromotionNo',PromotionNo)
78+
7379
def get_UserClientIp(self):
7480
return self.get_query_params().get('UserClientIp')
7581

7682
def set_UserClientIp(self,UserClientIp):
7783
self.add_query_param('UserClientIp',UserClientIp)
7884

85+
def get_CouponNo(self):
86+
return self.get_query_params().get('CouponNo')
87+
88+
def set_CouponNo(self,CouponNo):
89+
self.add_query_param('CouponNo',CouponNo)
90+
91+
def get_UseCoupon(self):
92+
return self.get_query_params().get('UseCoupon')
93+
94+
def set_UseCoupon(self,UseCoupon):
95+
self.add_query_param('UseCoupon',UseCoupon)
96+
7997
def get_Lang(self):
8098
return self.get_query_params().get('Lang')
8199

82100
def set_Lang(self,Lang):
83-
self.add_query_param('Lang',Lang)
101+
self.add_query_param('Lang',Lang)
102+
103+
def get_UsePromotion(self):
104+
return self.get_query_params().get('UsePromotion')
105+
106+
def set_UsePromotion(self,UsePromotion):
107+
self.add_query_param('UsePromotion',UsePromotion)

aliyun-python-sdk-domain-intl/aliyunsdkdomain_intl/request/v20171218/SaveBatchTaskForCreatingOrderRedeemRequest.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ class SaveBatchTaskForCreatingOrderRedeemRequest(RpcRequest):
2323
def __init__(self):
2424
RpcRequest.__init__(self, 'Domain-intl', '2017-12-18', 'SaveBatchTaskForCreatingOrderRedeem','domain')
2525

26+
def get_PromotionNo(self):
27+
return self.get_query_params().get('PromotionNo')
28+
29+
def set_PromotionNo(self,PromotionNo):
30+
self.add_query_param('PromotionNo',PromotionNo)
31+
2632
def get_OrderRedeemParams(self):
2733
return self.get_query_params().get('OrderRedeemParams')
2834

@@ -40,8 +46,26 @@ def get_UserClientIp(self):
4046
def set_UserClientIp(self,UserClientIp):
4147
self.add_query_param('UserClientIp',UserClientIp)
4248

49+
def get_CouponNo(self):
50+
return self.get_query_params().get('CouponNo')
51+
52+
def set_CouponNo(self,CouponNo):
53+
self.add_query_param('CouponNo',CouponNo)
54+
55+
def get_UseCoupon(self):
56+
return self.get_query_params().get('UseCoupon')
57+
58+
def set_UseCoupon(self,UseCoupon):
59+
self.add_query_param('UseCoupon',UseCoupon)
60+
4361
def get_Lang(self):
4462
return self.get_query_params().get('Lang')
4563

4664
def set_Lang(self,Lang):
47-
self.add_query_param('Lang',Lang)
65+
self.add_query_param('Lang',Lang)
66+
67+
def get_UsePromotion(self):
68+
return self.get_query_params().get('UsePromotion')
69+
70+
def set_UsePromotion(self,UsePromotion):
71+
self.add_query_param('UsePromotion',UsePromotion)

aliyun-python-sdk-domain-intl/aliyunsdkdomain_intl/request/v20171218/SaveBatchTaskForCreatingOrderRenewRequest.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ class SaveBatchTaskForCreatingOrderRenewRequest(RpcRequest):
2323
def __init__(self):
2424
RpcRequest.__init__(self, 'Domain-intl', '2017-12-18', 'SaveBatchTaskForCreatingOrderRenew','domain')
2525

26+
def get_PromotionNo(self):
27+
return self.get_query_params().get('PromotionNo')
28+
29+
def set_PromotionNo(self,PromotionNo):
30+
self.add_query_param('PromotionNo',PromotionNo)
31+
2632
def get_UserClientIp(self):
2733
return self.get_query_params().get('UserClientIp')
2834

@@ -42,8 +48,26 @@ def set_OrderRenewParams(self,OrderRenewParams):
4248
self.add_query_param('OrderRenewParam.' + str(i + 1) + '.DomainName' , OrderRenewParams[i].get('DomainName'))
4349

4450

51+
def get_CouponNo(self):
52+
return self.get_query_params().get('CouponNo')
53+
54+
def set_CouponNo(self,CouponNo):
55+
self.add_query_param('CouponNo',CouponNo)
56+
57+
def get_UseCoupon(self):
58+
return self.get_query_params().get('UseCoupon')
59+
60+
def set_UseCoupon(self,UseCoupon):
61+
self.add_query_param('UseCoupon',UseCoupon)
62+
4563
def get_Lang(self):
4664
return self.get_query_params().get('Lang')
4765

4866
def set_Lang(self,Lang):
49-
self.add_query_param('Lang',Lang)
67+
self.add_query_param('Lang',Lang)
68+
69+
def get_UsePromotion(self):
70+
return self.get_query_params().get('UsePromotion')
71+
72+
def set_UsePromotion(self,UsePromotion):
73+
self.add_query_param('UsePromotion',UsePromotion)

aliyun-python-sdk-domain-intl/aliyunsdkdomain_intl/request/v20171218/SaveBatchTaskForCreatingOrderTransferRequest.py

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ class SaveBatchTaskForCreatingOrderTransferRequest(RpcRequest):
2323
def __init__(self):
2424
RpcRequest.__init__(self, 'Domain-intl', '2017-12-18', 'SaveBatchTaskForCreatingOrderTransfer','domain')
2525

26+
def get_PromotionNo(self):
27+
return self.get_query_params().get('PromotionNo')
28+
29+
def set_PromotionNo(self,PromotionNo):
30+
self.add_query_param('PromotionNo',PromotionNo)
31+
2632
def get_OrderTransferParams(self):
2733
return self.get_query_params().get('OrderTransferParams')
2834

@@ -44,8 +50,26 @@ def get_UserClientIp(self):
4450
def set_UserClientIp(self,UserClientIp):
4551
self.add_query_param('UserClientIp',UserClientIp)
4652

53+
def get_CouponNo(self):
54+
return self.get_query_params().get('CouponNo')
55+
56+
def set_CouponNo(self,CouponNo):
57+
self.add_query_param('CouponNo',CouponNo)
58+
59+
def get_UseCoupon(self):
60+
return self.get_query_params().get('UseCoupon')
61+
62+
def set_UseCoupon(self,UseCoupon):
63+
self.add_query_param('UseCoupon',UseCoupon)
64+
4765
def get_Lang(self):
4866
return self.get_query_params().get('Lang')
4967

5068
def set_Lang(self,Lang):
51-
self.add_query_param('Lang',Lang)
69+
self.add_query_param('Lang',Lang)
70+
71+
def get_UsePromotion(self):
72+
return self.get_query_params().get('UsePromotion')
73+
74+
def set_UsePromotion(self,UsePromotion):
75+
self.add_query_param('UsePromotion',UsePromotion)
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class SaveSingleTaskForAddingDSRecordRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Domain-intl', '2017-12-18', 'SaveSingleTaskForAddingDSRecord','domain')
25+
26+
def get_KeyTag(self):
27+
return self.get_query_params().get('KeyTag')
28+
29+
def set_KeyTag(self,KeyTag):
30+
self.add_query_param('KeyTag',KeyTag)
31+
32+
def get_DomainName(self):
33+
return self.get_query_params().get('DomainName')
34+
35+
def set_DomainName(self,DomainName):
36+
self.add_query_param('DomainName',DomainName)
37+
38+
def get_UserClientIp(self):
39+
return self.get_query_params().get('UserClientIp')
40+
41+
def set_UserClientIp(self,UserClientIp):
42+
self.add_query_param('UserClientIp',UserClientIp)
43+
44+
def get_DigestType(self):
45+
return self.get_query_params().get('DigestType')
46+
47+
def set_DigestType(self,DigestType):
48+
self.add_query_param('DigestType',DigestType)
49+
50+
def get_Digest(self):
51+
return self.get_query_params().get('Digest')
52+
53+
def set_Digest(self,Digest):
54+
self.add_query_param('Digest',Digest)
55+
56+
def get_Lang(self):
57+
return self.get_query_params().get('Lang')
58+
59+
def set_Lang(self,Lang):
60+
self.add_query_param('Lang',Lang)
61+
62+
def get_Algorithm(self):
63+
return self.get_query_params().get('Algorithm')
64+
65+
def set_Algorithm(self,Algorithm):
66+
self.add_query_param('Algorithm',Algorithm)

0 commit comments

Comments
 (0)