-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JARVIS-PUBLIC SDK Auto Released By mainri.mxy,Version:1.0.0
发布日志: 1, This is the first version of jarvis-public.
- Loading branch information
1 parent
f4b9453
commit 3004d6d
Showing
8 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2018-06-20 Version: 1.0.0 | ||
1, This is the first version of jarvis-public. | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
aliyun-python-sdk-jarvis-public | ||
This is the jarvis-public module of Aliyun Python SDK. | ||
|
||
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services. | ||
|
||
This module works on Python versions: | ||
|
||
2.6.5 and greater | ||
Documentation: | ||
|
||
Please visit http://develop.aliyun.com/sdk/python |
1 change: 1 addition & 0 deletions
1
aliyun-python-sdk-jarvis-public/aliyunsdkjarvis_public/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "1.0.0" |
Empty file.
48 changes: 48 additions & 0 deletions
48
...on-sdk-jarvis-public/aliyunsdkjarvis_public/request/v20180621/DescribePhoneInfoRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
class DescribePhoneInfoRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'jarvis-public', '2018-06-21', 'DescribePhoneInfo') | ||
|
||
def get_SourceIp(self): | ||
return self.get_query_params().get('SourceIp') | ||
|
||
def set_SourceIp(self,SourceIp): | ||
self.add_query_param('SourceIp',SourceIp) | ||
|
||
def get_phoneNum(self): | ||
return self.get_query_params().get('phoneNum') | ||
|
||
def set_phoneNum(self,phoneNum): | ||
self.add_query_param('phoneNum',phoneNum) | ||
|
||
def get_Lang(self): | ||
return self.get_query_params().get('Lang') | ||
|
||
def set_Lang(self,Lang): | ||
self.add_query_param('Lang',Lang) | ||
|
||
def get_sourceCode(self): | ||
return self.get_query_params().get('sourceCode') | ||
|
||
def set_sourceCode(self,sourceCode): | ||
self.add_query_param('sourceCode',sourceCode) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
#!/usr/bin/python | ||
''' | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
''' | ||
|
||
from setuptools import setup, find_packages | ||
import os | ||
import sys | ||
|
||
""" | ||
setup module for jarvis-public. | ||
Created on 7/3/2015 | ||
@author: alex | ||
""" | ||
|
||
PACKAGE = "aliyunsdkjarvis_public" | ||
NAME = "aliyun-python-sdk-jarvis-public" | ||
DESCRIPTION = "The jarvis-public module of Aliyun Python sdk." | ||
AUTHOR = "Aliyun" | ||
AUTHOR_EMAIL = "aliyun-developers-efficiency@list.alibaba-inc.com" | ||
URL = "http://develop.aliyun.com/sdk/python" | ||
|
||
TOPDIR = os.path.dirname(__file__) or "." | ||
VERSION = __import__(PACKAGE).__version__ | ||
|
||
desc_file = open("README.rst") | ||
try: | ||
LONG_DESCRIPTION = desc_file.read() | ||
finally: | ||
desc_file.close() | ||
|
||
requires = [] | ||
|
||
if sys.version_info < (3, 3): | ||
requires.append("aliyun-python-sdk-core>=2.0.2") | ||
else: | ||
requires.append("aliyun-python-sdk-core-v3>=2.3.5") | ||
|
||
setup( | ||
name=NAME, | ||
version=VERSION, | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
author=AUTHOR, | ||
author_email=AUTHOR_EMAIL, | ||
license="Apache", | ||
url=URL, | ||
keywords=["aliyun","sdk","jarvis-public"], | ||
packages=find_packages(exclude=["tests*"]), | ||
include_package_data=True, | ||
platforms="any", | ||
install_requires=requires, | ||
classifiers=( | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Topic :: Software Development", | ||
) | ||
|
||
) |