Skip to content

Commit 57c23fd

Browse files
committed
UBSMS SDK Auto Released By shenshi,Version:2.0.5
发布日志: 1, Update Dependency
1 parent b987a5b commit 57c23fd

File tree

6 files changed

+134
-36
lines changed

6 files changed

+134
-36
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2019-03-15 Version: 2.0.5
2+
1, Update Dependency
3+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.0.2'
1+
__version__ = "2.0.5"
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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 DescribeBusinessStatusRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Ubsms', '2015-06-23', 'DescribeBusinessStatus','ubsms')
25+
26+
def get_Password(self):
27+
return self.get_query_params().get('Password')
28+
29+
def set_Password(self,Password):
30+
self.add_query_param('Password',Password)
31+
32+
def get_callerBid(self):
33+
return self.get_query_params().get('callerBid')
34+
35+
def set_callerBid(self,callerBid):
36+
self.add_query_param('callerBid',callerBid)
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 NotifyUserBusinessCommandRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Ubsms', '2015-06-23', 'NotifyUserBusinessCommand','ubsms')
25+
26+
def get_Uid(self):
27+
return self.get_query_params().get('Uid')
28+
29+
def set_Uid(self,Uid):
30+
self.add_query_param('Uid',Uid)
31+
32+
def get_Password(self):
33+
return self.get_query_params().get('Password')
34+
35+
def set_Password(self,Password):
36+
self.add_query_param('Password',Password)
37+
38+
def get_InstanceId(self):
39+
return self.get_query_params().get('InstanceId')
40+
41+
def set_InstanceId(self,InstanceId):
42+
self.add_query_param('InstanceId',InstanceId)
43+
44+
def get_ServiceCode(self):
45+
return self.get_query_params().get('ServiceCode')
46+
47+
def set_ServiceCode(self,ServiceCode):
48+
self.add_query_param('ServiceCode',ServiceCode)
49+
50+
def get_ClientToken(self):
51+
return self.get_query_params().get('ClientToken')
52+
53+
def set_ClientToken(self,ClientToken):
54+
self.add_query_param('ClientToken',ClientToken)
55+
56+
def get_Cmd(self):
57+
return self.get_query_params().get('Cmd')
58+
59+
def set_Cmd(self,Cmd):
60+
self.add_query_param('Cmd',Cmd)
61+
62+
def get_Region(self):
63+
return self.get_query_params().get('Region')
64+
65+
def set_Region(self,Region):
66+
self.add_query_param('Region',Region)

aliyun-python-sdk-ubsms/aliyunsdkubsms/request/v20150623/SetUserBusinessStatusRequest.py

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,28 @@
2121
class SetUserBusinessStatusRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Ubsms', '2015-06-23', 'SetUserBusinessStatus')
25-
26-
def get_Uid(self):
27-
return self.get_query_params().get('Uid')
28-
29-
def set_Uid(self,Uid):
30-
self.add_query_param('Uid',Uid)
31-
32-
def get_Service(self):
33-
return self.get_query_params().get('Service')
34-
35-
def set_Service(self,Service):
36-
self.add_query_param('Service',Service)
37-
38-
def get_StatusKey(self):
39-
return self.get_query_params().get('StatusKey')
40-
41-
def set_StatusKey(self,StatusKey):
42-
self.add_query_param('StatusKey',StatusKey)
43-
44-
def get_StatusValue(self):
45-
return self.get_query_params().get('StatusValue')
46-
47-
def set_StatusValue(self,StatusValue):
48-
self.add_query_param('StatusValue',StatusValue)
24+
RpcRequest.__init__(self, 'Ubsms', '2015-06-23', 'SetUserBusinessStatus','ubsms')
25+
26+
def get_Uid(self):
27+
return self.get_query_params().get('Uid')
28+
29+
def set_Uid(self,Uid):
30+
self.add_query_param('Uid',Uid)
31+
32+
def get_StatusValue(self):
33+
return self.get_query_params().get('StatusValue')
34+
35+
def set_StatusValue(self,StatusValue):
36+
self.add_query_param('StatusValue',StatusValue)
37+
38+
def get_Service(self):
39+
return self.get_query_params().get('Service')
40+
41+
def set_Service(self,Service):
42+
self.add_query_param('Service',Service)
43+
44+
def get_StatusKey(self):
45+
return self.get_query_params().get('StatusKey')
46+
47+
def set_StatusKey(self,StatusKey):
48+
self.add_query_param('StatusKey',StatusKey)

aliyun-python-sdk-ubsms/setup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"""
2626
setup module for ubsms.
2727
28-
Created on 27/9/2017
28+
Created on 7/3/2015
2929
30-
@author: wenyang
30+
@author: alex
3131
"""
3232

3333
PACKAGE = "aliyunsdkubsms"
@@ -46,13 +46,6 @@
4646
finally:
4747
desc_file.close()
4848

49-
requires = []
50-
51-
if sys.version_info < (3, 3):
52-
requires.append("aliyun-python-sdk-core>=2.0.2")
53-
else:
54-
requires.append("aliyun-python-sdk-core-v3>=2.3.5")
55-
5649
setup(
5750
name=NAME,
5851
version=VERSION,
@@ -66,7 +59,7 @@
6659
packages=find_packages(exclude=["tests*"]),
6760
include_package_data=True,
6861
platforms="any",
69-
install_requires=requires,
62+
install_requires=["aliyun-python-sdk-core>=2.11.5",],
7063
classifiers=(
7164
"Development Status :: 4 - Beta",
7265
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)