Skip to content

Commit 6e548b8

Browse files
committed
Add QueryPhoneNoAByTrackNo and AddAxnTrackNo.
1 parent 0fe425f commit 6e548b8

File tree

5 files changed

+145
-2
lines changed

5 files changed

+145
-2
lines changed

aliyun-python-sdk-dyplsapi/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-02-28 Version: 1.2.2
2+
- Add QueryPhoneNoAByTrackNo and AddAxnTrackNo.
3+
14
2019-11-05 Version: 1.2.1
25
- Add OperateBlackNo.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.1'
1+
__version__ = '1.2.2'
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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+
from aliyunsdkdyplsapi.endpoint import endpoint_data
22+
23+
class AddAxnTrackNoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dyplsapi', '2017-05-25', 'AddAxnTrackNo','dypls')
27+
if hasattr(self, "endpoint_map"):
28+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
29+
if hasattr(self, "endpoint_regional"):
30+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
31+
32+
33+
def get_ResourceOwnerId(self):
34+
return self.get_query_params().get('ResourceOwnerId')
35+
36+
def set_ResourceOwnerId(self,ResourceOwnerId):
37+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
38+
39+
def get_SubsId(self):
40+
return self.get_query_params().get('SubsId')
41+
42+
def set_SubsId(self,SubsId):
43+
self.add_query_param('SubsId',SubsId)
44+
45+
def get_PhoneNoX(self):
46+
return self.get_query_params().get('PhoneNoX')
47+
48+
def set_PhoneNoX(self,PhoneNoX):
49+
self.add_query_param('PhoneNoX',PhoneNoX)
50+
51+
def get_ResourceOwnerAccount(self):
52+
return self.get_query_params().get('ResourceOwnerAccount')
53+
54+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
55+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
56+
57+
def get_OwnerId(self):
58+
return self.get_query_params().get('OwnerId')
59+
60+
def set_OwnerId(self,OwnerId):
61+
self.add_query_param('OwnerId',OwnerId)
62+
63+
def get_trackNo(self):
64+
return self.get_query_params().get('trackNo')
65+
66+
def set_trackNo(self,trackNo):
67+
self.add_query_param('trackNo',trackNo)
68+
69+
def get_PoolKey(self):
70+
return self.get_query_params().get('PoolKey')
71+
72+
def set_PoolKey(self,PoolKey):
73+
self.add_query_param('PoolKey',PoolKey)

aliyun-python-sdk-dyplsapi/aliyunsdkdyplsapi/request/v20170525/BindAxbRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,10 @@ def get_OutId(self):
112112
return self.get_query_params().get('OutId')
113113

114114
def set_OutId(self,OutId):
115-
self.add_query_param('OutId',OutId)
115+
self.add_query_param('OutId',OutId)
116+
117+
def get_CallRestrict(self):
118+
return self.get_query_params().get('CallRestrict')
119+
120+
def set_CallRestrict(self,CallRestrict):
121+
self.add_query_param('CallRestrict',CallRestrict)
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
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+
from aliyunsdkdyplsapi.endpoint import endpoint_data
22+
23+
class QueryPhoneNoAByTrackNoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dyplsapi', '2017-05-25', 'QueryPhoneNoAByTrackNo','dypls')
27+
if hasattr(self, "endpoint_map"):
28+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
29+
if hasattr(self, "endpoint_regional"):
30+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
31+
32+
33+
def get_ResourceOwnerId(self):
34+
return self.get_query_params().get('ResourceOwnerId')
35+
36+
def set_ResourceOwnerId(self,ResourceOwnerId):
37+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
38+
39+
def get_ResourceOwnerAccount(self):
40+
return self.get_query_params().get('ResourceOwnerAccount')
41+
42+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
43+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
44+
45+
def get_OwnerId(self):
46+
return self.get_query_params().get('OwnerId')
47+
48+
def set_OwnerId(self,OwnerId):
49+
self.add_query_param('OwnerId',OwnerId)
50+
51+
def get_trackNo(self):
52+
return self.get_query_params().get('trackNo')
53+
54+
def set_trackNo(self,trackNo):
55+
self.add_query_param('trackNo',trackNo)
56+
57+
def get_PhoneNoX(self):
58+
return self.get_query_params().get('PhoneNoX')
59+
60+
def set_PhoneNoX(self,PhoneNoX):
61+
self.add_query_param('PhoneNoX',PhoneNoX)

0 commit comments

Comments
 (0)