Skip to content

Commit

Permalink
JARVIS-PUBLIC SDK Auto Released By mainri.mxy,Version:1.0.0
Browse files Browse the repository at this point in the history
发布日志:
1, This is the first version of jarvis-public.
  • Loading branch information
Qingtang-SDK committed Jun 20, 2018
1 parent f4b9453 commit 3004d6d
Show file tree
Hide file tree
Showing 8 changed files with 148 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-jarvis-public/ChangeLog.txt
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.
11 changes: 11 additions & 0 deletions aliyun-python-sdk-jarvis-public/README.rst
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "1.0.0"
Empty file.
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.
85 changes: 85 additions & 0 deletions aliyun-python-sdk-jarvis-public/setup.py
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",
)

)

0 comments on commit 3004d6d

Please sign in to comment.