Skip to content

Commit 65990ab

Browse files
committed
ALIDNS SDK Auto Released By shenshi,Version:2.0.7
发布日志: 1, Update Dependency
1 parent cc0bb23 commit 65990ab

File tree

62 files changed

+1806
-477
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+1806
-477
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-03-20 Version: 2.0.7
2+
1, Update Dependency
3+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.7'
1+
__version__ = "2.0.7"

aliyun-python-sdk-alidns/aliyunsdkalidns/request/v20150109/AddDomainGroupRequest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121
class AddDomainGroupRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddDomainGroup')
25-
26-
def get_Lang(self):
27-
return self.get_query_params().get('Lang')
28-
29-
def set_Lang(self,Lang):
30-
self.add_query_param('Lang',Lang)
24+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddDomainGroup','alidns')
3125

3226
def get_UserClientIp(self):
3327
return self.get_query_params().get('UserClientIp')
3428

3529
def set_UserClientIp(self,UserClientIp):
3630
self.add_query_param('UserClientIp',UserClientIp)
3731

32+
def get_Lang(self):
33+
return self.get_query_params().get('Lang')
34+
35+
def set_Lang(self,Lang):
36+
self.add_query_param('Lang',Lang)
37+
3838
def get_GroupName(self):
3939
return self.get_query_params().get('GroupName')
4040

aliyun-python-sdk-alidns/aliyunsdkalidns/request/v20150109/AddDomainRecordRequest.py

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,19 @@
2121
class AddDomainRecordRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddDomainRecord')
24+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddDomainRecord','alidns')
2525

26-
def get_Lang(self):
27-
return self.get_query_params().get('Lang')
26+
def get_RR(self):
27+
return self.get_query_params().get('RR')
2828

29-
def set_Lang(self,Lang):
30-
self.add_query_param('Lang',Lang)
29+
def set_RR(self,RR):
30+
self.add_query_param('RR',RR)
31+
32+
def get_Line(self):
33+
return self.get_query_params().get('Line')
34+
35+
def set_Line(self,Line):
36+
self.add_query_param('Line',Line)
3137

3238
def get_UserClientIp(self):
3339
return self.get_query_params().get('UserClientIp')
@@ -41,18 +47,24 @@ def get_DomainName(self):
4147
def set_DomainName(self,DomainName):
4248
self.add_query_param('DomainName',DomainName)
4349

44-
def get_RR(self):
45-
return self.get_query_params().get('RR')
50+
def get_Lang(self):
51+
return self.get_query_params().get('Lang')
4652

47-
def set_RR(self,RR):
48-
self.add_query_param('RR',RR)
53+
def set_Lang(self,Lang):
54+
self.add_query_param('Lang',Lang)
4955

5056
def get_Type(self):
5157
return self.get_query_params().get('Type')
5258

5359
def set_Type(self,Type):
5460
self.add_query_param('Type',Type)
5561

62+
def get_Priority(self):
63+
return self.get_query_params().get('Priority')
64+
65+
def set_Priority(self,Priority):
66+
self.add_query_param('Priority',Priority)
67+
5668
def get_Value(self):
5769
return self.get_query_params().get('Value')
5870

@@ -63,16 +75,4 @@ def get_TTL(self):
6375
return self.get_query_params().get('TTL')
6476

6577
def set_TTL(self,TTL):
66-
self.add_query_param('TTL',TTL)
67-
68-
def get_Priority(self):
69-
return self.get_query_params().get('Priority')
70-
71-
def set_Priority(self,Priority):
72-
self.add_query_param('Priority',Priority)
73-
74-
def get_Line(self):
75-
return self.get_query_params().get('Line')
76-
77-
def set_Line(self,Line):
78-
self.add_query_param('Line',Line)
78+
self.add_query_param('TTL',TTL)

aliyun-python-sdk-alidns/aliyunsdkalidns/request/v20150109/AddDomainRequest.py

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,22 @@
2121
class AddDomainRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddDomain')
24+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddDomain','alidns')
2525

26-
def get_Lang(self):
27-
return self.get_query_params().get('Lang')
28-
29-
def set_Lang(self,Lang):
30-
self.add_query_param('Lang',Lang)
31-
32-
def get_UserClientIp(self):
33-
return self.get_query_params().get('UserClientIp')
26+
def get_GroupId(self):
27+
return self.get_query_params().get('GroupId')
3428

35-
def set_UserClientIp(self,UserClientIp):
36-
self.add_query_param('UserClientIp',UserClientIp)
29+
def set_GroupId(self,GroupId):
30+
self.add_query_param('GroupId',GroupId)
3731

3832
def get_DomainName(self):
3933
return self.get_query_params().get('DomainName')
4034

4135
def set_DomainName(self,DomainName):
4236
self.add_query_param('DomainName',DomainName)
4337

44-
def get_GroupId(self):
45-
return self.get_query_params().get('GroupId')
38+
def get_Lang(self):
39+
return self.get_query_params().get('Lang')
4640

47-
def set_GroupId(self,GroupId):
48-
self.add_query_param('GroupId',GroupId)
41+
def set_Lang(self,Lang):
42+
self.add_query_param('Lang',Lang)
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 AddGtmAccessStrategyRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddGtmAccessStrategy','alidns')
25+
26+
def get_StrategyName(self):
27+
return self.get_query_params().get('StrategyName')
28+
29+
def set_StrategyName(self,StrategyName):
30+
self.add_query_param('StrategyName',StrategyName)
31+
32+
def get_DefaultAddrPoolId(self):
33+
return self.get_query_params().get('DefaultAddrPoolId')
34+
35+
def set_DefaultAddrPoolId(self,DefaultAddrPoolId):
36+
self.add_query_param('DefaultAddrPoolId',DefaultAddrPoolId)
37+
38+
def get_AccessLines(self):
39+
return self.get_query_params().get('AccessLines')
40+
41+
def set_AccessLines(self,AccessLines):
42+
self.add_query_param('AccessLines',AccessLines)
43+
44+
def get_InstanceId(self):
45+
return self.get_query_params().get('InstanceId')
46+
47+
def set_InstanceId(self,InstanceId):
48+
self.add_query_param('InstanceId',InstanceId)
49+
50+
def get_FailoverAddrPoolId(self):
51+
return self.get_query_params().get('FailoverAddrPoolId')
52+
53+
def set_FailoverAddrPoolId(self,FailoverAddrPoolId):
54+
self.add_query_param('FailoverAddrPoolId',FailoverAddrPoolId)
55+
56+
def get_UserClientIp(self):
57+
return self.get_query_params().get('UserClientIp')
58+
59+
def set_UserClientIp(self,UserClientIp):
60+
self.add_query_param('UserClientIp',UserClientIp)
61+
62+
def get_Lang(self):
63+
return self.get_query_params().get('Lang')
64+
65+
def set_Lang(self,Lang):
66+
self.add_query_param('Lang',Lang)
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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 AddGtmAddressPoolRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddGtmAddressPool','alidns')
25+
26+
def get_InstanceId(self):
27+
return self.get_query_params().get('InstanceId')
28+
29+
def set_InstanceId(self,InstanceId):
30+
self.add_query_param('InstanceId',InstanceId)
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_Name(self):
39+
return self.get_query_params().get('Name')
40+
41+
def set_Name(self,Name):
42+
self.add_query_param('Name',Name)
43+
44+
def get_Lang(self):
45+
return self.get_query_params().get('Lang')
46+
47+
def set_Lang(self,Lang):
48+
self.add_query_param('Lang',Lang)
49+
50+
def get_Type(self):
51+
return self.get_query_params().get('Type')
52+
53+
def set_Type(self,Type):
54+
self.add_query_param('Type',Type)
55+
56+
def get_Addrs(self):
57+
return self.get_query_params().get('Addrs')
58+
59+
def set_Addrs(self,Addrs):
60+
for i in range(len(Addrs)):
61+
if Addrs[i].get('Mode') is not None:
62+
self.add_query_param('Addr.' + str(i + 1) + '.Mode' , Addrs[i].get('Mode'))
63+
if Addrs[i].get('LbaWeight') is not None:
64+
self.add_query_param('Addr.' + str(i + 1) + '.LbaWeight' , Addrs[i].get('LbaWeight'))
65+
if Addrs[i].get('Value') is not None:
66+
self.add_query_param('Addr.' + str(i + 1) + '.Value' , Addrs[i].get('Value'))
67+
68+
69+
def get_MinAvailableAddrNum(self):
70+
return self.get_query_params().get('MinAvailableAddrNum')
71+
72+
def set_MinAvailableAddrNum(self,MinAvailableAddrNum):
73+
self.add_query_param('MinAvailableAddrNum',MinAvailableAddrNum)
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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 AddGtmMonitorRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Alidns', '2015-01-09', 'AddGtmMonitor','alidns')
25+
26+
def get_MonitorExtendInfo(self):
27+
return self.get_query_params().get('MonitorExtendInfo')
28+
29+
def set_MonitorExtendInfo(self,MonitorExtendInfo):
30+
self.add_query_param('MonitorExtendInfo',MonitorExtendInfo)
31+
32+
def get_AddrPoolId(self):
33+
return self.get_query_params().get('AddrPoolId')
34+
35+
def set_AddrPoolId(self,AddrPoolId):
36+
self.add_query_param('AddrPoolId',AddrPoolId)
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_Name(self):
45+
return self.get_query_params().get('Name')
46+
47+
def set_Name(self,Name):
48+
self.add_query_param('Name',Name)
49+
50+
def get_EvaluationCount(self):
51+
return self.get_query_params().get('EvaluationCount')
52+
53+
def set_EvaluationCount(self,EvaluationCount):
54+
self.add_query_param('EvaluationCount',EvaluationCount)
55+
56+
def get_ProtocolType(self):
57+
return self.get_query_params().get('ProtocolType')
58+
59+
def set_ProtocolType(self,ProtocolType):
60+
self.add_query_param('ProtocolType',ProtocolType)
61+
62+
def get_Interval(self):
63+
return self.get_query_params().get('Interval')
64+
65+
def set_Interval(self,Interval):
66+
self.add_query_param('Interval',Interval)
67+
68+
def get_Lang(self):
69+
return self.get_query_params().get('Lang')
70+
71+
def set_Lang(self,Lang):
72+
self.add_query_param('Lang',Lang)
73+
74+
def get_Timeout(self):
75+
return self.get_query_params().get('Timeout')
76+
77+
def set_Timeout(self,Timeout):
78+
self.add_query_param('Timeout',Timeout)
79+
80+
def get_IspCityNodes(self):
81+
return self.get_query_params().get('IspCityNodes')
82+
83+
def set_IspCityNodes(self,IspCityNodes):
84+
for i in range(len(IspCityNodes)):
85+
if IspCityNodes[i].get('CityCode') is not None:
86+
self.add_query_param('IspCityNode.' + str(i + 1) + '.CityCode' , IspCityNodes[i].get('CityCode'))
87+
if IspCityNodes[i].get('IspCode') is not None:
88+
self.add_query_param('IspCityNode.' + str(i + 1) + '.IspCode' , IspCityNodes[i].get('IspCode'))

0 commit comments

Comments
 (0)